aboutsummaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2021-02-02Fix list spacing and size (again) (#10869)Vincent Robinson
2021-02-02Drop wide/narrow conversion functionssfan5
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-01-29Settings: Proper priority hierarchySmallJoker
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-28Include irrlichttypes.h first to work around Irrlicht#433 (#10872)Vitaliy
Fixes the PcgRandom::PcgRandom linker issue, caused by inconsistent data type definition.
2021-01-23Fix formspec list spacing (#10861)Vincent Robinson
2021-01-23Make hypertext and textarea have proper scroll event propagation. (#10860)Vincent Robinson
2021-01-23FormSpec: Add list spacing, slot size, and noclip (#10083)Vincent Robinson
* Add list spacing, slot size, and noclip * Simplify StyleSpec * Add test cases Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-01-22Remove dead code (#10845)rubenwardy
2021-01-13Factorize more guiEditBoxes code (#10789)Loïc Blot
* Factorize more guiEditBoxes code
2021-01-07Refactor/gui editbox (#10787)Loïc Blot
2021-01-04refacto: factorize multiple code parts from guiEditbox childs (#10782)Loïc Blot
2021-01-01Formspecs: Fix broken texture escaping with model[]Jean-Patrick Guerrero
2020-12-28Fix item tooltip background color not workingLars Mueller
2020-12-24Fix some minor code issues all over the placesfan5
2020-12-15Formspec: Allow to specify frame loop for model[] (#10679)Thomas--S
Add the ability to specify an animation frame loop range for the model[] formspec element.
2020-12-14Revert "GUIFormSpecMenu: Shift+Click listring workaround for MacOS"SmallJoker
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-12GUIFormSpecMenu: Shift+Click listring workaround for MacOSSmallJoker
event.MouseInput.Shift is not implemented for MacOS
2020-11-26Change typedef to normal definitions in GUI codesfan5
2020-11-23Add sound to press event of some formspecs elements (#10402)Pierre-Yves Rollo
2020-11-12Fix warnings about an unused variables and implicit conversion (#10586)red-001
2020-11-04Add model[] formspec element (#10320)SmallJoker
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-10-08Fix box[]es not being clipped (#10473)DS
Fixes a regression of #8676.
2020-10-05Remove unused functions reported by cppcheck (#10463)SmallJoker
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.
2020-10-03Fix scroll bar overlapping text (again) (#9058)random-geek
2020-10-03Reduce the FPS when the window is unfocused (#8837)HybridDog
2020-08-29Make bgcolor tint button background images (#9818)Hugues Ross
2020-08-23darken tabheader background color (#10299)Kezi
2020-08-23Avoid drawing clipped out formspec elements (#10095)EvidenceB
2020-08-23Fix MSVC compiler warnings (#10197)adrido
2020-08-20Fix missing translation call in hypertext (#10296)Pierre-Yves Rollo
2020-08-19Add gradients and borders to FormSpec boxes (#8676)v-rob
2020-08-19Optimize formspec form size (#10144)v-rob
2020-08-11Add font styling options to tables and textlists (#10203)v-rob
2020-07-21Android: Fix ConfirmRegistration and PasswordChange input and scale size ↵Maksim
(#10182)
2020-07-14Formspecs: volume and key settings windows can now be closed by ↵Zughy
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-12Add FormSpec font styling options (#9763)v-rob
* Add FormSpec font styling options * Change multiplication to stof * Remove extraneous check
2020-07-12Allow FormSpec elements to be focused with `set_focus` (#9353)v-rob
This allows you to specify a FormSpec element to set the focus of with "set_focus[<name>;<always set>]".
2020-07-10Formspec: Make dropdowns optionally return event based on index, not value ↵v-rob
(#9496)
2020-07-03Don't stop style parsing on unknown property (#10143)v-rob
2020-06-24Fix wrong use of guiScalingImageButton in formspecs buttons (#10094)Pierre-Yves Rollo
2020-06-18Android: Fix only right strafe working (#10046)rubenwardy
2020-06-09TouchScreenGUI: fix some bugs, cleanupMoNTE48
2020-06-09TouchScreen Control: fix some bugs, cleanupMoNTE48
2020-06-09Fix real keyboard movements on touchscreen devicesMaksim
2020-06-09Hide tooltip after ETIE_LEFT_UP (for touch control)MoNTE48
2020-05-24Add chat_font_size setting (#9736)SmallJoker
Default font sizes are used when the setting value is 0 or below (clamped by Settings).
2020-05-23Modernize include guards and add missing ones (#9898)Awkor
2020-05-09Always use same default tabheader height (#9319)Paul Ouellette
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-06FormSpec: Add universal style selector `*` (#9718)v-rob
2020-05-05Fix broken client if openal cannot be opened (#9804)Loïc Blot