aboutsummaryrefslogtreecommitdiff
path: root/src/gui/StyleSpec.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* FormSpec: Add list spacing, slot size, and noclip (#10083)Vincent Robinson2021-01-231-15/+32
| | | | | | | | | * Add list spacing, slot size, and noclip * Simplify StyleSpec * Add test cases Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Add sound to press event of some formspecs elements (#10402)Pierre-Yves Rollo2020-11-231-0/+3
|
* Add gradients and borders to FormSpec boxes (#8676)v-rob2020-08-191-0/+64
|
* Add FormSpec font styling options (#9763)v-rob2020-07-121-0/+49
| | | | | | | * Add FormSpec font styling options * Change multiplication to stof * Remove extraneous check
* Add 'content_offset' and 'padding' style properties for buttons (#9661)Hugues Ross2020-05-021-0/+54
| | | | * Add padding and content_offset style properties to buttons
* Formspecs: Add state-selection to style elements (#9378)Hugues Ross2020-04-111-6/+59
|
* Add 9-slice background support to button formspec elements (#9290)Hugues Ross2020-01-261-0/+58
|
* StyleSpec: 0-initialize the property_set arrayHugues Ross2019-12-161-1/+1
|
* Refactor to centralize GUIButton styling/rendering code (#9090)Hugues Ross2019-12-091-0/+34
|
* Add more visual feedback for button states (#8916)Hugues Ross2019-10-121-0/+9
| | | | | | - 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)
* Add styles to most elementsrubenwardy2019-08-031-30/+63
|
* Add style[] tag with button supportrubenwardy2019-08-031-0/+102