Commit graph

43 commits

Author SHA1 Message Date
Bruce Mitchener
e832cd1223 Fix typos. 2015-09-07 17:33:22 +07:00
Richard Gale
631103bfa8 Adds suspend event mapped to application lifecycle
On Android WillSuspend and WillResume maps to focus and DidSuspend and
DidResume maps to onPause and onResume.

On OSX WillSuspend and DidSuspend maps to resign key, WillResume and
DidResumg maps to make key.
2015-08-24 19:12:01 -07:00
Branimir Karadžić
4f2345683d X11: Added key mapping. 2015-05-30 13:11:18 -07:00
Branimir Karadžić
e91673d53a OSX: Added key mapping. 2015-05-30 11:23:46 -07:00
Branimir Karadžić
f5afbffe64 Fixed compiler warning. 2015-03-21 18:14:35 -07:00
Branimir Karadžić
5f29eb480d Fixed issue #296. 2015-03-19 09:31:46 -07:00
Dario Manesku
7c188f4e0e Fixing EXC_BAD_ACCESS error. 2015-03-16 14:12:37 +01:00
Dario Manesku
205fa041e9 Cleanup. 2015-03-09 03:53:08 +01:00
Dario Manesku
ccb95fc3d9 Fixup for previous commit. 2015-03-08 03:10:25 +01:00
Dario Manesku
f9750906c0 Fixing mouse input in fullscreen mode. 2015-03-08 03:03:55 +01:00
Dario Manesku
b46aadcaf7 Init window in the center of the screen. 2015-03-08 02:59:16 +01:00
Dario Manesku
2443718b9f Fixup for previous commit. 2015-03-08 01:17:49 +01:00
Dario Manesku
81b9086de5 If some key modifiers are pressed other than shift, send postKeyEvent(). 2015-03-08 01:03:51 +01:00
Dario Manesku
7bc7b9f329 Changed mouse modifier from shift to command. 2015-03-08 00:29:52 +01:00
Dario Manesku
6935ead3e6 Implemented existing OSX window commands + added toggleFullscreen(). 2015-03-07 23:39:04 +01:00
Dario Manesku
52008569ef Get mouse position only once and store it. 2015-03-06 02:35:04 +01:00
Dario Manesku
c5943ded12 Make sure mouse button state is 'up' after window resize. 2015-03-06 02:35:04 +01:00
Dario Manesku
f47bd56d52 Fixing content display on window resize. 2015-03-06 02:35:04 +01:00
Dario Manesku
382c0b685b Calling postExitEvent() for Meta+Q as in other entries. 2015-03-06 02:35:03 +01:00
Dario Manesku
701cd3b3c9 Adding postCharEvent() to OSX entry. 2015-03-06 02:35:03 +01:00
Dario Manesku
97e9d2db6c Temporary solution for middle click. 2015-03-06 02:35:03 +01:00
Dario Manesku
9a23cf7b42 OSX prefers scroll be implemented this way. 2015-03-06 02:35:03 +01:00
Dario Manesku
ef9c989c14 Added mouse scroll support for OSX. 2015-03-05 03:37:20 +01:00
Branimir Karadžić
877fa25d5b cleanup. 2015-02-03 22:24:40 -08:00
Attila Kocsis
d3d304e008 Fix issue #229: Mouse movement does not work on OSX/Macbook Pro properly 2015-01-15 19:58:33 +01:00
Attila Kocsis
1fac08f3ef added separate ios/osx Xcode project generation
added ios/osx bundle resource loading
added info.plist for iOS Xcode examples
Xcode now uses only Universal target ( should use 'Standard' as it is default in Xcode projects - this will require modification of genie)
2015-01-14 19:50:45 +01:00
Branimir Karadžić
649d7f74d2 Updated copyright year. 2015-01-02 14:43:11 -08:00
Branimir Karadzic
8dab207b36 OSX: Fixed window resize. 2014-10-01 20:25:56 -07:00
Branimir Karadzic
af86d1b02d OSX: Added more key translation. 2014-09-28 13:36:23 -07:00
bkaradzic
e60863e301 Fixed warning: array subscript is of type 'char' [-Wchar-subscripts]. 2014-09-24 16:06:11 -07:00
Daniel Collin
874790838c Added inital mouse and keyboard support for OSX 2014-09-24 22:25:16 +02:00
bkaradzic
dd5492c29a OSX: Clear window after initialization. 2014-09-23 08:11:25 -07:00
Branimir Karadžić
de3d152b9c Added multiple windows example. 2014-09-22 19:34:10 -07:00
bkaradzic
5ae9de7482 Fixed OSX entry. 2014-09-19 10:33:13 -07:00
Dario Manesku
2b01f8a874 Function setWindowTitle() now returns void. 2014-08-10 16:53:14 +01:00
Dario Manesku
f1a7e1696d Added setWindowTitle(). 2014-08-06 01:50:22 +01:00
Branimir Karadžić
e7b42f13c6 Updated copyright year. 2014-02-10 22:18:39 -08:00
bkaradzic
dee588dfba OSX/iOS: Updated to Xcode5. 2013-12-07 10:19:54 -08:00
bkaradzic
04f348c2ea OSX: Moved NSOpenGLContext creation to the main thread that created NSWindow. Fixes occasional GL_INVALID_FRAME_BUFFER_OPERATION error on DrawElements. 2013-11-18 20:43:17 -08:00
bkaradzic
24c894ea90 Shuffling entry stuff. 2013-08-14 21:08:46 -07:00
bkaradzic
386323e9a6 Added missing include. 2013-08-07 23:11:20 -07:00
bkaradzic
2f72afca65 Fixed iOS and OSX builds. 2013-08-07 22:50:01 -07:00
bkaradzic
4c4c2eb5cb examples-common: Reogranized sources. Added command interpreter and input bindings support. 2013-08-07 21:45:56 -07:00
Renamed from examples/common/entry_osx.mm (Browse further)