diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-09 02:22:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-09 02:22:21 +0300 |
commit | aa7119314e1a33d908b98906d30be94eb116d02d (patch) | |
tree | a99092b16529937c20c6ec3a7d00d7f69eabfe35 /src/gui/windowmenu.cpp | |
parent | 0424b1383e3c07192b4493d5210b4384b5a69a75 (diff) | |
download | mv-aa7119314e1a33d908b98906d30be94eb116d02d.tar.gz mv-aa7119314e1a33d908b98906d30be94eb116d02d.tar.bz2 mv-aa7119314e1a33d908b98906d30be94eb116d02d.tar.xz mv-aa7119314e1a33d908b98906d30be94eb116d02d.zip |
Add skin parameter to all button constructors.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r-- | src/gui/windowmenu.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp index ad9da2433..15bb8df8a 100644 --- a/src/gui/windowmenu.cpp +++ b/src/gui/windowmenu.cpp @@ -282,7 +282,11 @@ void WindowMenu::addButton(const char *const text, const InputActionT key, const Visible visible) { - Button *const btn = new Button(this, gettext(text), text, this); + Button *const btn = new Button(this, + gettext(text), + text, + BUTTON_SKIN, + this); btn->setPosition(x, mPadding); btn->setDescription(description); btn->setTag(CAST_S32(key)); |