2023-04-07 10:21:27 +02:00
|
|
|
#include <hex/ui/popup.hpp>
|
|
|
|
|
2023-04-08 00:58:53 +02:00
|
|
|
namespace hex::impl {
|
2023-04-07 10:21:27 +02:00
|
|
|
|
2023-07-26 13:50:51 +02:00
|
|
|
|
|
|
|
[[nodiscard]] std::vector<std::unique_ptr<PopupBase>> &PopupBase::getOpenPopups() {
|
|
|
|
static std::vector<std::unique_ptr<PopupBase>> openPopups;
|
|
|
|
|
|
|
|
return openPopups;
|
|
|
|
}
|
|
|
|
|
2023-12-19 23:21:20 +01:00
|
|
|
std::mutex& PopupBase::getMutex() {
|
|
|
|
static std::mutex mutex;
|
|
|
|
|
|
|
|
return mutex;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-04-07 10:21:27 +02:00
|
|
|
|
|
|
|
}
|