mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Basic timer ui is almost complete
This commit is contained in:
@@ -172,3 +172,10 @@ void ComboBox::setItem(const void * item)
|
||||
if(onSetItem)
|
||||
onSetItem(item);
|
||||
}
|
||||
|
||||
void ComboBox::setItem(int id)
|
||||
{
|
||||
std::vector<const void *> tempItems;
|
||||
onConstructItems(tempItems);
|
||||
setItem(tempItems.at(id));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user