aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2009-12-15 08:20:19 +0000
committerMax Horn2009-12-15 08:20:19 +0000
commitf53d23d816942a8a773b01ba4be5ddf7bc0c252e (patch)
treef0ec4fbe9a83d4264f405ee6d171999a0aed84db /gui
parent6c98169dc3ab302a6fa1feecc6b053b515174e7d (diff)
downloadscummvm-rg350-f53d23d816942a8a773b01ba4be5ddf7bc0c252e.tar.gz
scummvm-rg350-f53d23d816942a8a773b01ba4be5ddf7bc0c252e.tar.bz2
scummvm-rg350-f53d23d816942a8a773b01ba4be5ddf7bc0c252e.zip
GUI: Re-add ellipsis to various button labels
svn-id: r46382
Diffstat (limited to 'gui')
-rw-r--r--gui/launcher.cpp19
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);