Commit graph

1949 commits

Author SHA1 Message Date
Corey Farwell cb0811faf3 Implement window transparency on macOS.
Fixes https://github.com/tomaka/winit/issues/57.
2016-11-30 14:36:51 -05:00
k-brac f66b533a95 fix typo 2016-11-29 16:27:23 +01:00
k-brac 7f2ee9a09a remove useless pub 2016-11-29 14:02:19 +01:00
k-brac 3e2154a922 child window created using a winapi::HWND instead of a WindowProxy 2016-11-29 13:02:42 +01:00
k-brac 2b25bf1480 child window creation improvement 2016-11-28 13:50:07 +01:00
k-brac 5a09e8ba21 first try to allow child window on windows 2016-11-25 17:05:39 +01:00
tomaka 13620118f6 Merge pull request #91 from frewsxcv/patch-1
Bump version to 0.5.6.
2016-11-24 07:44:25 +01:00
Corey Farwell a7c8d115d2 Bump version to 0.5.6.
Primarily to pick up https://github.com/tomaka/winit/pull/89.
2016-11-23 17:01:44 -05:00
tomaka 7bf9df848b Merge pull request #90 from tomaka/rm-android
Remove android_main! call
2016-11-23 21:03:14 +01:00
Pierre Krieger 289bb7bc9f Remove android_main! call 2016-11-23 19:33:44 +01:00
tomaka 79bed75d28 Merge pull request #89 from frewsxcv/constraints
Implement min/max window dimension constraints for MacOS.
2016-11-23 19:32:35 +01:00
Corey Farwell b500808d1a Rename example, remove debug logging. 2016-11-23 10:51:15 -05:00
Corey Farwell 57d1e162ee Update min/max window constraints to support MacOS 10.10. 2016-11-23 10:50:12 -05:00
Corey Farwell f8666a05fb Add example demonstrating min/max window dimension constraints. 2016-11-23 09:41:53 -05:00
Corey Farwell e3fce3d5ec Implement min/max window dimension constraints for MacOS.
Fixes https://github.com/tomaka/winit/issues/80.
2016-11-23 09:31:41 -05:00
tomaka 25b5768cd3 Merge pull request #88 from mitchmindtree/resize_cb_builder
Add a `WindowBuilder::with_window_resize_callback` method.
2016-11-11 18:14:15 +01:00
mitchmindtree 53065bda40 Move resize_callback field from WindowBuilder into WindowAttributes struct 2016-11-12 02:55:21 +11:00
mitchmindtree eb18b3d8b6 Add a WindowBuilder::with_window_resize_callback method.
This allows for passing the window_resize_callback fn during the window
building stage. More importantly, this allows setting the callback
without the need for mutable access to the Window, making it possible
to set the callback in the downstream glium crate.

This may solve tomaka/glium#1232 for most folk.
2016-11-11 22:08:46 +11:00
Pierre Krieger 2c58e85584 Some documentation improvements 2016-11-06 09:51:20 +01:00
tomaka 97da37ef04 Merge pull request #86 from tomaka/fix-win32
Fix win32
2016-11-05 14:01:02 +01:00
Pierre Krieger 38ad236df0 Publish 0.5.5 2016-11-05 13:44:36 +01:00
Pierre Krieger 712b27086f Fix win32 panicking all the time and make events work 2016-11-05 13:44:23 +01:00
tomaka f4d0a26495 Merge pull request #85 from tomaka/tomaka-patch-1
Publish 0.5.4
2016-11-05 10:08:27 +01:00
tomaka 2a545a8ef6 Publish 0.5.4 2016-11-05 09:48:58 +01:00
tomaka 2c90eeb80d Merge pull request #84 from vberger/master
linux: remove outdated comment
2016-11-04 07:25:14 +01:00
Victor Berger f371621dd9 linux: remove outdate comment 2016-11-03 22:48:58 +01:00
tomaka 1caa499f59 Merge pull request #81 from AndyBarron/master
Add MouseEntered/MouseLeft for Windows, X11, Wayland, & Cocoa
2016-11-03 10:45:54 +01:00
Andy Barron db45e58390 Add MouseEntered/MouseLeft for Windows, X11, Wayland, & Cocoa 2016-11-03 01:31:16 -07:00
tomaka 705f5f50fa Merge pull request #25 from xales/master
Bump version of MacOS deps.
2016-11-02 20:38:39 +01:00
tomaka 8a1f4d6669 Merge pull request #30 from vberger/master
wayland: sync drawn border size on window creation
2016-11-02 20:38:11 +01:00
Victor Berger ce6d2496d3 wayland: sync drawn border size on window creation 2016-11-02 20:07:49 +01:00
Jacob Greenfield f9030abdab Bump version of MacOS deps. 2016-11-02 11:23:18 -04:00
tomaka 3373e45e13 Merge pull request #29 from tomaka/rm-emscripten
Remove emscripten implementation
2016-11-01 21:52:45 +01:00
Pierre Krieger cf7c691bd6 Remove emscripten implementation 2016-11-01 16:16:59 +01:00
tomaka 9e404f2fe6 Merge pull request #28 from tomaka/win32-cleanups
Cleanups in the win32 code
2016-11-01 16:10:14 +01:00
tomaka d1e1a2d58c Merge pull request #26 from tomaka/move-impls-around
Move some implementations around
2016-11-01 16:10:06 +01:00
tomaka ef7428c44f Merge pull request #27 from tomaka/readme-update
Update the README
2016-11-01 16:10:00 +01:00
Pierre Krieger a557d6417c Forgot OpenGL 2016-10-31 17:33:36 +01:00
Pierre Krieger ef61a46182 Removed pub fields when not needed 2016-10-31 17:30:19 +01:00
Pierre Krieger 158543f336 Remove obsolete comment 2016-10-31 17:29:12 +01:00
Pierre Krieger aace1c0373 Remove dependency on libc when possible 2016-10-31 17:26:26 +01:00
Pierre Krieger 751b0a7ed7 Move the win32 implementation to platform/windows 2016-10-31 17:23:00 +01:00
Pierre Krieger 2896ed889b Update the README 2016-10-31 17:19:37 +01:00
Pierre Krieger 188ecae101 Move some implementations around 2016-10-31 17:13:11 +01:00
tomaka a32aaee83e Publish 0.5.3 2016-10-20 11:24:42 +02:00
tomaka 81e2037745 Merge pull request #23 from ozkriff/port_glutin_to_winit
Prepared winit for glutin porting
2016-10-20 11:22:19 +02:00
Andrey Lesnikov f5daac771e Prepared winit for glutin porting 2016-10-20 11:06:57 +03:00
tomaka 1f170264ed Merge pull request #21 from vberger/master
Wayland backend rewrite
2016-10-17 12:40:00 +02:00
Victor Berger 76f5613496 wayland: properly fetch new events with Window::poll_events() 2016-10-16 23:29:29 +02:00
Victor Berger 0663269482 wayland: Implement wakeup_event_loop() 2016-10-16 22:53:53 +02:00