diff options
Diffstat (limited to 'gui/PopUpWidget.h')
-rw-r--r-- | gui/PopUpWidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/PopUpWidget.h b/gui/PopUpWidget.h index 471e5c9154..786f3461f8 100644 --- a/gui/PopUpWidget.h +++ b/gui/PopUpWidget.h @@ -77,6 +77,8 @@ 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); draw(); } + void handleMouseLeft(int button) { clearFlags(WIDGET_HILITED); draw(); } protected: void drawWidget(bool hilite); }; |