aboutsummaryrefslogtreecommitdiff
path: root/src/gui/guiFormSpecMenu.cpp
AgeCommit message (Collapse)Author
2020-05-09Always use same default tabheader height (#9319)Paul Ouellette
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.
2020-05-06FormSpec: Add universal style selector `*` (#9718)v-rob
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-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-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-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-01Add multiple element selection to `style` and `style_type` (#9380)v-rob
2020-02-23Refactor Script API's log_deprecatedsfan5
2020-02-15Add animated_image[] formspec element (#9258)Hugues Ross
2020-02-01Formspec: Create a new class for inventorylists (#9287)DS
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-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-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-08Formspec: make bgcolor element less confusing and allow setting fullscreen ↵DS
color (#8996)
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-03Formspec: add hypertext elementPierre-Yves Rollo
2019-10-20Formspecs: Reset version number on rebuildSmallJoker
2019-10-12Add more visual feedback for button states (#8916)Hugues Ross
- Add style properties for overriding the the hovered/pressed state - By default, hovered buttons are a lighter version of the base color - By default, pressed buttons are a darker version of the base color - Add hovered bg image support for image buttons (style property)
2019-10-06Revert "Fix the bgcolor formspec element (#8716)" (#9018)SmallJoker
This reverts commit 1db3d252cff9e8d61fecf1052d7497813851da51. Temporary solution until a compatible solution is found to define both - formspec and fullscreen backgrounds.
2019-09-29label[]: Fix broken colors since 2c9edefSmallJoker
2019-09-29Fix error message caused by adding new parameter to background (#8922)rubenwardy
Adds background9[] element to keep backwards compatibility in formspec prepends.
2019-09-24Fix some reference counters (memleak) (#8981)SmallJoker
Fix some reference counters (memleak) Map::dispatchEvent: Allocation safety using references
2019-09-15Fix the bgcolor formspec element (#8716)DS
2019-09-15Fix formspec version backup in prepends losing datarubenwardy
2019-09-14Formspecs: Introduce formspec_version to modsSmallJoker
2019-09-07label[]: Fix cut-off translated textSmallJoker
2019-08-24Add ItemStack:get_description() to get tooltip (#8847)Paul Ouellette
2019-08-03Add formspec testing to test mod in minimalrubenwardy
2019-08-03Add styles to most elementsrubenwardy
2019-08-03Add style[] tag with button supportrubenwardy
2019-08-03Add custom colorable GUIButton implementationrubenwardy
2019-08-03Fix negative offsets not being supported by container[]rubenwardy