diff options
author | Martin Kiewitz | 2016-01-30 14:03:38 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-01-30 14:04:18 +0100 |
commit | dc3c3a84fde54058a3b9a379e96862104adadcc6 (patch) | |
tree | 23ac4ab9dfe8358af1d11e24ee26aced46276239 /engines/sherlock/scalpel/scalpel_screen.h | |
parent | 42f327e5fddaf73546e14fd9dee7f68b0f7b5619 (diff) | |
download | scummvm-rg350-dc3c3a84fde54058a3b9a379e96862104adadcc6.tar.gz scummvm-rg350-dc3c3a84fde54058a3b9a379e96862104adadcc6.tar.bz2 scummvm-rg350-dc3c3a84fde54058a3b9a379e96862104adadcc6.zip |
SHERLOCK: SS: make settings multilingual
Also make it possible to somewhat easily have hotkeys within
the button text itself and not just having to use the very first
button text character as hotkey.
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 d6018a44a0..55e104bf43 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); + void makeButton(const Common::Rect &bounds, int textX, const Common::String &str, const byte hotkey = 0); /** * 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); + void buttonPrint(const Common::Point &pt, uint color, bool slamIt, const Common::String &str, byte hotkey = 0); /** * Draw a panel in the back buffer with a raised area effect around the edges |