aboutsummaryrefslogtreecommitdiff
path: root/src/gui
Commit message (Collapse)AuthorAge
* refacto: remove get_gui_env & draw_load_screen from RenderingEngine singletonLoic Blot2021-05-03
|
* refacto: RenderingEngine::get_scene_manager() is now not callable from singletonLoic Blot2021-05-03
| | | | | | 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)
* refacto: RenderingEngine is now better hiddenLoic Blot2021-05-03
| | | | | | | | | | * 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
* Add a key to toggle map block bounds (#11172)Seth Traverse2021-04-20
| | | | 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.
* Make edit boxes respond to string input (IME) (#11156)yw052021-04-05
| | | Make edit boxes respond to string input events (introduced in minetest/irrlicht#23) that are usually triggered by entering text with an IME.
* Reserve vectors before pushing and other code quality changes (#11161)sfan52021-04-05
|
* CGUITTFont optimizations (#11136)sfan52021-04-02
|
* Fix segfault for model[] without animation speedJean-Patrick Guerrero2021-03-21
|
* Drop old text input workarounds (#11089)sfan52021-03-19
| | | | | * Drop unused intlGUIEditBox * Drop unnecessary Linux text input workarounds
* GUIScene: Clear depth buffer + replace deprecated clearZBuffer callsJean-Patrick Guerrero2021-03-16
|
* Restore Irrlicht 1.9 supportsfan52021-03-09
|
* Use "Aux1" key name consistently everywhereWuzzy2021-02-24
|
* Fix animation_image support in scroll containersJean-Patrick Guerrero2021-02-08
|
* Rewrite touch event conversion (#10636)Vitaliy2021-02-07
|
* Fix memory leak detected by address sanitizer (#10896)k.h.lai2021-02-02
|
* 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>