aboutsummaryrefslogtreecommitdiff
path: root/src/gui (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Drop wide/narrow conversion functionssfan52021-02-021-2/+1
| | | | | | | | | 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.
* Settings: Proper priority hierarchySmallJoker2021-01-291-1/+1
| | | | | | | | | | | 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
* Include irrlichttypes.h first to work around Irrlicht#433 (#10872)Vitaliy2021-01-282-0/+2
| | | Fixes the PcgRandom::PcgRandom linker issue, caused by inconsistent data type definition.
* Fix formspec list spacing (#10861)Vincent Robinson2021-01-231-4/+7
|
* Make hypertext and textarea have proper scroll event propagation. (#10860)Vincent Robinson2021-01-232-1/+2
|
* FormSpec: Add list spacing, slot size, and noclip (#10083)Vincent Robinson2021-01-232-20/+57
| | | | | | | | | * Add list spacing, slot size, and noclip * Simplify StyleSpec * Add test cases Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Remove dead code (#10845)rubenwardy2021-01-226-10/+2
|
* Factorize more guiEditBoxes code (#10789)Loïc Blot2021-01-136-183/+105
| | | | * Factorize more guiEditBoxes code
* Refactor/gui editbox (#10787)Loïc Blot2021-01-076-1738/+964
|
* refacto: factorize multiple code parts from guiEditbox childs (#10782)Loïc Blot2021-01-047-391/+266
|
* Formspecs: Fix broken texture escaping with model[]Jean-Patrick Guerrero2021-01-011-1/+1
|
* Fix item tooltip background color not workingLars Mueller2020-12-281-1/+2
|
* Fix some minor code issues all over the placesfan52020-12-241-2/+1
|
* Formspec: Allow to specify frame loop for model[] (#10679)Thomas--S2020-12-153-5/+26
| | | Add the ability to specify an animation frame loop range for the model[] formspec element.
* Revert "GUIFormSpecMenu: Shift+Click listring workaround for MacOS"SmallJoker2020-12-141-9/+1
| | | | | | | | 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/
* GUIFormSpecMenu: Shift+Click listring workaround for MacOSSmallJoker2020-12-121-1/+9
| | | | event.MouseInput.Shift is not implemented for MacOS
* Change typedef to normal definitions in GUI codesfan52020-11-262-14/+14
|
* Add sound to press event of some formspecs elements (#10402)Pierre-Yves Rollo2020-11-234-4/+46
|
* Fix warnings about an unused variables and implicit conversion (#10586)red-0012020-11-122-2/+1
|
* Add model[] formspec element (#10320)SmallJoker2020-11-045-1/+430
| | | | | | 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>
* Fix box[]es not being clipped (#10473)DS2020-10-081-2/+3
| | | Fixes a regression of #8676.
* Remove unused functions reported by cppcheck (#10463)SmallJoker2020-10-052-9/+0
| | | | | | | Run unused functions reported by cppcheck This change removes a few (but not all) unused functions. Some unused helper functions were not removed due to their complexity and potential of future use.
* Fix scroll bar overlapping text (again) (#9058)random-geek2020-10-032-6/+2
|
* Reduce the FPS when the window is unfocused (#8837)HybridDog2020-10-032-9/+10
|
* Make bgcolor tint button background images (#9818)Hugues Ross2020-08-292-7/+15
|
* darken tabheader background color (#10299)Kezi2020-08-231-1/+1
|
* Avoid drawing clipped out formspec elements (#10095)EvidenceB2020-08-233-3/+21
|
* Fix MSVC compiler warnings (#10197)adrido2020-08-231-2/+2
|
* Fix missing translation call in hypertext (#10296)Pierre-Yves Rollo2020-08-201-1/+1
|
* Add gradients and borders to FormSpec boxes (#8676)v-rob2020-08-194-33/+189
|
* Optimize formspec form size (#10144)v-rob2020-08-191-33/+33
|
* Add font styling options to tables and textlists (#10203)v-rob2020-08-113-1/+34
|
* Android: Fix ConfirmRegistration and PasswordChange input and scale size ↵Maksim2020-07-212-9/+29
| | | | (#10182)
* Formspecs: volume and key settings windows can now be closed by ↵Zughy2020-07-1410-130/+119
| | | | | | | doubleclicking/tapping (#10128) Co-authored-by: Xx_Crazyminer_xX <carlo.digioia@hotmail.it> Co-authored-by: Marco <4279489-marco_a@users.noreply.gitlab.com>
* Add FormSpec font styling options (#9763)v-rob2020-07-124-11/+69
| | | | | | | * Add FormSpec font styling options * Change multiplication to stof * Remove extraneous check
* Allow FormSpec elements to be focused with `set_focus` (#9353)v-rob2020-07-122-37/+78
| | | This allows you to specify a FormSpec element to set the focus of with "set_focus[<name>;<always set>]".
* Formspec: Make dropdowns optionally return event based on index, not value ↵v-rob2020-07-102-16/+24
| | | | (#9496)
* Don't stop style parsing on unknown property (#10143)v-rob2020-07-031-2/+2
|
* Fix wrong use of guiScalingImageButton in formspecs buttons (#10094)Pierre-Yves Rollo2020-06-242-6/+4
|
* Android: Fix only right strafe working (#10046)rubenwardy2020-06-181-2/+2
|
* TouchScreenGUI: fix some bugs, cleanupMoNTE482020-06-092-290/+179
|
* TouchScreen Control: fix some bugs, cleanupMoNTE482020-06-091-40/+19
|
* Fix real keyboard movements on touchscreen devicesMaksim2020-06-091-1/+6
|
* Hide tooltip after ETIE_LEFT_UP (for touch control)MoNTE482020-06-091-0/+4
|
* Add chat_font_size setting (#9736)SmallJoker2020-05-241-1/+3
| | | Default font sizes are used when the setting value is 0 or below (clamped by Settings).
* Modernize include guards and add missing ones (#9898)Awkor2020-05-232-0/+4
|
* Always use same default tabheader height (#9319)Paul Ouellette2020-05-091-1/+4
| | | | | 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.
* FormSpec: Add universal style selector `*` (#9718)v-rob2020-05-061-4/+16
|
* Fix broken client if openal cannot be opened (#9804)Loïc Blot2020-05-051-2/+2
|
* Add 'content_offset' and 'padding' style properties for buttons (#9661)Hugues Ross2020-05-023-19/+81
| | | | * Add padding and content_offset style properties to buttons