Commit Graph

89 Commits

Author SHA1 Message Date
Joseph Cloutier
9a9b89ae06 Merge branch 'develop' into 8.2.0-Dev 2023-08-17 21:07:12 -04:00
Josh Tynjala
9e2d431e2b Merge branch 'develop' into 8.1.0-Dev 2023-06-06 12:35:57 -07:00
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
EliteMasterEric
7d4a5bc2e6 Correct enums to ensure values are not changed when removing trackball event. 2023-05-11 20:40:37 -04:00
EliteMasterEric
a7b83cb688 Removed Joystick trackball support. 2023-05-11 20:22:27 -04:00
Josh Tynjala
f07e94708b Window: minWidth/minHeight/setMinSize and maxWidth/maxHeight/setMaxSize 2023-04-11 09:46:10 -07:00
Josh Tynjala
0160c12311 Window: visible property to show and hide window 2023-03-16 08:41:56 -07:00
player-03
fe6f1db7fd Merge pull request #1579 from ShaharMS/develop
Implement `clickCount` on HTML5 and Native.
2022-10-10 13:32:34 -04:00
Shahar Marcus
1e45cbea7a another attempt to fix the signature error 2022-09-13 20:16:55 +03:00
Shahar Marcus
5bcea64afb quick fixes, should fix signature error
when compiling, i get this error:

FATAL ERROR : Invalid signature for function lime@hl_mouse_event_manager_register : PP_vOiiddiidd__v required but PP_vOiddiidd__v found in hdll

This should fix it
2022-09-13 17:44:35 +03:00
ShaharMS
17e8b1c065 added clickCount to MouseEvent files 2022-09-13 12:52:40 +03:00
player-03
a3f54aa1d5 Sort function declarations. 2022-08-12 11:57:07 -04:00
Apprentice-Alchemist
86a7b4e136 C++ is strange. 2022-08-05 13:29:34 +02:00
Apprentice-Alchemist
1c8c6c1a5e Implement window transparency. 2022-08-04 22:00:49 +02:00
Josh Tynjala
81d682d355 Window: add new setTextInputRect() method to optionally specify the location of the input when textInputEnabled is set to true
On native, this uses SDL_SetTextInputRect
2022-06-09 14:14:05 -07:00
Apprentice-Alchemist
892d4612c4 Close #1516.
Fixe an inconcistency between the C and haxe sides of the OpenGL bindings.
2022-04-28 19:42:34 +02:00
Joshua Granick
a482c14d5c GL binding fixes 2019-03-14 10:15:00 -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
4a34bc515c Finish first pass on refactor render 2018-07-05 09:33:57 -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
6589b22c6f Add support for GL 32-bit color depth on native (close #698) 2017-06-05 13:29:37 -07:00
Joshua Granick
f4adce91e5 First pass on enabling correct X/Y joystick.onTrackballMove events 2017-05-16 16:15:59 -07:00
Joshua Granick
45f923360a Add 'always on top' window support 2017-05-04 14:44:18 -07:00
Joshua Granick
81c4926802 Add window.displayMode for fullscreen display mode switching 2017-02-28 11:32:55 -08:00
Joshua Granick
ffd004376f Dialog fixes 2017-02-11 18:09:57 -08:00
Joshua Granick
286a29355c Add lime.ui.ScanCode (close #882) 2017-01-09 18:01:19 -08:00
Joshua Granick
ec60520d52 Switch to tinyfiledialogs, implement unicode on Windows 2016-12-27 17:27:23 -08:00
Joshua Granick
4956adc595 Improve toggle fullscreen 2016-12-27 13:06:01 -08:00
Joshua Granick
384fdf2942 Compile fix, cleanup 2016-10-24 17:46:54 -07:00
Federico Bricker
fe13ea21f3 implement lime.ui.Haptic.vibrate(...) for iOS
-Basic implementation, but works-
2016-10-24 17:16:15 -07:00
Joshua Granick
2918876ede Add support for hidden windows, hide on munit tests 2016-08-10 11:07:31 -07:00
vroad
9d5839bc73 Fix spaces 2016-05-26 11:41:19 +09:00
vroad
166808d706 Implement virtual destructors in some C++ classes 2016-05-26 11:13:01 +09:00
Joshua Granick
4b2520a13f Add flag for allow high DPI 2016-03-01 11:53:54 -08:00
Joshua Granick
78bf85b766 Move drop file event to Window, handle mouse capture automatically 2016-03-01 10:45:33 -08:00
Yanrishatum
85ec75fd59 Drag&Drop support; SDL_CaptureMode support; Maximize window support; 2016-03-01 09:53:24 -08:00
Joshua Granick
b8646f1596 Move get display index to C++ 2016-01-12 11:43:13 -08:00
Lars A. Doucet
e86ac9cc75 added borderless, resizable, and fullscreenBorderless properties to Window.hx.
Caveats: resizable can only be set at runtime for windows right now as SDL does not support it natively and has to be added per platform.
2016-01-08 15:14:47 -08:00
Lars A. Doucet
1ddb43b990 CFFI hookups for nfd "open directory" functionality 2016-01-08 15:05:34 -08:00
Joshua Granick
8daeb8f1d8 Add lime.ui.Joystick and dispatch joystick events 2015-10-05 18:48:36 -07:00
Joshua Granick
f618c4648a Make window.alert simpler 2015-09-02 17:59:30 -07:00
Joshua Granick
dc919adccc Name window.notify back to window.alert and unify with simple message box support 2015-09-02 09:53:03 -07:00
Joshua Granick
b199e7ac7d Rename to window.notify (should have a more robust notification system in the future) 2015-09-02 09:01:04 -07:00
Tommy X
a8a7ff4dad Added Alert function 2015-09-01 20:10:48 -04:00
Joshua Granick
b10a876307 Rename to window.focus () 2015-08-25 16:26:09 -07:00