1
0

133 Commits

Author SHA1 Message Date
284a473584 Android: get rid of getInputDialogState
* backported b7c470ae92
* let workaround of getInputDialogState
2024-06-01 23:43:02 -04:00
Deve
4b622b058a Mobile: improve the chat experience (#146)
* Some chat input dialog fixes.

- If getAndroidChatOpen() is true then input dialog is created by chat.
- Hide touchscreengui when chat input dialog is open.

* Check input dialog owner in config registration, just in case

* Make sure there is no menu active before showing touchscreengui

* Reset input dialog owner when reading value
2024-05-30 15:29:19 -04:00
7083b0fb09 Mobile: use SDL_IsTablet() to determine the device type
* cherry picked from commit
  1c1acc3cfb
* this commit define automatically the client mode, if tabled or not!
  is goot to be backported to final minetest
* this depends of the previous commit, so now phone devices and tables
  are buil using SDL, check commit bd244fb402ee965862f42455d18857d7453f2cac
  in this repository
2023-09-05 14:23:58 -04:00
Maksym H
9db28e0daa MainMenu improvements and cleanup (#141)
Co-authored-by: luk3yx <luk3yx@users.noreply.github.com>
(cherry picked from commit 75452a9e9abe14deaf80cd696b056f708cf4f0fb)
2023-08-10 23:00:28 -04:00
luk3yx
e7d88cca42 Add pressed inventory slot background image
(cherry picked from commit f22951ab2b63c691f81d11267ff3e63e70457a14)
2023-08-10 22:48:22 -04:00
luk3yx
c3f00dedc2 Add list[] bgimg 2023-08-10 21:10:54 -04:00
luk3yx
eded502651 Allow table and textarea scrollbars to be customised (#129) 2023-08-10 17:45:45 -04:00
Maksym H
eb122a4e80 Minor engine changes and fixes 2023-08-10 17:05:42 -04:00
Maksym H
e8dc878d1f Fix and improve guiConfirmRegistration dialog 2022-12-16 14:32:50 +02:00
Maksym H
da679d619e Android: simplify input dialog 2022-11-24 20:57:03 +02:00
Maksym H
3f4adfd6bb Minor changes and fixes 2022-11-14 12:59:33 +01:00
Maksym H
3d33abf1cd Yet another MainMenu improvements PR (#101)
* Yet another improvements instead of a complete redo

Co-authored-by: luk3yx <luk3yx@users.noreply.github.com>
2022-11-14 00:46:46 +01:00
Maksym H
e9157515b9
Android: add mouse support (#102)
Co-authored-by: Deve <deveee@gmail.com>
2022-10-24 13:31:08 +03:00
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
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
TheBrokenRail
5cf79ce632 Touch UI support for desktop builds (#10729) 2022-02-06 22:42:54 +02:00
MoNTE48
bf9a01085e Clear the item selection when receive an Inventory event 2021-12-31 00:35:04 +01:00
MoNTE48
9454597e32 Mobile: improve formspec scaling on large tablets 2021-12-02 10:12:03 +01: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
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
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
Vincent Robinson
f227e40180
Fix list spacing and size (again) (#10869) 2021-02-02 20:55:13 +01:00
Vincent Robinson
ad9adcb884
Fix formspec list spacing (#10861) 2021-01-23 14:49:13 -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
Jean-Patrick Guerrero
ff921f6989 Formspecs: Fix broken texture escaping with model[] 2021-01-01 17:03:34 +01:00
Lars Mueller
09d7fbd645 Fix item tooltip background color not working 2020-12-28 13:57:45 +01:00
Thomas--S
d0a38f694d
Formspec: Allow to specify frame loop for model[] (#10679)
Add the ability to specify an animation frame loop range for the model[] formspec element.
2020-12-15 19:06:36 +01:00
SmallJoker
f2c8c6bf51 Revert "GUIFormSpecMenu: Shift+Click listring workaround for MacOS"
The commit caused Shift-Clicking issues on Linux due to another Irrlicht bug where
KeyInput.Shift released keys do not trigger OnEvent()

MacOS users should build using a recent Irrlicht 1.8 development version.
See also: https://sourceforge.net/p/irrlicht/patches/321/
2020-12-14 11:05:24 -08:00
SmallJoker
e18b6c5a21 GUIFormSpecMenu: Shift+Click listring workaround for MacOS
event.MouseInput.Shift is not implemented for MacOS
2020-12-12 20:55:06 +01:00
Pierre-Yves Rollo
78273027bf Add sound to press event of some formspecs elements (#10402) 2020-11-23 21:28:25 +01:00
SmallJoker
3356da0151
Add model[] formspec element (#10320)
Formspec element to display models, written by @kilbith, rebased and tweaked.

Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com>
Co-authored-by: sfan5 <sfan5@live.de>
2020-11-04 21:46:18 +01:00
MoNTE48
2f9205c23d License upgrade to GNU Lesser General Public License 3.0+ 2020-08-28 18:31:02 +02:00
EvidenceB
287f3fb2e3
Avoid drawing clipped out formspec elements (#10095) 2020-08-23 22:50:14 +02:00
Pierre-Yves Rollo
71287894ad
Fix missing translation call in hypertext (#10296) 2020-08-20 12:25:02 +02:00
v-rob
83d0c360cc
Add gradients and borders to FormSpec boxes (#8676) 2020-08-19 18:14:47 -07:00
v-rob
471497fa91
Optimize formspec form size (#10144) 2020-08-19 16:13:29 -07:00
v-rob
cd0e213a36
Add font styling options to tables and textlists (#10203) 2020-08-11 20:07:17 +02:00
Zughy
cfaef5b1cf
Formspecs: volume and key settings windows can now be closed by doubleclicking/tapping (#10128)
Co-authored-by: Xx_Crazyminer_xX <carlo.digioia@hotmail.it>
Co-authored-by: Marco <4279489-marco_a@users.noreply.gitlab.com>
2020-07-14 22:37:28 +02:00
v-rob
2bec83eec0
Add FormSpec font styling options (#9763)
* Add FormSpec font styling options

* Change multiplication to stof

* Remove extraneous check
2020-07-12 09:48:50 +02:00