diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-13 01:20:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-13 01:20:14 +0300 |
commit | 49549db4517dd7f1ec1d66626578296f5524517b (patch) | |
tree | 8914d1194881537d5dabaf19cd253fe9969a87fa | |
parent | c5151e4f593a688d2af71169c44b688f6e67c999 (diff) | |
download | manaverse-49549db4517dd7f1ec1d66626578296f5524517b.tar.gz manaverse-49549db4517dd7f1ec1d66626578296f5524517b.tar.bz2 manaverse-49549db4517dd7f1ec1d66626578296f5524517b.tar.xz manaverse-49549db4517dd7f1ec1d66626578296f5524517b.zip |
Change avatar list box theming.
-rw-r--r-- | data/graphics/gui/CMakeLists.txt | 4 | ||||
-rw-r--r-- | data/graphics/gui/Makefile.am | 4 | ||||
-rw-r--r-- | data/graphics/gui/circle-gray.png | bin | 300 -> 0 bytes | |||
-rw-r--r-- | data/graphics/gui/circle-green.png | bin | 328 -> 0 bytes | |||
-rw-r--r-- | data/graphics/gui/circle-off.xml | 5 | ||||
-rw-r--r-- | data/graphics/gui/circle-on.xml | 5 | ||||
-rw-r--r-- | data/graphics/gui/window.png | bin | 14682 -> 15332 bytes | |||
-rw-r--r-- | src/gui/widgets/avatarlistbox.cpp | 4 |
8 files changed, 16 insertions, 6 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt index 00acf90f9..a8be383b2 100644 --- a/data/graphics/gui/CMakeLists.txt +++ b/data/graphics/gui/CMakeLists.txt @@ -6,8 +6,8 @@ SET (FILES button_pressed.xml buttonplay.png checkbox.png - circle-gray.png - circle-green.png + circle-off.xml + circle-on.xml colors.xml dropdown.xml dropdown_background.xml diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am index 1567f2752..7cd231eae 100644 --- a/data/graphics/gui/Makefile.am +++ b/data/graphics/gui/Makefile.am @@ -9,8 +9,8 @@ gui_DATA = \ button_pressed.xml \ buttonplay.png \ checkbox.png \ - circle-gray.png \ - circle-green.png \ + circle-off.xml \ + circle-on.xml \ colors.xml \ dropdown.xml \ dropdown_background.xml \ diff --git a/data/graphics/gui/circle-gray.png b/data/graphics/gui/circle-gray.png Binary files differdeleted file mode 100644 index 3e884f405..000000000 --- a/data/graphics/gui/circle-gray.png +++ /dev/null diff --git a/data/graphics/gui/circle-green.png b/data/graphics/gui/circle-green.png Binary files differdeleted file mode 100644 index 2c98e9ef1..000000000 --- a/data/graphics/gui/circle-green.png +++ /dev/null diff --git a/data/graphics/gui/circle-off.xml b/data/graphics/gui/circle-off.xml new file mode 100644 index 000000000..8d35ab4f2 --- /dev/null +++ b/data/graphics/gui/circle-off.xml @@ -0,0 +1,5 @@ +<skinset name="Default" image="window.png"> + <widget type="Window"> + <part type="standart" xpos="105" ypos="164" width="16" height="16" /> + </widget> +</skinset> diff --git a/data/graphics/gui/circle-on.xml b/data/graphics/gui/circle-on.xml new file mode 100644 index 000000000..4afe34024 --- /dev/null +++ b/data/graphics/gui/circle-on.xml @@ -0,0 +1,5 @@ +<skinset name="Default" image="window.png"> + <widget type="Window"> + <part type="standart" xpos="89" ypos="164" width="16" height="16" /> + </widget> +</skinset> diff --git a/data/graphics/gui/window.png b/data/graphics/gui/window.png Binary files differindex 5eeb95ab5..477602fa6 100644 --- a/data/graphics/gui/window.png +++ b/data/graphics/gui/window.png diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp index 377ddac2c..c648c56dd 100644 --- a/src/gui/widgets/avatarlistbox.cpp +++ b/src/gui/widgets/avatarlistbox.cpp @@ -57,8 +57,8 @@ AvatarListBox::AvatarListBox(AvatarListModel *model): if (instances == 1) { - onlineIcon = Theme::getImageFromTheme("circle-green.png"); - offlineIcon = Theme::getImageFromTheme("circle-gray.png"); + onlineIcon = Theme::getImageFromThemeXml("circle-on.xml"); + offlineIcon = Theme::getImageFromThemeXml("circle-off.xml"); } setWidth(200); |