summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-09 02:22:21 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-09 02:22:21 +0300
commitaa7119314e1a33d908b98906d30be94eb116d02d (patch)
treea99092b16529937c20c6ec3a7d00d7f69eabfe35 /src/progs
parent0424b1383e3c07192b4493d5210b4384b5a69a75 (diff)
downloadmanaplus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.gz
manaplus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.bz2
manaplus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.xz
manaplus-aa7119314e1a33d908b98906d30be94eb116d02d.zip
Add skin parameter to all button constructors.
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/dyecmd/client.cpp14
-rw-r--r--src/progs/manaplus/client.cpp14
2 files changed, 14 insertions, 14 deletions
diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp
index 353d4718f..6d1ea8105 100644
--- a/src/progs/dyecmd/client.cpp
+++ b/src/progs/dyecmd/client.cpp
@@ -543,26 +543,26 @@ void Client::stateGame()
int x = top->getWidth() - mButtonPadding;
ADDBUTTON(mSetupButton, new Button(desktop,
// TRANSLATORS: setup tab quick button
- _("Setup"), "Setup", this))
+ _("Setup"), "Setup", BUTTON_SKIN, this))
ADDBUTTON(mPerfomanceButton, new Button(desktop,
// TRANSLATORS: perfoamance tab quick button
- _("Performance"), "Perfomance", this))
+ _("Performance"), "Perfomance", BUTTON_SKIN, this))
ADDBUTTON(mVideoButton, new Button(desktop,
// TRANSLATORS: video tab quick button
- _("Video"), "Video", this))
+ _("Video"), "Video", BUTTON_SKIN, this))
ADDBUTTON(mThemesButton, new Button(desktop,
// TRANSLATORS: theme tab quick button
- _("Theme"), "Themes", this))
+ _("Theme"), "Themes", BUTTON_SKIN, this))
ADDBUTTON(mAboutButton, new Button(desktop,
// TRANSLATORS: theme tab quick button
- _("About"), "about", this))
+ _("About"), "about", BUTTON_SKIN, this))
ADDBUTTON(mHelpButton, new Button(desktop,
// TRANSLATORS: theme tab quick button
- _("Help"), "help", this))
+ _("Help"), "help", BUTTON_SKIN, this))
#ifdef ANDROID
ADDBUTTON(mCloseButton, new Button(desktop,
// TRANSLATORS: close quick button
- _("Close"), "close", this))
+ _("Close"), "close", BUTTON_SKIN, this))
#endif // ANDROID
desktop->setSize(mainGraphics->getWidth(),
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp
index 4b9132b53..f2c381896 100644
--- a/src/progs/manaplus/client.cpp
+++ b/src/progs/manaplus/client.cpp
@@ -901,26 +901,26 @@ void Client::stateGame1()
int x = top->getWidth() - mButtonPadding;
ADDBUTTON(mSetupButton, new Button(desktop,
// TRANSLATORS: setup tab quick button
- _("Setup"), "Setup", this))
+ _("Setup"), "Setup", BUTTON_SKIN, this))
ADDBUTTON(mPerfomanceButton, new Button(desktop,
// TRANSLATORS: perfoamance tab quick button
- _("Performance"), "Perfomance", this))
+ _("Performance"), "Perfomance", BUTTON_SKIN, this))
ADDBUTTON(mVideoButton, new Button(desktop,
// TRANSLATORS: video tab quick button
- _("Video"), "Video", this))
+ _("Video"), "Video", BUTTON_SKIN, this))
ADDBUTTON(mThemesButton, new Button(desktop,
// TRANSLATORS: theme tab quick button
- _("Theme"), "Themes", this))
+ _("Theme"), "Themes", BUTTON_SKIN, this))
ADDBUTTON(mAboutButton, new Button(desktop,
// TRANSLATORS: theme tab quick button
- _("About"), "about", this))
+ _("About"), "about", BUTTON_SKIN, this))
ADDBUTTON(mHelpButton, new Button(desktop,
// TRANSLATORS: theme tab quick button
- _("Help"), "help", this))
+ _("Help"), "help", BUTTON_SKIN, this))
#ifdef ANDROID
ADDBUTTON(mCloseButton, new Button(desktop,
// TRANSLATORS: close quick button
- _("Close"), "close", this))
+ _("Close"), "close", BUTTON_SKIN, this))
#endif // ANDROID
desktop->setSize(mainGraphics->getWidth(),