Commit graph

26 commits

Author SHA1 Message Date
Pierre Krieger
3d692870e2 Change grab_cursor and ungrab_cursor to set_cursor_state 2015-03-26 17:15:18 +01:00
Steven Sheldon
4b1cfe8801 Updated to use objc lib. 2015-03-25 10:08:42 -04:00
Cam Jackson
589c4d188a Fix compilation by replacing "range" with ".." syntax 2015-03-25 15:54:57 +11:00
Brendan Zabarauskas
8a463f6643 Merge pull request #316 from binsoftware/cocoa-fixes
Cocoa fixes: memory leaks, monitor handling, is_current()
2015-03-24 18:33:53 +11:00
Glenn Watson
918833b19f Fix waking up mac event loop from thread. 2015-03-20 08:06:46 +10:00
Ryan Stewart
cf630ec041 add and use IdRef::non_nil() instead of doing deref'd comparisons against nil 2015-03-18 14:49:16 -07:00
Ryan Stewart
1b2fd6e6d0 fix headless build by ensuring NativeMonitorId enum is available internally even without the window feature; add Eq/PartialEq to NativeMonitorId 2015-03-18 14:16:35 -07:00
Ryan Stewart
9cecb7ee55 implement Window is_current() for cocoa backend 2015-03-16 14:13:21 -07:00
Ryan Stewart
70776fab41 honor the passed-in MonitorID when using with_fullscreen() in cocoa backend 2015-03-16 14:13:21 -07:00
Ryan Stewart
0fa5e541e8 handle retain/release on cocoa objects 2015-03-16 14:11:49 -07:00
Pierre Krieger
c61c33a833 Add set_cursor_position function 2015-03-10 10:29:07 +01:00
nwin
10490be8ba Fix scrolling wheel behavior on OSX
Fix regression introduced by #95b1c96 for the fix in #25fa4df
2015-03-05 11:54:48 +01:00
Pierre Krieger
689ace8b25 Add is_current function 2015-03-04 07:43:55 +01:00
Bryan Bell
903c9b1aad Implement set_cursor for osx 2015-02-27 01:56:33 -08:00
tomaka
07a584fd28 Merge pull request #290 from frewsxcv/cleanup
Various cleanup commits
2015-02-22 08:40:42 +01:00
mitchmindtree
246837adc8 Fix MouseMoved by checking for NSDrag events as well, closes #288 2015-02-22 15:58:37 +11:00
Corey Farwell
5ff649e5db Stop using deprecated CString::from_slice constructor 2015-02-21 18:32:05 -05:00
mitchmindtree
9bb41bf277 Fixed errors on latest nightly, RingBuf -> VecDeque 2015-02-21 23:59:37 +11:00
Ryan Stewart
25ce029cf6 expose the platform-specific window handle (currently Win only) 2015-02-20 12:33:25 -08:00
Pierre Krieger
f4f84c6566 Improve the OpenGL context request system 2015-02-18 17:15:01 +01:00
Glenn Watson
95b1c96181 Mac: Use platform specific iterators. 2015-02-10 08:36:59 +01:00
Glenn Watson
25fa4dfef6 Make the mouse wheel events match natural direction on osx. 2015-02-10 12:22:17 +10:00
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
Brendan Zabarauskas
4632e83156 Add tempory fix for #248 2015-02-03 22:17:59 +11:00
Brendan Zabarauskas
9b530cdf40 Fix OSX build 2015-01-30 22:14:49 +11:00
Brendan Zabarauskas
73078e0569 Rename osx->cocoa 2015-01-26 14:28:12 +11:00
Renamed from src/osx/mod.rs (Browse further)