summaryrefslogtreecommitdiff
path: root/src/gui/guiFormSpecMenu.cpp
Commit message (Collapse)AuthorAge
* FormspecMenu: make drawing of backgrounds less hacky (#9517)DS2022-02-22
|
* Formspec: Fix bgcolor and set_focus checksSmallJoker2022-01-09
|
* Base formspec coordinate size on padded screensizeVincent Robinson2022-01-04
|
* Add padding[] element to formspecs (#11821)Vincent Robinson2021-12-30
|
* Formspec: Unify argument checks (#11851)SmallJoker2021-12-29
|
* Fix crash on hypertext[] with not enough partsrubenwardy2021-10-25
| | | | | | | | 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.
* Touch UI support for desktop builds (#10729)TheBrokenRail2021-09-26
|
* Make sure relevant std::stringstreams are set to binarysfan52021-09-11
|
* Fix background color of formspec text fieldssfan52021-05-30
|
* 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)
* 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
|
* Fix animation_image support in scroll containersJean-Patrick Guerrero2021-02-08
|
* Fix list spacing and size (again) (#10869)Vincent Robinson2021-02-02
|
* Fix formspec list spacing (#10861)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
|
* Formspecs: Fix broken texture escaping with model[]Jean-Patrick Guerrero2021-01-01
|
* Fix item tooltip background color not workingLars Mueller2020-12-28
|
* 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
* Add sound to press event of some formspecs elements (#10402)Pierre-Yves Rollo2020-11-23
|
* 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>
* Avoid drawing clipped out formspec elements (#10095)EvidenceB2020-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
|
* 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
|
* Hide tooltip after ETIE_LEFT_UP (for touch control)MoNTE482020-06-09
|
* 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
|
* Add `animated_image` to clickthrough elements (#9724)v-rob2020-04-25
|
* Simplify how parseElement splits element string (#9726)Pierre-Yves Rollo2020-04-25
|
* Formspec: allow lists to change size and existence while the formspec is ↵DS2020-04-18
| | | | | open (#9700) Fixes #9640.
* Android: fix formspec input for AArch64 devices (#9685)Maksim2020-04-16
|
* Add scroll_container formspec element (redo) (#9101)DS2020-04-13
| | | | | | | | | New formspec elements: - `scroll_container[<X>,<Y>;<W>,<H>;<scrollbar name>;<orientation>;<scroll factor>]` - `scroll_container_end[]` Other elements can be embedded in this element. Scrollbar must be placed manually.
* GUIFormSpecMenu: Add basic element highlighing debug feature (#9423)SmallJoker2020-04-12
| | | Activated using F5
* Formspecs: Add state-selection to style elements (#9378)Hugues Ross2020-04-11
|
* Formspec: No spec ID for static text labelsSmallJoker2020-04-11
| | | | Fixes #9634
* Fix GUI element click-through by changing visibility (#9534)DS2020-03-31
| | | | | This adds a vector that holds pointers to elements that should only be visible while being drawn. In the guifsmenu's draw func, all elements in this vector are made visible and invisible again. Apart from there, they are always invisible. (Well they are still visible before the first drawn, does this matter? If yes, it could be fixed easily with some lines of code everywhere.)
* Fix mouse events sent to wrong GUI elements when draggingsfan52020-03-16
|
* Formspecs: Add starting frame to `animated_image` (#9411)v-rob2020-03-16
|