1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-10 20:00:22 +02:00
Commit Graph

371 Commits

Author SHA1 Message Date
287f3fb2e3 Avoid drawing clipped out formspec elements (#10095) 2020-08-23 22:50:14 +02:00
3c2890692b Fix MSVC compiler warnings (#10197) 2020-08-23 15:41:04 +02:00
71287894ad Fix missing translation call in hypertext (#10296) 2020-08-20 12:25:02 +02:00
83d0c360cc Add gradients and borders to FormSpec boxes (#8676) 2020-08-19 18:14:47 -07:00
471497fa91 Optimize formspec form size (#10144) 2020-08-19 16:13:29 -07:00
cd0e213a36 Add font styling options to tables and textlists (#10203) 2020-08-11 20:07:17 +02:00
76afde861d Android: Fix ConfirmRegistration and PasswordChange input and scale size (#10182) 2020-07-21 13:16:25 +01:00
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
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
e0499731a8 Allow FormSpec elements to be focused with set_focus (#9353)
This allows you to specify a FormSpec element to set the focus of with "set_focus[<name>;<always set>]".
2020-07-12 09:47:05 +02:00
b1ff04e06d Formspec: Make dropdowns optionally return event based on index, not value (#9496) 2020-07-10 12:11:26 +02:00
da71313e1d Don't stop style parsing on unknown property (#10143) 2020-07-03 18:33:23 +02:00
ee6c499ff8 Fix wrong use of guiScalingImageButton in formspecs buttons (#10094) 2020-06-24 11:35:06 +02:00
8ebeed53ad Android: Fix only right strafe working (#10046) 2020-06-18 01:43:43 +01:00
b9f618746c TouchScreenGUI: fix some bugs, cleanup 2020-06-09 19:35:25 +02:00
0d8e5bf587 TouchScreen Control: fix some bugs, cleanup 2020-06-09 19:35:25 +02:00
756dc89ede Fix real keyboard movements on touchscreen devices 2020-06-09 19:35:25 +02:00
3cee55f2b4 Hide tooltip after ETIE_LEFT_UP (for touch control) 2020-06-09 19:35:25 +02:00
a9b74f4c39 Add chat_font_size setting (#9736)
Default font sizes are used when the setting value is 0 or below (clamped by Settings).
2020-05-24 14:24:13 +02:00
037422fdba Modernize include guards and add missing ones (#9898) 2020-05-23 13:23:05 +02:00
b6242498aa Always use same default tabheader height (#9319)
Previously the default tabheader height was different when using
real coordinates. This resulted in the height of tabs changing when
switching tabs in sfinv if some tabs used real coordinates.
2020-05-09 17:14:29 +02:00
664800b2ad FormSpec: Add universal style selector * (#9718) 2020-05-06 19:36:02 +02:00
f1a05d0f71 Fix broken client if openal cannot be opened (#9804) 2020-05-05 08:38:18 +02:00
cb9a44ef89 Add 'content_offset' and 'padding' style properties for buttons (#9661)
* Add padding and content_offset style properties to buttons
2020-05-02 13:32:02 +02:00
bc60e44d80 Add animated_image to clickthrough elements (#9724) 2020-04-25 16:55:21 +02:00
6cc5c7cbb4 Simplify how parseElement splits element string (#9726) 2020-04-25 07:48:04 +02:00
DS
4fb6b6afa7 Formspec: allow lists to change size and existence while the formspec is open (#9700)
Fixes #9640.
2020-04-18 17:21:10 +02:00
DS
241bf44260 Apply a scrollbar's default value to scroll containers (#9699)
Fixes #9691.
2020-04-18 17:20:20 +02:00
57038b3cb4 Android: fix formspec input for AArch64 devices (#9685) 2020-04-16 19:19:47 +02:00
DS
0ac999ded7 Add scroll_container formspec element (redo) (#9101)
New formspec elements:

 - `scroll_container[<X>,<Y>;<W>,<H>;<scrollbar name>;<orientation>;<scroll factor>]`
 - `scroll_container_end[]`

Other elements can be embedded in this element. Scrollbar must be placed manually.
2020-04-13 10:50:07 +02:00
6cf15cf872 GUIFormSpecMenu: Add basic element highlighing debug feature (#9423)
Activated using F5
2020-04-12 12:02:32 +02:00
f780bae05c Formspecs: Add state-selection to style elements (#9378) 2020-04-11 21:39:30 +01:00
01b3f26c7b Formspec: No spec ID for static text labels
Fixes #9634
2020-04-11 15:31:02 +02:00
0eb3072819 Hypertext: Fix hovercolor not working in global tag (#9582) 2020-04-05 15:04:41 +02:00
86a0e991ef Fix cursor still visible after closing formspec while on HyperText (#9583) 2020-04-04 16:17:15 +02:00
DS
d7825bca1b Fix GUI element click-through by changing visibility (#9534)
This adds a vector that holds pointers to elements that should only be visible while being drawn.

In the guifsmenu's draw func, all elements in this vector are made visible and invisible again. Apart from there, they are always invisible. (Well they are still visible before the first drawn, does this matter? If yes, it could be fixed easily with some lines of code everywhere.)
2020-03-31 18:34:42 +01:00
49a558574f Hypertext: Fix alignment tags adding unwanted newlines (#9548) 2020-03-26 19:56:35 +01:00
625b100593 Add comments for translators (#9510)
* Add translator comments for "special" strings

* Add translator comments for some "tricky" strings
2020-03-20 09:41:07 +01:00
5a31d56c9f Fix mouse events sent to wrong GUI elements when dragging 2020-03-16 22:57:10 +01:00
13ad8e2a09 Formspecs: Add starting frame to animated_image (#9411) 2020-03-16 22:56:48 +01:00
766d160ffb guiHyperText: Fix blinky cursor on link hover (#9392)
Change legacy size/position calculations to 'textarea'
2020-03-11 19:09:50 +01:00
DS
b42493fb4c Fix memory leak in GUIHyperText (#9489) 2020-03-10 20:32:38 +01:00
7da4f9ef20 GUIFormSpecMenu: Remove field_close_on_enter warning (#9501) 2020-03-10 20:30:55 +01:00
0e88176db8 GUIHyperText: Fix bug with UTF8 chars in action name + simplify UTF8 stringw conversion (#9437)
Co-authored-by: Pierre-Yves Rollo <dev@pyrollo.com>
2020-03-07 14:01:11 +01:00
7dffd08c1a Add multiple element selection to style and style_type (#9380) 2020-03-01 14:39:57 +00:00
DS
0c08f948d7 GUIInventoryList: fix dropping items when clicking outside of formspec window (#9422) 2020-02-26 12:18:05 +01:00
c657fb343f Refactor Script API's log_deprecated 2020-02-23 22:24:12 +01:00
7ce21788f8 Add animated_image[] formspec element (#9258) 2020-02-15 15:33:18 +00:00
ee7d357602 Key settings: Clear with escape (#8282)
Key ESCAPE -> Cancel change
Key DELETE -> Remove entry
2020-02-14 20:36:58 +01:00
DS
1116918dbb Formspec: Create a new class for inventorylists (#9287) 2020-02-01 13:55:13 +01:00