diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-10-23 13:56:55 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2025-03-14 13:53:08 +0100 |
commit | 2a8355942f7e4127ac911588c9893b4d6c5a82f8 (patch) | |
tree | 3255906c9f91e267f8758e6742bc65b843210889 /data/graphics/gui/sticky_button.png | |
parent | 79e4325192f3260ed4ded264e43da8429650bf72 (diff) | |
download | mana-master.tar.gz mana-master.tar.bz2 mana-master.tar.xz mana-master.zip |
This is cleaner overall since now each widget type no longer needs to
keep track of its own instances and updating of the GUI alpha. It also
introduces a single point from where the GUI theme support can be
enhanced.
Theme is no longer a singleton, though for now there is a single
instance owned by the Gui singleton.
Widgets adjusted to delegate their painting to the Theme:
* Button
* Tab
* TextField
* CheckBox
* RadioButton
* Slider
* DropDown
* ProgressBar
* ScrollArea
* ResizeGrip
* PlayerBox (by subclassing ScrollArea)
The Window and Popup widgets already use the theme through the Skin
class. They can actually use a different skin per instance, though this
feature is only used by the SpeechBubble.
Diffstat (limited to 'data/graphics/gui/sticky_button.png')
0 files changed, 0 insertions, 0 deletions