summaryrefslogtreecommitdiff
path: root/src/core/Frontend.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-08-19 03:31:42 +0300
committerSergeanur <s.anureev@yandex.ua>2020-08-19 03:31:42 +0300
commit4d1cfb7214a4867487f128c7e3360681f47e0239 (patch)
tree8ee67a9a78715308604c5422229977722e447603 /src/core/Frontend.h
parentc559b71bc96c289cdad8c166ec379ee2df93c995 (diff)
Island loading cleanup and fix
Diffstat (limited to 'src/core/Frontend.h')
-rw-r--r--src/core/Frontend.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/Frontend.h b/src/core/Frontend.h
index d631a7d1..cf112b3d 100644
--- a/src/core/Frontend.h
+++ b/src/core/Frontend.h
@@ -635,6 +635,12 @@ public:
static int8 m_DisplayIslandLoading;
static int8 m_PrefsIslandLoading;
+
+ #define ISLAND_LOADING_IS(p) if (CMenuManager::m_PrefsIslandLoading == CMenuManager::ISLAND_LOADING_##p)
+ #define ISLAND_LOADING_ISNT(p) if (CMenuManager::m_PrefsIslandLoading != CMenuManager::ISLAND_LOADING_##p)
+#else
+ #define ISLAND_LOADING_IS(p)
+ #define ISLAND_LOADING_ISNT(p)
#endif
public: