From aa7119314e1a33d908b98906d30be94eb116d02d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Mar 2018 02:22:21 +0300 Subject: Add skin parameter to all button constructors. --- src/gui/windowmenu.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/gui/windowmenu.cpp') 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)); -- cgit v1.2.3-70-g09d2