aboutsummaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2021-11-22Allow for Game-Specific Menu Music (#11241)ExeVirus
2021-10-25Fix crash on hypertext[] with not enough partsrubenwardy
The length check used < rather than <=, disabling the check when the formspec version matches the client's FORMSPEC_API_VERSION. Additionally, it was possible to have fewer parts than required if the formspec version was greater than the client's FORMSPEC_API_VERSION.
2021-09-27Various code improvementsSmallJoker
* Camera: Fix division by 0 after view bobbing * Remove ignored constness * Connection: Improve window size range limits
2021-09-26Touch UI support for desktop builds (#10729)TheBrokenRail
2021-09-14Chop game background in mainmenu (#10796)Lars Müller
2021-09-11Make sure relevant std::stringstreams are set to binarysfan5
2021-08-28Async-related script cleanupssfan5
2021-08-23Use utf-8 for the Irrlicht clipboard (#11538)DS
2021-08-08Fix GUIEditBoxWithScrollBar using a smaller steps than intlGUIEditBox (#11519)DS
2021-08-08Gettext support on Android (#11435)Pevernow
Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: =?UTF-8?q?Olivier=20Samyn=20=F0=9F=8E=BB?= <code@oleastre.be>
2021-07-21Remove unused header includeshecks
2021-06-23Perform some quality assurance for translation strings (#11375)Wuzzy
2021-06-20Make chat web links clickable (#11092)pecksin
If enabled in minetest.conf, provides colored, clickable (middle-mouse or ctrl-left-mouse) weblinks in chat output, to open the OS' default web browser.
2021-05-30Fix background color of formspec text fieldssfan5
2021-05-22GUIEditBox: Allow selecting and copying read-only textsSmallJoker
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