Commit graph

47 commits

Author SHA1 Message Date
Eduard Bopp
b2367fe2e6 Rename enum variants of MouseButton
With enums that are namespaced by default, it seems reasonable to be less
redundant in the variant naming here.
2015-02-05 16:52:53 +01:00
Peter Atashian
33cd252f99 Upgrade to latest winapi
Signed-off-by: Peter Atashian <retep998@gmail.com>
2015-01-25 21:52:17 -05:00
Andrey Lesnikov
5a4fee967a x11, android, win32: [ui]size, [u]int -> [ui]32 2015-01-13 16:23:30 +03:00
Pierre Krieger
469d0eafd1 Update for rust alpha 1.0 2015-01-10 08:23:20 +01:00
Pierre Krieger
dbdb43f077 Update for Rustc 2015-01-08 09:28:22 +01:00
Pierre Krieger
4c5e430dd3 Update for Rustc 2015-01-03 23:15:39 +01:00
Pierre Krieger
b9a6366f96 Update for changes in Send/Sync traits 2014-12-30 08:20:50 +01:00
Pierre Krieger
dbb82968ba Update for rustc 2014-12-23 17:12:29 +01:00
Michael Powell
6e9969ccc0 Add semicolons after macro invocations, as required by the latest nightly. 2014-12-19 21:34:20 -08:00
Pierre Krieger
19d120b8b1 Update for Rustc for win32 2014-12-15 14:06:32 +01:00
Pierre Krieger
3cf487ac70 Use the winapi crate instead of our own ffi 2014-12-02 14:58:20 +01:00
Pierre Krieger
5072bc287f Update for rustc on win32 2014-11-27 15:52:07 +01:00
Pierre Krieger
729551f828 Implement multisampling for x11 2014-11-27 15:26:42 +01:00
Pierre Krieger
4c0413bc7c Implement lists sharing 2014-11-24 20:13:52 +01:00
Pierre Krieger
77df8e52bc Update for rustc 2014-11-23 11:56:30 +01:00
Pierre Krieger
ff3a29aaf5 Update for rustc 2014-11-19 07:06:27 +01:00
Tomaka17
8c1b2dd633 Add support for the OpenGL debug flag 2014-11-09 16:44:53 +01:00
Tomaka17
ee8682caf2 Add CS_OWNDC flag when creating win32 window 2014-11-08 20:15:18 +01:00
Tomaka17
2be71306ec Remove key modifiers in KeyboardInput 2014-11-06 19:09:07 +01:00
Tomaka17
584bb3e7df Use a proper error type for window creation 2014-11-05 16:42:18 +01:00
Tomaka17
7ce851dad9 Update for changes in gl-rs 2014-11-05 15:32:01 +01:00
Tomaka17
b6f7491157 Add visibility-related functions to window 2014-11-01 09:03:21 +01:00
Tomaka17
f7a50c162c Bugfix in swap interval for win32 2014-10-27 13:09:36 +01:00
Tomaka17
8249e545f8 Add with_vsync to WindowBuilder, plus the win32 implementation 2014-10-26 16:35:24 +01:00
Tomaka17
2ff393fe62 Update for rustc and gl-rs 2014-10-22 11:23:21 +02:00
Tomaka17
cdee854d2e Fix bug with 64bits rustc 2014-10-11 20:23:33 +02:00
Tomaka17
cb32e64b72 Fix warnings while compiling for win32 2014-10-11 17:58:17 +02:00
Tomaka17
e565bfeb13 Implement headless rendering 2014-10-09 15:55:42 +02:00
Tomaka17
ea957ce1d7 Fix compilation warnings 2014-09-23 08:01:18 +02:00
Tomaka17
2af367b55c Use the gl_generator macro to generate the bindings for WGL 2014-09-12 15:51:43 +02:00
Tomaka17
d870fa7ffa Remove call to glViewport after win32 initialization 2014-08-22 11:26:47 +02:00
Tomaka17
d6fec79334 Cleanup temporary objects in case of error during creation on win32
See #10
2014-08-22 11:26:00 +02:00
Tomaka17
6b45d1ca25 Not specifiying dimensions on win32 now results in CW_USEDEFAULT
Close #11
2014-08-22 11:19:19 +02:00
Tomaka17
ae65b423dd Implement new events system 2014-08-13 17:23:03 +02:00
Tomaka17
837efc5460 Fix attempt for #22 2014-08-12 11:01:18 +02:00
Tomaka17
5f1d8dbedf Add flags when choosing pixel format 2014-08-07 18:51:27 +02:00
Tomaka17
61781cf209 Call glViewport on windows init for win32
See #14
2014-08-07 18:48:34 +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
8c074af9fc Add support for specific OpenGL version for Win32 2014-08-02 11:03:09 +02:00
Tomaka17
49b0a20170 Now passing WindowBuilder to implwin::Window::new 2014-08-02 10:42:17 +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
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
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