From 960820b57ecf45a4bf5e337bf36adbe02e668fbf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 8 Jul 2012 13:48:58 +0300 Subject: Improve theming. Add support for theming button. --- data/graphics/gui/CMakeLists.txt | 5 +---- data/graphics/gui/Makefile.am | 5 +---- data/graphics/gui/button.png | Bin 374 -> 0 bytes data/graphics/gui/button.xml | 18 ++++++++++++++++++ data/graphics/gui/button_disabled.png | Bin 313 -> 0 bytes data/graphics/gui/button_disabled.xml | 18 ++++++++++++++++++ data/graphics/gui/button_highlighted.xml | 18 ++++++++++++++++++ data/graphics/gui/button_pressed.xml | 18 ++++++++++++++++++ data/graphics/gui/buttonhi.png | Bin 374 -> 0 bytes data/graphics/gui/buttonpress.png | Bin 377 -> 0 bytes data/graphics/gui/window.png | Bin 3410 -> 4857 bytes 11 files changed, 74 insertions(+), 8 deletions(-) delete mode 100644 data/graphics/gui/button.png create mode 100644 data/graphics/gui/button.xml delete mode 100644 data/graphics/gui/button_disabled.png create mode 100644 data/graphics/gui/button_disabled.xml create mode 100644 data/graphics/gui/button_highlighted.xml create mode 100644 data/graphics/gui/button_pressed.xml delete mode 100644 data/graphics/gui/buttonhi.png delete mode 100644 data/graphics/gui/buttonpress.png (limited to 'data/graphics/gui') diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt index b262a5ac3..2fefbfe6c 100644 --- a/data/graphics/gui/CMakeLists.txt +++ b/data/graphics/gui/CMakeLists.txt @@ -1,10 +1,7 @@ SET (FILES bubble.png - button.png - button_disabled.png - buttonhi.png + button.xml buttonplay.png - buttonpress.png checkbox.png circle-gray.png circle-green.png diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am index 6f294fa45..0e3e13a1e 100644 --- a/data/graphics/gui/Makefile.am +++ b/data/graphics/gui/Makefile.am @@ -3,11 +3,8 @@ guidir = $(pkgdatadir)/data/graphics/gui gui_DATA = \ bubble.png \ - button.png \ - button_disabled.png \ - buttonhi.png \ + button.xml \ buttonplay.png \ - buttonpress.png \ checkbox.png \ circle-gray.png \ circle-green.png \ diff --git a/data/graphics/gui/button.png b/data/graphics/gui/button.png deleted file mode 100644 index 9ebbea639..000000000 Binary files a/data/graphics/gui/button.png and /dev/null differ diff --git a/data/graphics/gui/button.xml b/data/graphics/gui/button.xml new file mode 100644 index 000000000..899030820 --- /dev/null +++ b/data/graphics/gui/button.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/graphics/gui/button_disabled.png b/data/graphics/gui/button_disabled.png deleted file mode 100644 index 0ce3aa6ff..000000000 Binary files a/data/graphics/gui/button_disabled.png and /dev/null differ diff --git a/data/graphics/gui/button_disabled.xml b/data/graphics/gui/button_disabled.xml new file mode 100644 index 000000000..8194bf4d5 --- /dev/null +++ b/data/graphics/gui/button_disabled.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/graphics/gui/button_highlighted.xml b/data/graphics/gui/button_highlighted.xml new file mode 100644 index 000000000..356cee5ce --- /dev/null +++ b/data/graphics/gui/button_highlighted.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/graphics/gui/button_pressed.xml b/data/graphics/gui/button_pressed.xml new file mode 100644 index 000000000..bd9de9e28 --- /dev/null +++ b/data/graphics/gui/button_pressed.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/data/graphics/gui/buttonhi.png b/data/graphics/gui/buttonhi.png deleted file mode 100644 index c47726346..000000000 Binary files a/data/graphics/gui/buttonhi.png and /dev/null differ diff --git a/data/graphics/gui/buttonpress.png b/data/graphics/gui/buttonpress.png deleted file mode 100644 index e9cd17653..000000000 Binary files a/data/graphics/gui/buttonpress.png and /dev/null differ diff --git a/data/graphics/gui/window.png b/data/graphics/gui/window.png index f0ef1af4b..a0d5da63c 100644 Binary files a/data/graphics/gui/window.png and b/data/graphics/gui/window.png differ -- cgit v1.2.3-60-g2f50