| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
open (#9700)
Fixes #9640.
|
|
|
|
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.
|
|
Activated using F5
|
|
|
|
Fixes #9634
|
|
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.)
|
|
|
|
|
|
Change legacy size/position calculations to 'textarea'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* StaticText/EnrichedString: Styling support
* Fix tooltip fg/bgcolor
* Fix default color for substr(), add unittests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
color (#8996)
|
|
|
|
* 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
|
|
|
|
|
|
|
|
- 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)
|
|
This reverts commit 1db3d252cff9e8d61fecf1052d7497813851da51.
Temporary solution until a compatible solution is found to define both - formspec and fullscreen backgrounds.
|
|
|
|
Adds background9[] element to keep backwards compatibility in formspec prepends.
|
|
Fix some reference counters (memleak)
Map::dispatchEvent: Allocation safety using references
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|