mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 08:23:15 +00:00
make it possible to query the tag of the selected item
svn-id: r11142
This commit is contained in:
parent
583ae61453
commit
ceef10b5b8
@ -62,6 +62,7 @@ public:
|
||||
|
||||
void setSelected(int item);
|
||||
int getSelected() const { return _selectedItem; }
|
||||
uint32 getSelectedTag() const { return (_selectedItem >= 0) ? _entries[_selectedItem].tag : (uint32)-1; }
|
||||
const String& getSelectedString() const { return (_selectedItem >= 0) ? _entries[_selectedItem].name : String::emptyString; }
|
||||
|
||||
protected:
|
||||
|
Loading…
x
Reference in New Issue
Block a user