summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2025-03-31 15:34:22 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2025-03-31 16:56:38 +0200
commit49beab3c3415d40d9a1d4326474d16547c4ae9ac (patch)
tree7065a4dcca9089e711eeba2ef4206cbcd955f80c /data
parent83339662e47270f2b38e7430775090f409348ae2 (diff)
downloadmana-49beab3c3415d40d9a1d4326474d16547c4ae9ac.tar.gz
mana-49beab3c3415d40d9a1d4326474d16547c4ae9ac.tar.bz2
mana-49beab3c3415d40d9a1d4326474d16547c4ae9ac.tar.xz
mana-49beab3c3415d40d9a1d4326474d16547c4ae9ac.zip
GUI: Support customizing widget text format through theme
The following widgets now support setting the font, text color, outline color and shadow color through the theme: * Button * Tab * Window (title) * ProgressBar The text format can be specified differently per skin state.
Diffstat (limited to 'data')
-rw-r--r--data/graphics/gui/theme.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/data/graphics/gui/theme.xml b/data/graphics/gui/theme.xml
index d5dbb792..97480dad 100644
--- a/data/graphics/gui/theme.xml
+++ b/data/graphics/gui/theme.xml
@@ -2,10 +2,6 @@
<color id="TEXT" color="#000000" />
<color id="SHADOW" color="#000000" />
<color id="OUTLINE" color="#000000" />
- <color id="PROGRESS_BAR" color="#ffffff" />
- <color id="BUTTON" color="#000000" />
- <color id="BUTTON_DISABLED" color="#333333" />
- <color id="TAB" color="#000000" />
<color id="PARTY_CHAT_TAB" color="#f48055" />
<color id="PARTY_SOCIAL_TAB" color="#ff00d8" />
<color id="BACKGROUND" color="#ffffff" />
@@ -71,6 +67,7 @@
</skin>
<skin type="Button" padding="4">
<state disabled="true">
+ <text color="#333333" />
<img src="button_disabled.png" left="10" right="10" top="5" bottom="5" />
</state>
<state selected="true">
@@ -185,6 +182,7 @@
</skin>
<skin type="ProgressBar">
<state>
+ <text color="#ffffff" outlineColor="#000000"/>
<img src="vscroll_grey.png" left="4" right="4" top="4" bottom="4" fill="repeat" />
</state>
</skin>