aboutsummaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2021-05-03refacto: remove get_gui_env & draw_load_screen from RenderingEngine singletonLoic Blot
2021-05-03refacto: RenderingEngine::get_scene_manager() is now not callable from singletonLoic Blot
This permits to make evidence that we have some bad object passing on various code parts. I fixed majority of them to reduce the scope of passed objects Unfortunately, for some edge cases i should have to expose ISceneManager from client, this should be fixed in the future when our POO will be cleaner client side (we have a mix of rendering and processing in majority of the client objects, it works but it's not clean)
2021-05-03refacto: RenderingEngine is now better hiddenLoic Blot
* No more access to the singleton instance from everywhere (RenderingEngine::get_instance dropped) * RenderingEngine::get_timer_time is now non static * RenderingEngine::draw_menu_scene is now non static * RenderingEngine::draw_scene is now non static * RenderingEngine::{initialize,finalize} are now non static * RenderingEngine::run is now non static * RenderingEngine::getWindowSize now have a static helper. It was mandatory to hide the global get_instance access
2021-04-20Add a key to toggle map block bounds (#11172)Seth Traverse
It's often useful to know where the map block boundaries are for doing server admin work and the like. Adds three modes: single mapblock, range of 5, and disabled.
2021-04-05Make edit boxes respond to string input (IME) (#11156)yw05
Make edit boxes respond to string input events (introduced in minetest/irrlicht#23) that are usually triggered by entering text with an IME.
2021-04-05Reserve vectors before pushing and other code quality changes (#11161)sfan5
2021-04-02CGUITTFont optimizations (#11136)sfan5
2021-03-21Fix segfault for model[] without animation speedJean-Patrick Guerrero
2021-03-19Drop old text input workarounds (#11089)sfan5
* Drop unused intlGUIEditBox * Drop unnecessary Linux text input workarounds
2021-03-16GUIScene: Clear depth buffer + replace deprecated clearZBuffer callsJean-Patrick Guerrero
2021-03-09Restore Irrlicht 1.9 supportsfan5
2021-02-24Use "Aux1" key name consistently everywhereWuzzy
2021-02-08Fix animation_image support in scroll containersJean-Patrick Guerrero
2021-02-07Rewrite touch event conversion (#10636)Vitaliy
2021-02-02Fix memory leak detected by address sanitizer (#10896)k.h.lai
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>