mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
* custom statusbar in town interface
* added missing file
This commit is contained in:
@@ -91,9 +91,9 @@ void AdventureMapButton<T>::hover (bool on)
|
||||
{
|
||||
Hoverable::hover(on);
|
||||
if (on)
|
||||
LOCPLINT->adventureInt->statusbar.print(name);
|
||||
else if (LOCPLINT->adventureInt->statusbar.current==name)
|
||||
LOCPLINT->adventureInt->statusbar.clear();
|
||||
LOCPLINT->statusbar->print(name);
|
||||
else if (LOCPLINT->statusbar->getCurrent()==name)
|
||||
LOCPLINT->statusbar->clear();
|
||||
}
|
||||
template <typename T>
|
||||
void AdventureMapButton<T>::activate()
|
||||
|
||||
Reference in New Issue
Block a user