summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-12 22:43:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-13 00:20:30 +0300
commit262ce6d0ee2737e8d24914e4ed35c29cc335060b (patch)
treef539503bcc7880e5138201e32c08853836a55ee8 /data
parent1bff74b3a86602ba62f3eba2e482436418975432 (diff)
downloadplus-262ce6d0ee2737e8d24914e4ed35c29cc335060b.tar.gz
plus-262ce6d0ee2737e8d24914e4ed35c29cc335060b.tar.bz2
plus-262ce6d0ee2737e8d24914e4ed35c29cc335060b.tar.xz
plus-262ce6d0ee2737e8d24914e4ed35c29cc335060b.zip
Add theming support for background for scrollbars.
By default background is transparent.
Diffstat (limited to 'data')
-rw-r--r--data/graphics/gui/CMakeLists.txt2
-rw-r--r--data/graphics/gui/Makefile.am2
-rw-r--r--data/graphics/gui/scroll_hbackground.xml12
-rw-r--r--data/graphics/gui/scroll_vbackground.xml13
4 files changed, 29 insertions, 0 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt
index f0e54313d..46a1db548 100644
--- a/data/graphics/gui/CMakeLists.txt
+++ b/data/graphics/gui/CMakeLists.txt
@@ -32,7 +32,9 @@ SET (FILES
resize.xml
scroll.xml
scroll_background.xml
+ scroll_hbackground.xml
scroll_highlighted.xml
+ scroll_vbackground.xml
scrollbuttons.xml
scrollbuttons_pressed.xml
sell.xml
diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am
index 824d7644f..bae374b8e 100644
--- a/data/graphics/gui/Makefile.am
+++ b/data/graphics/gui/Makefile.am
@@ -35,7 +35,9 @@ gui_DATA = \
resize.xml \
scroll.xml \
scroll_background.xml \
+ scroll_hbackground.xml \
scroll_highlighted.xml \
+ scroll_vbackground.xml \
scrollbuttons.xml \
scrollbuttons_pressed.xml\
sell.xml \
diff --git a/data/graphics/gui/scroll_hbackground.xml b/data/graphics/gui/scroll_hbackground.xml
new file mode 100644
index 000000000..d8f9f6168
--- /dev/null
+++ b/data/graphics/gui/scroll_hbackground.xml
@@ -0,0 +1,12 @@
+<skinset name="Default" image="window.png">
+ <widget type="Window" xpos="135" ypos="164">
+ <!-- Left Row -->
+ <part type="left-edge" xpos="0" ypos="0" width="6" height="12" />
+
+ <!-- Middle Row -->
+ <part type="bg-quad" xpos="6" ypos="0" width="6" height="12" />
+
+ <!-- Right Row -->
+ <part type="right-edge" xpos="12" ypos="0" width="6" height="12" />
+ </widget>
+</skinset>
diff --git a/data/graphics/gui/scroll_vbackground.xml b/data/graphics/gui/scroll_vbackground.xml
new file mode 100644
index 000000000..69566c35f
--- /dev/null
+++ b/data/graphics/gui/scroll_vbackground.xml
@@ -0,0 +1,13 @@
+<skinset name="Default" image="window.png">
+ <widget type="Window" xpos="121" ypos="164">
+
+ <!-- Top Row -->
+ <part type="top-edge" xpos="0" ypos="0" width="12" height="6" />
+
+ <!-- Middle Row -->
+ <part type="bg-quad" xpos="0" ypos="6" width="12" height="6" />
+
+ <!-- Bottom Row -->
+ <part type="bottom-edge" xpos="0" ypos="12" width="12" height="6" />
+ </widget>
+</skinset>