diff options
author | Max Horn | 2009-12-15 08:20:19 +0000 |
---|---|---|
committer | Max Horn | 2009-12-15 08:20:19 +0000 |
commit | f53d23d816942a8a773b01ba4be5ddf7bc0c252e (patch) | |
tree | f0ec4fbe9a83d4264f405ee6d171999a0aed84db | |
parent | 6c98169dc3ab302a6fa1feecc6b053b515174e7d (diff) | |
download | scummvm-rg350-f53d23d816942a8a773b01ba4be5ddf7bc0c252e.tar.gz scummvm-rg350-f53d23d816942a8a773b01ba4be5ddf7bc0c252e.tar.bz2 scummvm-rg350-f53d23d816942a8a773b01ba4be5ddf7bc0c252e.zip |
GUI: Re-add ellipsis to various button labels
svn-id: r46382
-rw-r--r-- | gui/launcher.cpp | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 28f00f84ff..ea1279497a 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -497,19 +497,19 @@ LauncherDialog::LauncherDialog() #endif new ButtonWidget(this, "Launcher.QuitButton", "Quit", kQuitCmd, 'Q'); - new ButtonWidget(this, "Launcher.AboutButton", "About", kAboutCmd, 'B'); - new ButtonWidget(this, "Launcher.OptionsButton", "Options", kOptionsCmd, 'O'); + new ButtonWidget(this, "Launcher.AboutButton", "About...", kAboutCmd, 'B'); + new ButtonWidget(this, "Launcher.OptionsButton", "Options...", kOptionsCmd, 'O'); _startButton = new ButtonWidget(this, "Launcher.StartButton", "Start", kStartCmd, 'S'); _loadButton = - new ButtonWidget(this, "Launcher.LoadGameButton", "Load", kLoadGameCmd, 'L'); + new ButtonWidget(this, "Launcher.LoadGameButton", "Load...", kLoadGameCmd, 'L'); // Above the lowest button rows: two more buttons (directly below the list box) _addButton = - new ButtonWidget(this, "Launcher.AddGameButton", "Add Game", kAddGameCmd, 'A'); + new ButtonWidget(this, "Launcher.AddGameButton", "Add Game...", kAddGameCmd, 'A'); _editButton = - new ButtonWidget(this, "Launcher.EditGameButton", "Edit Game", kEditGameCmd, 'E'); + new ButtonWidget(this, "Launcher.EditGameButton", "Edit Game...", kEditGameCmd, 'E'); _removeButton = new ButtonWidget(this, "Launcher.RemoveGameButton", "Remove Game", kRemoveGameCmd, 'R'); @@ -649,7 +649,7 @@ void LauncherDialog::updateListing() { void LauncherDialog::addGame() { int modifiers = g_system->getEventManager()->getModifierState(); - bool massAdd = (modifiers & Common::KBD_SHIFT) != 0; + const bool massAdd = (modifiers & Common::KBD_SHIFT) != 0; if (massAdd) { MessageDialog alert("Do you really want to run the mass game detector? " @@ -979,9 +979,10 @@ void LauncherDialog::updateButtons() { // Update the label of the "Add" button depending on whether shift is pressed or not int modifiers = g_system->getEventManager()->getModifierState(); - const char *newAddButtonLabel = ((modifiers & Common::KBD_SHIFT) != 0) - ? "Mass Add" - : "Add Game"; + const bool massAdd = (modifiers & Common::KBD_SHIFT) != 0; + const char *newAddButtonLabel = massAdd + ? "Mass Add..." + : "Add Game..."; if (_addButton->getLabel() != newAddButtonLabel) _addButton->setLabel(newAddButtonLabel); |