Commit graph

454 commits

Author SHA1 Message Date
Tomaka17 19b8474c4a Window is no longer NoSend 2014-07-31 20:56:56 +02:00
Tomaka17 14c59e8d81 Merge branch 'master' of http://github.com/tomaka/gl-init-rs 2014-07-31 20:55:55 +02:00
Tomaka17 fd20346829 Put GetMessage in the same thread as the window creation.
Fixes #6
2014-07-31 20:55:30 +02:00
Tomaka17 91b0eeae8d Split win32/mod.rs 2014-07-31 20:14:36 +02:00
Pierre Krieger 26fec195d5 Implement ReceivedCharacter for X11 2014-07-31 18:44:44 +02:00
Pierre Krieger 59b4d23d58 Add mouse buttons press/release events for X11 2014-07-31 17:33:46 +02:00
Pierre Krieger 0d45c7fcb4 Fix warning in X11 ffi 2014-07-31 17:25:56 +02:00
Pierre Krieger 0c76ff8771 Add get_position and get_inner_size for X11 2014-07-31 17:01:58 +02:00
Pierre Krieger 37c5b5446b Add some keyboard events for X11 2014-07-31 16:46:29 +02:00
Tomaka17 d9d293667a Add monitor support for win32 2014-07-31 11:13:40 +02:00
Tomaka17 db8955a9d8 Add API for monitors 2014-07-31 10:02:01 +02:00
Tomaka17 8911e162ce MonitorID now defined by the implementations 2014-07-31 09:42:50 +02:00
Tomaka17 270e290af9 make_current() is now unsafe 2014-07-30 18:12:39 +02:00
Tomaka17 ec956688cd Test support for travis Rust 2014-07-30 18:04:48 +02:00
Tomaka17 a9a42bd2ec Add draft for EGL 2014-07-30 17:13:30 +02:00
Tomaka17 ca89748414 Minor fix in docs 2014-07-30 14:18:31 +02:00
Tomaka17 17ad7ef50e Add docs to lib.rs 2014-07-30 14:13:42 +02:00
Tomaka17 6d9c5eb2bd should_close() renamed to is_closed() 2014-07-30 13:29:28 +02:00
Tomaka17 1249ebed80 Remove printing position in example 2014-07-30 13:27:31 +02:00
Tomaka17 aa7d88dbda Fix bad events 2014-07-30 13:11:49 +02:00
Tomaka17 838cc2b325 Window getters now return an Option in case where the Window has been closed 2014-07-30 13:10:17 +02:00
Tomaka17 66f6b003d0 The example now prints OpenGL version 2014-07-30 13:05:58 +02:00
Pierre Krieger 67349d717a Better events handling on X11 2014-07-28 15:06:38 +02:00
Pierre Krieger c1da2b1273 Work on input support for X11 2014-07-28 14:41:12 +02:00
Pierre Krieger 433c5b956e Implement CursorPositionChanged event for X11 2014-07-28 13:25:28 +02:00
Pierre Krieger 5764b9c243 Implement resize events on X11 2014-07-28 13:16:55 +02:00
tomaka 07a53af952 Add "try it!" to README 2014-07-28 11:45:59 +02:00
Tomaka17 1f0999e6a0 Implement get_position for win32 and fix interface 2014-07-27 22:46:30 +02:00
Tomaka17 14a697b272 Implement get_*_size() for win32 2014-07-27 22:36:55 +02:00
Tomaka17 d4e334aecb get/set_size() -> get/set_inner/outer_size() 2014-07-27 22:36:28 +02:00
Tomaka17 0d122cec47 Implement fullscreen for win32 2014-07-27 21:21:50 +02:00
Tomaka17 d824fb94db Draft for monitor API 2014-07-27 20:41:25 +02:00
Tomaka17 6133e17b9a Add moved events for win32 2014-07-27 20:08:31 +02:00
Tomaka17 1e615b59a6 Better events handling for win32 2014-07-27 19:58:27 +02:00
Tomaka17 7a8e7a7922 Implement focus events for win32 2014-07-27 19:45:29 +02:00
Tomaka17 0103fb833e Remove FramebufferSizeChanged event 2014-07-27 19:45:02 +02:00
Tomaka17 f5080a2b29 Implement mouse clicks on win32 2014-07-27 19:41:02 +02:00
Tomaka17 a28282ef5f Implement Pressed and Released 2014-07-27 18:55:14 +02:00
Tomaka17 754a6ef60f Implement ReceivedCharacter on win32 2014-07-27 18:39:22 +02:00
Tomaka17 c67ab381bf Fix events handling on win32 2014-07-27 18:35:42 +02:00
Pierre Krieger 24baf4d104 Add some events 2014-07-27 17:06:03 +02:00
Tomaka17 758fd069c6 Remove some reliquate comment 2014-07-27 16:11:23 +02:00
Tomaka17 2e41d25cb5 Add rust-ci docs 2014-07-27 16:06:17 +02:00
Pierre Krieger 7bb4e4f9ae Add example to README 2014-07-27 15:59:58 +02:00
Pierre Krieger a121fe1e57 Add .travis build 2014-07-27 15:56:44 +02:00
Pierre Krieger f29b2f91e1 Now using dimensions 2014-07-27 15:54:48 +02:00
Pierre Krieger 356394cc75 Better cleanup in X11 destruction 2014-07-27 15:49:43 +02:00
Pierre Krieger bd0ae7476c Work on X11 events 2014-07-27 15:21:42 +02:00
Pierre Krieger 5aa72279aa Window is now NoSend 2014-07-27 15:11:59 +02:00
Pierre Krieger 4028b925d3 X11 implementation 2014-07-27 15:10:58 +02:00