aboutsummaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2020-04-25Add `animated_image` to clickthrough elements (#9724)v-rob
2020-04-25Simplify how parseElement splits element string (#9726)Pierre-Yves Rollo
2020-04-18Formspec: allow lists to change size and existence while the formspec is ↵DS
open (#9700) Fixes #9640.
2020-04-18Apply a scrollbar's default value to scroll containers (#9699)DS
Fixes #9691.
2020-04-16Android: fix formspec input for AArch64 devices (#9685)Maksim
2020-04-13Add scroll_container formspec element (redo) (#9101)DS
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.
2020-04-12GUIFormSpecMenu: Add basic element highlighing debug feature (#9423)SmallJoker
Activated using F5
2020-04-11Formspecs: Add state-selection to style elements (#9378)Hugues Ross
2020-04-11Formspec: No spec ID for static text labelsSmallJoker
Fixes #9634
2020-04-05Hypertext: Fix hovercolor not working in global tag (#9582)Pierre-Yves Rollo
2020-04-04Fix cursor still visible after closing formspec while on HyperText (#9583)Pierre-Yves Rollo
2020-03-31Fix GUI element click-through by changing visibility (#9534)DS
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.)
2020-03-26Hypertext: Fix alignment tags adding unwanted newlines (#9548)Pierre-Yves Rollo
2020-03-20Add comments for translators (#9510)Wuzzy
* Add translator comments for "special" strings * Add translator comments for some "tricky" strings
2020-03-16Fix mouse events sent to wrong GUI elements when draggingsfan5
2020-03-16Formspecs: Add starting frame to `animated_image` (#9411)v-rob
2020-03-11guiHyperText: Fix blinky cursor on link hover (#9392)SmallJoker
Change legacy size/position calculations to 'textarea'
2020-03-10Fix memory leak in GUIHyperText (#9489)DS
2020-03-10GUIFormSpecMenu: Remove field_close_on_enter warning (#9501)SmallJoker
2020-03-07GUIHyperText: Fix bug with UTF8 chars in action name + simplify UTF8 stringw ↵Jean-Patrick Guerrero
conversion (#9437) Co-authored-by: Pierre-Yves Rollo <dev@pyrollo.com>
2020-03-01Add multiple element selection to `style` and `style_type` (#9380)v-rob
2020-02-26GUIInventoryList: fix dropping items when clicking outside of formspec ↵DS
window (#9422)
2020-02-23Refactor Script API's log_deprecatedsfan5
2020-02-15Add animated_image[] formspec element (#9258)Hugues Ross
2020-02-14Key settings: Clear with escape (#8282)SmallJoker
Key ESCAPE -> Cancel change Key DELETE -> Remove entry
2020-02-01Formspec: Create a new class for inventorylists (#9287)DS
2020-01-26Add 9-slice background support to button formspec elements (#9290)Hugues Ross
2020-01-22StaticText/EnrichedString: Styling support (#9187)SmallJoker
* StaticText/EnrichedString: Styling support * Fix tooltip fg/bgcolor * Fix default color for substr(), add unittests
2020-01-22Formspec: Don't start a button click when the pointer isn't on top (#9332)Hugues Ross
2020-01-18Replace stray tab with whitespace in guiFormSpecMenu.cpp (#9317)ANAND
2020-01-16Make clipping of formspec elements more consistent (#9262)Hugues Ross
2020-01-11Formspec: change the appeareance of the cursor on fields and co. (#8665)DS
2020-01-04Formspec: Fix clicking on tooltip-obstructed elements (#9266)DS
2019-12-16Don't override the FGIMG style property if the image parameter is nullHugues Ross
2019-12-16Remove the dependency on FGIMG/BGIMG from the hovered/pressed variantsHugues Ross
- Make guiButtonImage support null images properly
2019-12-16StyleSpec: 0-initialize the property_set arrayHugues Ross
2019-12-14GUIFormSpecMenu: Fix legacy sorting using std::stable_sortSmallJoker
2019-12-09Fix spaces breaking formspec_version[] tagrubenwardy
2019-12-09Refactor to centralize GUIButton styling/rendering code (#9090)Hugues Ross
2019-12-09guiConfirmRegistration: Fix hidden error messageSmallJoker
2019-12-08Formspec: make bgcolor element less confusing and allow setting fullscreen ↵DS
color (#8996)
2019-12-06Fix failing build due to code style errorrubenwardy
2019-12-06Add scrollbaroptions FormSpec element (#8530)v-rob
2019-11-20Formspec: Fix priorities for version < 3 (#9121)SmallJoker
* Formspec: Fix priorities for version < 3 1) Introduce 'priority' to 'FieldSpec' 2) Sort elements based on 'priority' 3) Assign 'name' to the Item Image Button's image to show tooltips again
2019-11-07Formspec: draw order and clipping for all elements (#8740)DS
2019-11-03Android: Fix broken double-tap after 49 days uptimeSmallJoker
2019-11-03Clean up font caching, fix bitmap fontsSmallJoker
2019-11-03Formspec: add hypertext elementPierre-Yves Rollo
2019-10-24Change some rough/inappropriate language in comments (#9061)random-geek
2019-10-20Formspecs: Reset version number on rebuildSmallJoker