summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-15 20:51:47 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-15 20:51:47 +0300
commit8b162cba1ae30c00cb875b24fe12e4d60307ba55 (patch)
tree78e1357759558265de6cede5abeef0c250eaebe0
parentdb3b43538aae3ce9762de81295bc24f8eb53f016 (diff)
downloadmanaplus-8b162cba1ae30c00cb875b24fe12e4d60307ba55.tar.gz
manaplus-8b162cba1ae30c00cb875b24fe12e4d60307ba55.tar.bz2
manaplus-8b162cba1ae30c00cb875b24fe12e4d60307ba55.tar.xz
manaplus-8b162cba1ae30c00cb875b24fe12e4d60307ba55.zip
Add theme files for skill rectangle listbox.
-rw-r--r--data/graphics/gui/CMakeLists.txt1
-rw-r--r--data/graphics/gui/Makefile.am1
-rw-r--r--data/graphics/gui/skillrectanglelistbox.xml12
-rw-r--r--data/themes/golden-delicious/CMakeLists.txt1
-rw-r--r--data/themes/golden-delicious/Makefile.am1
-rw-r--r--data/themes/golden-delicious/skillrectanglelistbox.xml12
-rw-r--r--data/themes/jewelry/CMakeLists.txt1
-rw-r--r--data/themes/jewelry/Makefile.am1
-rw-r--r--data/themes/jewelry/skillrectanglelistbox.xml12
-rw-r--r--src/gui/widgets/skillrectanglelistbox.h5
10 files changed, 46 insertions, 1 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt
index 578d28c87..949865b36 100644
--- a/data/graphics/gui/CMakeLists.txt
+++ b/data/graphics/gui/CMakeLists.txt
@@ -69,6 +69,7 @@ SET (FILES
sell.xml
server.xml
shop.xml
+ skillrectanglelistbox.xml
slider.xml
slider_highlighted.xml
speechbrowserbox.xml
diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am
index ca2f97780..0118a87fa 100644
--- a/data/graphics/gui/Makefile.am
+++ b/data/graphics/gui/Makefile.am
@@ -72,6 +72,7 @@ gui_DATA = \
sell.xml \
server.xml \
shop.xml \
+ skillrectanglelistbox.xml \
slider.xml \
slider_highlighted.xml \
speechbrowserbox.xml \
diff --git a/data/graphics/gui/skillrectanglelistbox.xml b/data/graphics/gui/skillrectanglelistbox.xml
new file mode 100644
index 000000000..d879933a2
--- /dev/null
+++ b/data/graphics/gui/skillrectanglelistbox.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<skinset name="Default" image="window.png">
+ <widget type="Window">
+ <option name="padding" value="1" />
+ <option name="boxWidth" value="80" />
+ <option name="boxHeight" value="70" />
+ <option name="iconXOffset" value="24" />
+ <option name="iconYOffset" value="10" />
+ <option name="textXOffset" value="0" />
+ <option name="textYOffset" value="44" />
+ </widget>
+</skinset>
diff --git a/data/themes/golden-delicious/CMakeLists.txt b/data/themes/golden-delicious/CMakeLists.txt
index aa249bc68..0bee77ba7 100644
--- a/data/themes/golden-delicious/CMakeLists.txt
+++ b/data/themes/golden-delicious/CMakeLists.txt
@@ -99,6 +99,7 @@ SET (FILES
shop.xml
skilllistbox.xml
skillpopup.xml
+ skillrectanglelistbox.xml
slider_highlighted.xml
slider.xml
social.xml
diff --git a/data/themes/golden-delicious/Makefile.am b/data/themes/golden-delicious/Makefile.am
index 1b34c747d..c95d6c8ae 100644
--- a/data/themes/golden-delicious/Makefile.am
+++ b/data/themes/golden-delicious/Makefile.am
@@ -101,6 +101,7 @@ gui_DATA = \
shoplistbox.xml \
skilllistbox.xml \
skillpopup.xml \
+ skillrectanglelistbox.xml \
slider.xml \
slider_highlighted.xml \
social.xml \
diff --git a/data/themes/golden-delicious/skillrectanglelistbox.xml b/data/themes/golden-delicious/skillrectanglelistbox.xml
new file mode 100644
index 000000000..f90e6f394
--- /dev/null
+++ b/data/themes/golden-delicious/skillrectanglelistbox.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<skinset name="Default" image="window.png">
+ <widget type="Window">
+ <option name="padding" value="8" />
+ <option name="boxWidth" value="90" />
+ <option name="boxHeight" value="80" />
+ <option name="iconXOffset" value="29" />
+ <option name="iconYOffset" value="15" />
+ <option name="textXOffset" value="0" />
+ <option name="textYOffset" value="49" />
+ </widget>
+</skinset>
diff --git a/data/themes/jewelry/CMakeLists.txt b/data/themes/jewelry/CMakeLists.txt
index 34877931f..fa12f16aa 100644
--- a/data/themes/jewelry/CMakeLists.txt
+++ b/data/themes/jewelry/CMakeLists.txt
@@ -98,6 +98,7 @@ SET (FILES
shoplistbox.xml
skilllistbox.xml
skillpopup.xml
+ skillrectanglelistbox.xml
slider.xml
slider_highlighted.xml
social.xml
diff --git a/data/themes/jewelry/Makefile.am b/data/themes/jewelry/Makefile.am
index 2dbff59ab..9588a9be1 100644
--- a/data/themes/jewelry/Makefile.am
+++ b/data/themes/jewelry/Makefile.am
@@ -101,6 +101,7 @@ gui_DATA = \
shoplistbox.xml \
skilllistbox.xml \
skillpopup.xml \
+ skillrectanglelistbox.xml \
slider.xml \
slider_highlighted.xml \
social.xml \
diff --git a/data/themes/jewelry/skillrectanglelistbox.xml b/data/themes/jewelry/skillrectanglelistbox.xml
new file mode 100644
index 000000000..f90e6f394
--- /dev/null
+++ b/data/themes/jewelry/skillrectanglelistbox.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<skinset name="Default" image="window.png">
+ <widget type="Window">
+ <option name="padding" value="8" />
+ <option name="boxWidth" value="90" />
+ <option name="boxHeight" value="80" />
+ <option name="iconXOffset" value="29" />
+ <option name="iconYOffset" value="15" />
+ <option name="textXOffset" value="0" />
+ <option name="textYOffset" value="49" />
+ </widget>
+</skinset>
diff --git a/src/gui/widgets/skillrectanglelistbox.h b/src/gui/widgets/skillrectanglelistbox.h
index 68f9f6f85..584e2208c 100644
--- a/src/gui/widgets/skillrectanglelistbox.h
+++ b/src/gui/widgets/skillrectanglelistbox.h
@@ -76,7 +76,10 @@ class SkillRectangleListBox final : public Widget,
mSkillClicked(false)
{
if (theme)
- mSkin = theme->load("listbox.xml", "");
+ {
+ mSkin = theme->load("skillrectanglelistbox.xml",
+ "listbox.xml");
+ }
if (mSkin)
{