aboutsummaryrefslogtreecommitdiff
path: root/gui/widgets/popup.h
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-12 12:52:18 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commitb5cebcbeaed5b1b860f2686379fc288c137a4c2f (patch)
tree190f839f6c3d8c3176db62db36de12715d371431 /gui/widgets/popup.h
parentfa6faca76a35028e288753c3d74f2c81228ec5bb (diff)
downloadscummvm-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.h2
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();