diff options
author | Martin Kiewitz | 2016-01-30 15:52:22 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-01-30 15:52:22 +0100 |
commit | 741b868e70f48e73ba71078cc486ed20bf23a73f (patch) | |
tree | ee6d25a7704643c2e33f33fe57431f92e106db96 /engines/sherlock/scalpel/scalpel_screen.h | |
parent | dc3c3a84fde54058a3b9a379e96862104adadcc6 (diff) | |
download | scummvm-rg350-741b868e70f48e73ba71078cc486ed20bf23a73f.tar.gz scummvm-rg350-741b868e70f48e73ba71078cc486ed20bf23a73f.tar.bz2 scummvm-rg350-741b868e70f48e73ba71078cc486ed20bf23a73f.zip |
SHERLOCK: SS: Make load/save menu multilingual
Also change behavior of makeButton/buttonPrint to directly
remove a hotkey-prefix, in case it was passed.
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_screen.h')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_screen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/scalpel_screen.h b/engines/sherlock/scalpel/scalpel_screen.h index 55e104bf43..ff294f6bfc 100644 --- a/engines/sherlock/scalpel/scalpel_screen.h +++ b/engines/sherlock/scalpel/scalpel_screen.h @@ -39,13 +39,13 @@ public: /** * Draws a button for use in the inventory, talk, and examine dialogs. */ - void makeButton(const Common::Rect &bounds, int textX, const Common::String &str, const byte hotkey = 0); + void makeButton(const Common::Rect &bounds, int textX, const Common::String &str, bool textContainsHotkey = false); /** * Prints an interface command with the first letter highlighted to indicate * what keyboard shortcut is associated with it */ - void buttonPrint(const Common::Point &pt, uint color, bool slamIt, const Common::String &str, byte hotkey = 0); + void buttonPrint(const Common::Point &pt, uint color, bool slamIt, const Common::String &str, bool textContainsHotkey = false); /** * Draw a panel in the back buffer with a raised area effect around the edges |