Pierre Krieger
8277b26862
No longer use an api_dispatch module for linux
2017-01-28 13:14:20 +01:00
tomaka
8f9240e4ac
Merge pull request #123 from tomaka/tomaka-patch-1
...
Fix stupid shit
2017-01-28 11:30:50 +01:00
tomaka
5b1d38cb2f
Fix stupid shit
2017-01-28 11:22:20 +01:00
tomaka
3a139685b9
Merge pull request #122 from tomaka/tomaka-patch-1
...
Publish 0.5.9
2017-01-25 08:45:36 +01:00
tomaka
56b536cd48
Publish 0.5.9
2017-01-25 07:58:51 +01:00
tomaka
6738f7cc2e
Merge pull request #118 from ojacobson/macos-window-resize
...
Naive implementation of resize events for OS X.
2017-01-25 07:58:08 +01:00
Owen Jacobson
6f82ccfba9
De-duplicate resize events.
...
This tracks resizes separately, and synthesizes them for the event iterators as needed, so that OS X apps don't generate a whole set of resize events after each resize.
2017-01-24 13:46:46 -05:00
tomaka
a927fa0c7c
Merge pull request #121 from potocpav/hand-cursor
...
Use a hand pointing a finger in X11 as MouseCursor::Hand
2017-01-24 16:04:35 +01:00
Pavel Potocek
bf1585b819
Use a hand pointing a finger in X11 as MouseCursor::Hand
2017-01-24 15:35:38 +01:00
Owen Jacobson
7d6b4c3fe5
Naive implementation of resize events for OS X.
...
These events are batched, and delievered en masse at the end of the resize. This isn't a great developer experience (and it should probably be called out in the docs), but it makes it possible for winit client applications to detect and respond to resizes without special-casing Mac OS targets.
See #39 . This is only a partial fix, and does not provide on-the-fly resize events.
2017-01-24 00:13:45 -05:00
tomaka
4cc6faa800
Merge pull request #117 from mitchmindtree/fix_macos_warnings
...
Fix all warnings on macOS
2017-01-22 08:45:22 +01:00
mitchmindtree
95b7d5326e
Fix patterns_in_fns_without_body warning on macos
2017-01-22 17:55:30 +11:00
mitchmindtree
9b15440b62
Fix non_upper_case_globals warnings on macos
2017-01-22 17:54:45 +11:00
tomaka
ab61551492
Merge pull request #116 from tomaka/tomaka-patch-1
...
Pin down to cocoa 0.5.2
2017-01-20 07:32:46 +01:00
tomaka
07f7612e3b
Pin down to cocoa 0.5.2
2017-01-20 07:09:37 +01:00
tomaka
41ac24b107
Merge pull request #113 from samdphillips/mac-middle-mouse-button
...
Add middle mouse button events for MacOS.
2017-01-19 20:45:51 +01:00
tomaka
9af1e0ed0f
Merge pull request #111 from jrmuizel/awakened
...
macos: Map our user generated event to Event::Awakened
2017-01-19 20:29:49 +01:00
Jeff Muizelaar
3b1fdc0f55
macos: Map our user generated event to Event::Awakened
...
This fixes propagation of Event::Awakend from wakeup_event_loop() when
using poll_event() on macOS.
Currently wait_event() translates all unknown events into
Event::Awakened so doesn't need the explicit translation.
2017-01-19 14:17:55 -05:00
Sam Phillips
55e52d6071
Add middle mouse events for MacOS.
2017-01-17 19:47:36 -08:00
tomaka
09e6698236
Merge pull request #106 from rerion/master
...
Allow creation of X11 window with specified visual and screen
2017-01-07 15:03:59 +01:00
rerion
941c8d3344
Add TODO & bump version
2017-01-07 15:00:15 +01:00
rerion
f5812018ca
Add get_x11_xconnection function
2017-01-07 14:34:38 +01:00
rerion
d4b8fd9f5a
Add methods allowing creation of X11 window with specified visual and screen
2017-01-06 22:46:41 +01:00
tomaka
bc0dd0f854
Merge pull request #98 from paulirotta/dependency-version-update
...
Dependent crates version updates
2016-12-08 12:52:15 +01:00
Paul Houghton
d4ee609e6f
Dependent crates version updates
2016-12-08 09:29:17 +02:00
tomaka
3b93c7c664
Merge pull request #95 from frewsxcv/transparent
...
Implement window transparency on macOS.
2016-12-04 07:59:51 +01:00
tomaka
1ee91364bf
Merge pull request #96 from k-brac/child_window
...
Child window
2016-12-02 13:21:12 +01:00
Baptiste AUBRY
5e387812d1
remove useless example
2016-12-02 12:54:06 +01:00
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
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