diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-01 15:08:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-01 15:08:30 +0300 |
commit | cdb069409c514a1cec196c2e90ec2f97a5b6753f (patch) | |
tree | a12adb49b01dec757e826ffe547fedc8b16bc29a /data/graphics | |
parent | 020c5e1b6abd52135a3b87fc38238498d7ac6e3d (diff) | |
download | manaplus-cdb069409c514a1cec196c2e90ec2f97a5b6753f.tar.gz manaplus-cdb069409c514a1cec196c2e90ec2f97a5b6753f.tar.bz2 manaplus-cdb069409c514a1cec196c2e90ec2f97a5b6753f.tar.xz manaplus-cdb069409c514a1cec196c2e90ec2f97a5b6753f.zip |
Add support for theming in bars in top left corner.
New theme options in ministatus.xml:
padding - border padding
spacing - space between buttons
iconPadding - padding for icons
iconSpacing - space between icons
Diffstat (limited to 'data/graphics')
-rw-r--r-- | data/graphics/gui/CMakeLists.txt | 1 | ||||
-rw-r--r-- | data/graphics/gui/Makefile.am | 1 | ||||
-rw-r--r-- | data/graphics/gui/ministatus.xml | 9 |
3 files changed, 11 insertions, 0 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt index f0244d697..f8559824a 100644 --- a/data/graphics/gui/CMakeLists.txt +++ b/data/graphics/gui/CMakeLists.txt @@ -35,6 +35,7 @@ SET (FILES keyboard_icon.xml label.xml listbox.xml + ministatus.xml mouse.png ok.xml playerbox.xml diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am index c691404e9..6aedbc32d 100644 --- a/data/graphics/gui/Makefile.am +++ b/data/graphics/gui/Makefile.am @@ -38,6 +38,7 @@ gui_DATA = \ keyboard_icon.xml \ label.xml \ listbox.xml \ + ministatus.xml \ mouse.png \ ok.xml \ playerbox.xml \ diff --git a/data/graphics/gui/ministatus.xml b/data/graphics/gui/ministatus.xml new file mode 100644 index 000000000..1e585d844 --- /dev/null +++ b/data/graphics/gui/ministatus.xml @@ -0,0 +1,9 @@ +<skinset name="Default" image="window.png"> + <widget type="Window"> + <option name="padding" value="1" /> + <option name="spacing" value="1" /> + + <option name="iconPadding" value="3" /> + <option name="iconSpacing" value="2" /> + </widget> +</skinset> |