diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-28 21:24:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-28 21:24:03 +0300 |
commit | 6ffd428383326c7b77e1b5e1777ae3a9f2e4156b (patch) | |
tree | 9c0dbb1c26f61713d09c3975a274974e02b0defe | |
parent | b985de6e83790bd02bd63e3ed47a3a79592b08da (diff) | |
download | plus-6ffd428383326c7b77e1b5e1777ae3a9f2e4156b.tar.gz plus-6ffd428383326c7b77e1b5e1777ae3a9f2e4156b.tar.bz2 plus-6ffd428383326c7b77e1b5e1777ae3a9f2e4156b.tar.xz plus-6ffd428383326c7b77e1b5e1777ae3a9f2e4156b.zip |
Replace "play" button text to image.
-rw-r--r-- | data/graphics/gui/CMakeLists.txt | 1 | ||||
-rw-r--r-- | data/graphics/gui/Makefile.am | 1 | ||||
-rw-r--r-- | data/graphics/gui/buttonplay.png | bin | 0 -> 272 bytes | |||
-rw-r--r-- | src/gui/widgets/setupitem.cpp | 2 |
4 files changed, 3 insertions, 1 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt index aba42b39c..b262a5ac3 100644 --- a/data/graphics/gui/CMakeLists.txt +++ b/data/graphics/gui/CMakeLists.txt @@ -3,6 +3,7 @@ SET (FILES button.png button_disabled.png buttonhi.png + buttonplay.png buttonpress.png checkbox.png circle-gray.png diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am index 7fb82f545..6f294fa45 100644 --- a/data/graphics/gui/Makefile.am +++ b/data/graphics/gui/Makefile.am @@ -6,6 +6,7 @@ gui_DATA = \ button.png \ button_disabled.png \ buttonhi.png \ + buttonplay.png \ buttonpress.png \ checkbox.png \ circle-gray.png \ diff --git a/data/graphics/gui/buttonplay.png b/data/graphics/gui/buttonplay.png Binary files differnew file mode 100644 index 000000000..cd3a2c3db --- /dev/null +++ b/data/graphics/gui/buttonplay.png diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp index 9eedfd58d..7c15ea785 100644 --- a/src/gui/widgets/setupitem.cpp +++ b/src/gui/widgets/setupitem.cpp @@ -971,7 +971,7 @@ SetupItemSound::SetupItemSound(std::string text, std::string description, void SetupItemSound::addMoreControls() { - mButton = new Button(_("Play"), mEventName + "_PLAY", this); + mButton = new Button(BUTTON_PLAY, 16, 16, mEventName + "_PLAY", this); mHorizont->add(mButton); } |