summaryrefslogtreecommitdiff
path: root/data/graphics/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-14 01:36:25 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-14 13:30:24 +0300
commitc23959e3c40e97f9c1aeb9eabc52131b6fa68f2a (patch)
treef9929a081b3479bcc1f515aac0a11bbc3cbc111a /data/graphics/gui
parentccf90e41053bf1a327939cad1082be05c15a8cde (diff)
downloadplus-c23959e3c40e97f9c1aeb9eabc52131b6fa68f2a.tar.gz
plus-c23959e3c40e97f9c1aeb9eabc52131b6fa68f2a.tar.bz2
plus-c23959e3c40e97f9c1aeb9eabc52131b6fa68f2a.tar.xz
plus-c23959e3c40e97f9c1aeb9eabc52131b6fa68f2a.zip
Add new parameters to buttons theming.
New parameters: padding - padding over button text. spacing - space between text and image.
Diffstat (limited to 'data/graphics/gui')
-rw-r--r--data/graphics/gui/button.xml3
-rw-r--r--data/graphics/gui/button_disabled.xml3
-rw-r--r--data/graphics/gui/button_highlighted.xml3
-rw-r--r--data/graphics/gui/button_pressed.xml3
4 files changed, 12 insertions, 0 deletions
diff --git a/data/graphics/gui/button.xml b/data/graphics/gui/button.xml
index 899030820..95ac8d7f2 100644
--- a/data/graphics/gui/button.xml
+++ b/data/graphics/gui/button.xml
@@ -1,5 +1,8 @@
<skinset name="Default" image="window.png">
<widget type="Window" xpos="41" ypos="0">
+ <option name="padding" value="4" />
+ <option name="spacing" value="2" />
+
<!-- Top Row -->
<part type="top-left-corner" xpos="0" ypos="0" width="10" height="5" />
<part type="top-edge" xpos="9" ypos="0" width="8" height="5" />
diff --git a/data/graphics/gui/button_disabled.xml b/data/graphics/gui/button_disabled.xml
index 8194bf4d5..0aaa0cb7a 100644
--- a/data/graphics/gui/button_disabled.xml
+++ b/data/graphics/gui/button_disabled.xml
@@ -1,5 +1,8 @@
<skinset name="Default" image="window.png">
<widget type="Window" xpos="41" ypos="75">
+ <option name="padding" value="4" />
+ <option name="spacing" value="2" />
+
<!-- Top Row -->
<part type="top-left-corner" xpos="0" ypos="0" width="10" height="5" />
<part type="top-edge" xpos="9" ypos="0" width="8" height="5" />
diff --git a/data/graphics/gui/button_highlighted.xml b/data/graphics/gui/button_highlighted.xml
index 356cee5ce..13aa8cb62 100644
--- a/data/graphics/gui/button_highlighted.xml
+++ b/data/graphics/gui/button_highlighted.xml
@@ -1,5 +1,8 @@
<skinset name="Default" image="window.png">
<widget type="Window" xpos="41" ypos="25">
+ <option name="padding" value="4" />
+ <option name="spacing" value="2" />
+
<!-- Top Row -->
<part type="top-left-corner" xpos="0" ypos="0" width="10" height="5" />
<part type="top-edge" xpos="9" ypos="0" width="8" height="5" />
diff --git a/data/graphics/gui/button_pressed.xml b/data/graphics/gui/button_pressed.xml
index bd9de9e28..c5e400aec 100644
--- a/data/graphics/gui/button_pressed.xml
+++ b/data/graphics/gui/button_pressed.xml
@@ -1,5 +1,8 @@
<skinset name="Default" image="window.png">
<widget type="Window" xpos="41" ypos="50">
+ <option name="padding" value="4" />
+ <option name="spacing" value="2" />
+
<!-- Top Row -->
<part type="top-left-corner" xpos="0" ypos="0" width="10" height="5" />
<part type="top-edge" xpos="9" ypos="0" width="8" height="5" />