From dc3c3a84fde54058a3b9a379e96862104adadcc6 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Sat, 30 Jan 2016 14:03:38 +0100 Subject: 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. --- engines/sherlock/scalpel/scalpel_screen.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sherlock/scalpel/scalpel_screen.h') 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 -- cgit v1.2.3