summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-28 21:24:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-28 21:24:03 +0300
commit6ffd428383326c7b77e1b5e1777ae3a9f2e4156b (patch)
tree9c0dbb1c26f61713d09c3975a274974e02b0defe
parentb985de6e83790bd02bd63e3ed47a3a79592b08da (diff)
downloadmanaplus-6ffd428383326c7b77e1b5e1777ae3a9f2e4156b.tar.gz
manaplus-6ffd428383326c7b77e1b5e1777ae3a9f2e4156b.tar.bz2
manaplus-6ffd428383326c7b77e1b5e1777ae3a9f2e4156b.tar.xz
manaplus-6ffd428383326c7b77e1b5e1777ae3a9f2e4156b.zip
Replace "play" button text to image.
-rw-r--r--data/graphics/gui/CMakeLists.txt1
-rw-r--r--data/graphics/gui/Makefile.am1
-rw-r--r--data/graphics/gui/buttonplay.pngbin0 -> 272 bytes
-rw-r--r--src/gui/widgets/setupitem.cpp2
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
new file mode 100644
index 000000000..cd3a2c3db
--- /dev/null
+++ b/data/graphics/gui/buttonplay.png
Binary files differ
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);
}