20 lines
349 B
C++
20 lines
349 B
C++
#include <hex/ui/popup.hpp>
|
|
|
|
namespace hex::impl {
|
|
|
|
|
|
[[nodiscard]] std::vector<std::unique_ptr<PopupBase>> &PopupBase::getOpenPopups() {
|
|
static std::vector<std::unique_ptr<PopupBase>> openPopups;
|
|
|
|
return openPopups;
|
|
}
|
|
|
|
std::mutex& PopupBase::getMutex() {
|
|
static std::mutex mutex;
|
|
|
|
return mutex;
|
|
}
|
|
|
|
|
|
|
|
} |