diff options
author | Jaromir Wysoglad | 2019-07-12 12:52:18 +0200 |
---|---|---|
committer | Filippos Karapetis | 2019-09-01 22:47:55 +0300 |
commit | b5cebcbeaed5b1b860f2686379fc288c137a4c2f (patch) | |
tree | 190f839f6c3d8c3176db62db36de12715d371431 /gui/widgets/popup.h | |
parent | fa6faca76a35028e288753c3d74f2c81228ec5bb (diff) | |
download | scummvm-rg350-b5cebcbeaed5b1b860f2686379fc288c137a4c2f.tar.gz scummvm-rg350-b5cebcbeaed5b1b860f2686379fc288c137a4c2f.tar.bz2 scummvm-rg350-b5cebcbeaed5b1b860f2686379fc288c137a4c2f.zip |
TTS: Add text to speech to the GUI.
Diffstat (limited to 'gui/widgets/popup.h')
-rw-r--r-- | gui/widgets/popup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widgets/popup.h b/gui/widgets/popup.h index d2b1f1cb92..a898479410 100644 --- a/gui/widgets/popup.h +++ b/gui/widgets/popup.h @@ -77,7 +77,7 @@ public: uint32 getSelectedTag() const { return (_selectedItem >= 0) ? _entries[_selectedItem].tag : (uint32)-1; } // const String& getSelectedString() const { return (_selectedItem >= 0) ? _entries[_selectedItem].name : String::emptyString; } - void handleMouseEntered(int button) { setFlags(WIDGET_HILITED); markAsDirty(); } + void handleMouseEntered(int button) { read(_entries[_selectedItem].name); setFlags(WIDGET_HILITED); markAsDirty(); } void handleMouseLeft(int button) { clearFlags(WIDGET_HILITED); markAsDirty(); } virtual void reflowLayout(); |