summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r--src/gui/windowmenu.cpp52
1 files changed, 29 insertions, 23 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index 7cf4980a6..2e1474bd1 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -56,8 +56,9 @@ WindowMenu::WindowMenu(const Widget2 *const widget) :
ActionListener(),
SelectionListener(),
MouseListener(),
- mSkin(theme != nullptr ? theme->load("windowmenu.xml", "",
- true, Theme::getThemePath()) : nullptr),
+ mSkin(theme != nullptr
+ ? theme->load("windowmenu.xml", "", true, Theme::getThemePath())
+ : nullptr),
mImageSet(nullptr),
mPadding(mSkin != nullptr ? mSkin->getPadding() : 1),
mSpacing(mSkin != nullptr ? mSkin->getOption("spacing", 3) : 3),
@@ -82,42 +83,47 @@ WindowMenu::WindowMenu(const Widget2 *const widget) :
// TRANSLATORS: short button name for who is online window.
addButton(N_("ONL"),
- 13,
- // TRANSLATORS: long button name for who is online window.
- _("Who is online"), x, h, InputAction::WINDOW_ONLINE,
- Visible_true);
+ 13,
+ // TRANSLATORS: long button name for who is online window.
+ _("Who is online"), x, h, InputAction::WINDOW_ONLINE,
+ Visible_true);
+
// TRANSLATORS: short button name for help window.
addButton(N_("HLP"),
- 0,
- // TRANSLATORS: long button name for help window.
- _("Help"), x, h, InputAction::WINDOW_HELP,
- Visible_true);
+ 0,
+ // TRANSLATORS: long button name for help window.
+ _("Help"), x, h, InputAction::WINDOW_HELP,
+ Visible_true);
+
// TRANSLATORS: short button name for quests window.
addButton(N_("QE"),
- 12,
- // TRANSLATORS: long button name for quests window.
- _("Quests"), x, h, InputAction::WINDOW_QUESTS,
- Visible_true);
+ 12,
+ // TRANSLATORS: long button name for quests window.
+ _("Quests"), x, h, InputAction::WINDOW_QUESTS,
+ Visible_true);
+
// TRANSLATORS: short button name for kill stats window.
addButton(N_("KS"),
- 16,
- // TRANSLATORS: long button name for kill stats window.
- _("Kill stats"), x, h, InputAction::WINDOW_KILLS,
- Visible_true);
+ 16,
+ // TRANSLATORS: long button name for kill stats window.
+ _("Kill stats"), x, h, InputAction::WINDOW_KILLS,
+ Visible_true);
+
addButton(":-)",
6,
// TRANSLATORS: long button name for emotes window.
_("Smilies"), x, h, InputAction::WINDOW_EMOTE_SHORTCUT,
Visible_true);
+
// TRANSLATORS: short button name for chat window.
addButton(N_("CH"),
- 20,
- // TRANSLATORS: longt button name for chat window.
- _("Chat"), x, h, InputAction::WINDOW_CHAT,
+ 20,
+ // TRANSLATORS: longt button name for chat window.
+ _("Chat"), x, h, InputAction::WINDOW_CHAT,
#ifdef ANDROID
- Visible_true);
+ Visible_true);
#else // ANDROID
- Visible_false);
+ Visible_false);
#endif // ANDROID
// TRANSLATORS: short button name for status window.