Commit Graph

318 Commits

Author SHA1 Message Date
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
Joshua Granick
35d1436dcd Revert WebAssembly improvements (moved to 8.1.0-Dev branch) 2023-05-30 09:03:18 -07:00
Joshua Granick
58275329cc Minor WebAssembly adjustments 2023-05-30 08:54:19 -07:00
Joshua Granick
2406ff4b94 Minor WebAssembly adjustments 2023-05-24 12:37:17 -07:00
Josh Tynjala
ed3d7efe19 Merge branch 'develop' into 8.1.0-Dev 2023-04-24 09:52:11 -07:00
tobil4sk
7c9a1894f6 Take const char pointers in lime::Font methods 2023-04-21 19:11:38 +01: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
50cc49c66d Fix filewatcher RemoveDirectory issue.
Windows headers define RemoveDirectory as RemoveDirectoryA.
system/FileWatcher.h needs to be included after any headers that might include windows headers.
2022-04-28 19:42:50 +02:00
Apprentice-Alchemist
a288feca96 Add hashlink as a submodule. 2022-04-28 19:42:41 +02:00
Apprentice-Alchemist
c394aea8f1 Rename a few functions.
Currently there's conflicts between the names in the C code, and the names the haxe compiler would expect for HL/C.
This commit fixes those conflicts.
2022-04-28 19:42:40 +02:00
Apprentice-Alchemist
a3b3d8593f Update hashlink. 2022-04-28 19:42:40 +02: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
b30f4bf39c Update HL headers for 1.10 (resolve #1339) 2019-08-20 08:06:58 -07:00
Joshua Granick
40ccd22c79 Fix BitmapData issues for HL 2019-04-10 16:26:03 -07:00
Joshua Granick
6dce7ad79a Progress on newer NDK support (forces minimum API from 14 to 16) 2019-04-05 18:07:13 -07:00
Joshua Granick
3b9ca3a770 Fixes for vdynamic return types 2019-03-14 12:34:08 -07:00
Joshua Granick
a482c14d5c GL binding fixes 2019-03-14 10:15:00 -07:00
Joshua Granick
299ed974c7 Fixes for HL 2019-03-12 15:57:19 -07:00
Joshua Granick
2dcd5c969c Add missing minor changes to internal Clipboard API 2018-11-15 19:15:18 -08:00
Joshua Granick
3b5f666aed Emscripten fix 2018-08-09 14:08:00 -07:00
Joshua Granick
4449bb4328 HashLink fix 2018-08-01 22:37:17 -07:00
Joshua Granick
0d6b0a1868 iOS build fixes 2018-07-24 08:49:00 -07:00
Joshua Granick
884f1d5a8e Compile fixes for WinRT UWP 2018-07-20 20:46:15 -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
f56abb40fd HL fix 2018-07-05 09:33:59 -07:00
Joshua Granick
4a34bc515c Finish first pass on refactor render 2018-07-05 09:33:57 -07:00
Joshua Granick
727d1cdfa6 Compile fix 2018-06-25 12:06:28 -07:00
Joshua Granick
c92960e6d7 Compile fix 2018-06-22 14:11:50 -07:00
Joshua Granick
8e91009bc4 Cleanup event types 2018-06-21 22:03:13 -07:00
Joshua Granick
f0579fb450 Refactor native Matrix3, Vector2, Rectangle types 2018-06-21 22:03:13 -07:00
Joshua Granick
95051fc41c Improve GL support for HL 2018-06-21 22:03:12 -07:00
Joshua Granick
6d666b0eeb First pass at refactoring native CFFI Bytes 2018-06-21 22:03:12 -07:00
Joshua Granick
9e9ec78a3b HL bindings 2018-06-15 00:22:24 -07:00
Joshua Granick
80798d887e Add MojoAL, sync for HL 1.6 2018-06-14 10:49:11 -07:00
Joshua Granick
62c5722ab0 Image loading, bytes fixes for HL 2018-06-13 19:41:04 -07:00
Joshua Granick
ba0c91e107 Work on HL bytes, HL blocking fixes, etc 2018-06-13 10:06:47 -07:00
Joshua Granick
58057a4457 Cleanup imports 2018-06-11 14:19:37 -07:00
Joshua Granick
5c407fe87b Minor fixes, fix compilation without HashLink library 2018-06-11 13:10:17 -07:00
Joshua Granick
c180653b30 Add Cairo bindings for HL 2018-06-09 08:28:50 -07:00