Commit graph

2880 commits

Author SHA1 Message Date
Felix S. Klock II f1993be9ea Fix bugs from f4fb699b52 2014-08-03 18:30:31 +02:00
Tomaka17 d574f6f1bb Fix GL context not being destroyed on win32 2014-08-03 17:33:48 +02:00
Tomaka17 3c9565ad25 Fix closed flag not being immediatly set on win32 2014-08-03 17:27:48 +02:00
Tomaka17 c0912c9ec4 Add example for multiple simultaneous examples 2014-08-03 17:23:08 +02:00
tomaka 3ea19e0fa2 Update README.md 2014-08-03 11:43:57 +02:00
Tomaka17 48632619c9 Add static assert for platform not supported 2014-08-03 10:30:04 +02:00
Tomaka17 f4fb699b52 Add dummy implementation for OS/X 2014-08-03 09:25:30 +02:00
Tomaka17 52cccb8dda Add doc to crate root 2014-08-02 20:49:48 +02:00
tomaka ed3ed47ad8 Update README.md 2014-08-02 13:35:42 +02:00
Pierre Krieger eee9e298ba Implement set_window_position for x11 2014-08-02 12:47:32 +02:00
Tomaka17 d08c94daac Remove Iconified and NeedRefresh events 2014-08-02 12:43:48 +02:00
Tomaka17 2aeec39156 Remove #[exprimental] from make_current 2014-08-02 12:32:08 +02:00
Tomaka17 0152099c91 Correctly handling pixel format and fullscreen resolution on Win32 2014-08-02 12:23:05 +02:00
Tomaka17 b0d9d0b87f Dimensions will now match the monitor's in case of fullscreen 2014-08-02 11:23:32 +02:00
Tomaka17 abceca1121 Add get_dimensions() to MonitorID 2014-08-02 11:17:49 +02:00
Tomaka17 dbaef704ad Fix docs for Window 2014-08-02 11:07:29 +02:00
Tomaka17 bfc5d3e63d with_monitor -> with_fullscreen 2014-08-02 11:04:48 +02:00
Tomaka17 8c074af9fc Add support for specific OpenGL version for Win32 2014-08-02 11:03:09 +02:00
tomaka 13c73cce5e Merge pull request #9 from tomaka/pass-builder-to-impl-new
Now passing WindowBuilder to implwin::Window::new
2014-08-02 10:48:17 +02:00
Tomaka17 49b0a20170 Now passing WindowBuilder to implwin::Window::new 2014-08-02 10:42:17 +02:00
tomaka af756b9add Merge pull request #8 from tomaka/breaking-api-changes
Add WindowBuilder and iterators for events
2014-08-02 09:49:54 +02:00
Tomaka17 5dda167021 Add iterators for events and WindowBuilder 2014-08-02 08:29:37 +02:00
Tomaka17 959613870c Now using wglCreateContextAttribs when available 2014-08-02 00:01:45 +02:00
Tomaka17 21c8ffab80 Mark hints as deprecated 2014-08-01 23:22:29 +02:00
Tomaka17 c1ecc06baf Change the RegisterClass code.
Prevents an issue when creating multiple contexts.
2014-08-01 23:12:46 +02:00
Tomaka17 d93cea808d Add documentation to the Win32 implementation 2014-08-01 23:02:26 +02:00
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