mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Enter popup await mode only if there is an active popup
This commit is contained in:
@@ -43,6 +43,9 @@ public:
|
||||
/// pops one or more windows - deactivates top, deletes and removes given number of windows, activates new front
|
||||
void popWindows(int howMany);
|
||||
|
||||
/// returns true if current top window is a right-click popup
|
||||
bool isTopWindowPopup() const;
|
||||
|
||||
/// removes given windows from the top and activates next
|
||||
void popWindow(std::shared_ptr<IShowActivatable> top);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user