aboutsummaryrefslogtreecommitdiff
path: root/src/gui
Commit message (Collapse)AuthorAge
* Fix list spacing and size (again) (#10869)Vincent Robinson2021-02-02
|
* Drop wide/narrow conversion functionssfan52021-02-02
| | | | | | | | | 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-29
| | | | | | | | | | | 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-28
| | | Fixes the PcgRandom::PcgRandom linker issue, caused by inconsistent data type definition.
* Fix formspec list spacing (#10861)Vincent Robinson2021-01-23
|
* Make hypertext and textarea have proper scroll event propagation. (#10860)Vincent Robinson2021-01-23
|
* FormSpec: Add list spacing, slot size, and noclip (#10083)Vincent Robinson2021-01-23
| | | | | | | | | * 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-22
|
* Factorize more guiEditBoxes code (#10789)Loïc Blot2021-01-13
| | | | * Factorize more guiEditBoxes code
* Refactor/gui editbox (#10787)Loïc Blot2021-01-07
|
* refacto: factorize multiple code parts from guiEditbox childs (#10782)Loïc Blot2021-01-04
|
* Formspecs: Fix broken texture escaping with model[]Jean-Patrick Guerrero2021-01-01
|
* Fix item tooltip background color not workingLars Mueller2020-12-28
|
* Fix some minor code issues all over the placesfan52020-12-24
|
* Formspec: Allow to specify frame loop for model[] (#10679)Thomas--S2020-12-15
| | | 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-14
| | | | | | | | 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-12
| | | | event.MouseInput.Shift is not implemented for MacOS
* Change typedef to normal definitions in GUI codesfan52020-11-26
|
* Add sound to press event of some formspecs elements (#10402)Pierre-Yves Rollo2020-11-23
|
* Fix warnings about an unused variables and implicit conversion (#10586)red-0012020-11-12
|
* Add model[] formspec element (#10320)SmallJoker2020-11-04
| | | | | | 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-08
| | | Fixes a regression of #8676.
* Remove unused functions reported by cppcheck (#10463)SmallJoker2020-10-05
| | | | | | | 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-03
|
* Reduce the FPS when the window is unfocused (#8837)HybridDog2020-10-03
|
* Make bgcolor tint button background images (#9818)Hugues Ross2020-08-29
|
* darken tabheader background color (#10299)Kezi2020-08-23
|
* Avoid drawing clipped out formspec elements (#10095)EvidenceB2020-08-23
|
* Fix MSVC compiler warnings (#10197)adrido2020-08-23
|
* Fix missing translation call in hypertext (#10296)Pierre-Yves Rollo2020-08-20
|
* Add gradients and borders to FormSpec boxes (#8676)v-rob2020-08-19
|
* Optimize formspec form size (#10144)v-rob2020-08-19
|
* Add font styling options to tables and textlists (#10203)v-rob2020-08-11
|
* Android: Fix ConfirmRegistration and PasswordChange input and scale size ↵Maksim2020-07-21
| | | | (#10182)
* Formspecs: volume and key settings windows can now be closed by ↵Zughy2020-07-14
| | | | | | | 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-12
| | | | | | | * 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-12
| | | 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-10
| | | | (#9496)
* Don't stop style parsing on unknown property (#10143)v-rob2020-07-03
|
* Fix wrong use of guiScalingImageButton in formspecs buttons (#10094)Pierre-Yves Rollo2020-06-24
|
* Android: Fix only right strafe working (#10046)rubenwardy2020-06-18
|
* TouchScreenGUI: fix some bugs, cleanupMoNTE482020-06-09
|
* TouchScreen Control: fix some bugs, cleanupMoNTE482020-06-09
|
* Fix real keyboard movements on touchscreen devicesMaksim2020-06-09
|
* Hide tooltip after ETIE_LEFT_UP (for touch control)MoNTE482020-06-09
|
* Add chat_font_size setting (#9736)SmallJoker2020-05-24
| | | 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-23
|
* Always use same default tabheader height (#9319)Paul Ouellette2020-05-09
| | | | | 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-06
|
* Fix broken client if openal cannot be opened (#9804)Loïc Blot2020-05-05
|