Commit Graph

13 Commits

Author SHA1 Message Date
Josh Tynjala
aebf139dc7 Fix window show/hide on desktop being incorrectly considered the same as app going into and out of the background/suspend on mobile
The app's Timers should still continue when a window is hidden. Especially since an app could have multiple windows, with some being shown and some being hidden. If only one were hidden, the other shown windows would clearly behave in a broken manner because the one hidden window would cause all app timers, even those associated with other windows, to be paused.

Introduces new WINDOW_SHOW AND WINDOW_HIDE events from C++ to Haxe, and new onShow and onHide events on Haxe Window.

Followup to 0918ee2381
2023-06-06 10:56:06 -07:00
Joshua Granick
78e99bf1d9 Remove whitespace lines 2018-07-18 17:32:51 -07:00
Joshua Granick
6ae72ea462 Native cleanup, merge lime.ui.Mouse into Window 2018-07-09 15:31:55 -07:00
Joshua Granick
8e91009bc4 Cleanup event types 2018-06-21 22:03:13 -07:00
Joshua Granick
5c407fe87b Minor fixes, fix compilation without HashLink library 2018-06-11 13:10:17 -07:00
Joshua Granick
ebda41a737 Better HL support, HelloWorld running in software 2018-06-09 08:28:49 -07:00
Joshua Granick
5dc5f47dd4 More progress on bindings 2018-06-09 08:25:16 -07:00
Joshua Granick
1119ce1958 Add Window expose event 2018-05-29 13:06:14 -07:00
Joshua Granick
8768d6114f Add window.id, add native EXIT event, filter window-based events and send to correct window instance 2015-08-19 12:36:30 -07:00
Joshua Granick
632f0e695d Add window enter and leave events (mouse focus) 2015-04-24 02:18:30 -07:00
Joshua Granick
138e3f6703 Implement window.fullscreen and window.minimize, add onWindow minimize, restore, fullscreen events 2015-03-19 16:55:38 -07:00
Joshua Granick
60679bd514 Add more Window events 2014-07-09 17:16:36 -07:00
Joshua Granick
0f6adf39d7 Add WindowEvent 2014-06-19 00:34:01 -07:00