Commit Graph

240 Commits (fe5495288e997397d480918340c0b5baa79be5b4)

Author SHA1 Message Date
Deve fe5495288e
macOS: use SDL2 (#90) 2022-09-02 00:26:24 +03:00
x2048 0fed6077fe Use legacy image implementation (no NNAA filter) when not using 9-slice image (#12608) 2022-08-01 17:33:59 +12:00
Vincent Robinson 0bfc98fe26 Backport (II): "FormSpec: 9-slice images, animated_images, and fgimg_middle (#12453)"
* FormSpec: 9-slice images and animated_images

* Add fgimg_middle; clean up code

* Address issues, add tests

* Fix stupid error; bump formspec version

* Re-add image[] elements without a size
2022-07-03 21:31:56 +03:00
luk3yx 3cf9c06ae4
Mobile: don't stretch formspec to entire screen if it has a tabheader (#62) 2022-06-22 09:00:28 +03:00
Maksim fbd1c6b88d Backport: "FormSpec: 9-slice images, animated_images, and fgimg_middle (#10265)"
Co-Authored-By: Vincent Robinson <robinsonvincent89@gmail.com>
2022-06-15 10:45:38 +03:00
luk3yx d6c82c3f7c Improve main menu (#60)
Co-authored-by: Maksim <Maksym48@pm.me>
2022-06-14 12:02:40 +03:00
Maksim afea7abc41 TouchScreenGUI: minor fixes 2022-06-08 19:59:05 +02:00
luk3yx 4765019103 Stop main menu and CSM formspec input errors from crashing the game entirely on Android 2022-05-30 19:50:22 +12:00
Maksim 941fcdd97e TouchScreenGUI: fix rare crash 2022-05-13 02:24:46 +03:00
Maksim aee23e4940 Minor GUI scaling fixes 2022-04-10 13:20:59 +02:00
Maksim aea47b3afe TouchScreenGUI: minor fixes 2022-04-09 12:45:35 +02:00
luk3yx feb71c65e3
Improve change password UI (#46) 2022-04-01 10:20:19 +02:00
Maksim f19a76ff3e Few improvements to GUI scaling
Co-Authored-By: Vitaliy <numzer0@yandex.ru>
2022-03-31 17:32:03 +02:00
numzero 82236ebc1d Render pressed as also hovered on touchscreen 2022-03-31 13:53:50 +02:00
Maksim f83601b937 TouchScreenGUI: minor improvements 2022-03-17 00:37:13 +02:00
Maksim 3b200d6e48 Update MainMenu look 2022-03-08 10:23:00 +01:00
Bektur db273c4645 Android: latest bugfixes and features (#39)
Co-authored-by: Maksim <MoNTE48@mail.ua>
2022-02-20 23:59:43 +01:00
Vitaliy e03170fb77
Mobile: fix spurious double-taps (#38) 2022-02-17 22:59:57 +02:00
TheBrokenRail 5cf79ce632 Touch UI support for desktop builds (#10729) 2022-02-06 22:42:54 +02:00
MoNTE48 26a5aed0c4 Mobile: minor fixes 2022-01-27 00:35:15 +01:00
MoNTE48 73392bc567 Scale images in the table on the desktop 2022-01-24 01:04:35 +01:00
DS f8fb722740 Use utf-8 for the Irrlicht clipboard (#11538) 2022-01-24 01:04:35 +01:00
MoNTE48 bf9a01085e Clear the item selection when receive an Inventory event 2021-12-31 00:35:04 +01:00
MoNTE48 2352512795 Mobile: fix KeyChangeMenu scaling 2021-12-30 00:44:30 +01:00
MoNTE48 4cfc5a506f OSX: minor fixes 2021-12-26 02:24:23 +01:00
sfan5 75d755a331 Reserve vectors before pushing and other code quality changes (#11161) 2021-12-04 23:47:06 +01:00
MoNTE48 9454597e32 Mobile: improve formspec scaling on large tablets 2021-12-02 10:12:03 +01:00
MoNTE48 0534d696f7 Merge MultiCraft Legacy changes 2021-07-25 12:06:24 +02:00
luk3yx 8f0dd004f1 Add minetest.load_translation to the main menu API 2021-07-25 12:06:24 +02:00
luk3yx 9bd686216a Make it compile 2021-07-25 12:06:24 +02:00
luk3yx 1aabc2ca14 Merge tag '5.4.1' into main
5.4.1
2021-06-08 10:37:38 +12:00
Jean-Patrick Guerrero 42d1394ea4 Add GUIScene files 2021-04-17 23:52:58 +02:00
Jean-Patrick Guerrero 37278ff7f9 Bunch of optimizations 2021-04-17 21:04:47 +02:00
Jean-Patrick Guerrero 27c0663894 Faster scroll_container 2021-03-15 10:45:24 +01:00
Jean-Patrick Guerrero b5672f20f6 Customizable scrollbar 2021-03-15 10:45:24 +01:00
MoNTE48 5d9ca99ad7 Backport MultiCraft TouchScreenGUI improvements 2021-02-14 09:58:28 +01:00
MoNTE48 2aa0400bd2 Backport MultiCraft Engine changes 2021-02-14 09:58:28 +01:00
Jean-Patrick Guerrero 6591597430 Fix animation_image support in scroll containers 2021-02-08 00:04:38 +00:00
Vitaliy 4caf156be5
Rewrite touch event conversion (#10636) 2021-02-07 11:48:30 +01:00
k.h.lai 2072afb72b
Fix memory leak detected by address sanitizer (#10896) 2021-02-02 20:56:24 +01:00
Vincent Robinson f227e40180
Fix list spacing and size (again) (#10869) 2021-02-02 20:55:13 +01:00
sfan5 c834d2ab25 Drop wide/narrow conversion functions
The only valid usecase for these is interfacing with OS APIs
that want a locale/OS-specific multibyte encoding.
But they weren't used for that anywhere, instead UTF-8 is pretty
much assumed when it comes to that.
Since these are only a potential source of bugs and do not fulfil
their purpose at all, drop them entirely.
2021-02-02 20:46:08 +01:00
SmallJoker 37a05ec8d6 Settings: Proper priority hierarchy
Remove old defaults system
Introduce priority-based fallback list
Use new functions for map_meta special functions
Change groups to use end tags

Unittest changes:
 * Adapt unittest to the new code
 * Compare Settings objects
2021-01-29 17:32:35 +01:00
Vitaliy ed0882fd58
Include irrlichttypes.h first to work around Irrlicht#433 (#10872)
Fixes the PcgRandom::PcgRandom linker issue, caused by inconsistent data type definition.
2021-01-28 21:25:13 +01:00
Vincent Robinson ad9adcb884
Fix formspec list spacing (#10861) 2021-01-23 14:49:13 -08:00
Vincent Robinson 6a55c03dab
Make hypertext and textarea have proper scroll event propagation. (#10860) 2021-01-23 14:48:57 -08:00
Vincent Robinson 009e39e73b
FormSpec: Add list spacing, slot size, and noclip (#10083)
* Add list spacing, slot size, and noclip

* Simplify StyleSpec

* Add test cases

Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-01-23 12:46:19 -08:00
rubenwardy 4c76239818
Remove dead code (#10845) 2021-01-22 15:09:26 +00:00
Loïc Blot 4b01282821
Factorize more guiEditBoxes code (#10789)
* Factorize more guiEditBoxes code
2021-01-13 09:05:09 +01:00
Loïc Blot 5fcc78a1fe
Refactor/gui editbox (#10787) 2021-01-07 13:21:12 +01:00