2023-10-13 23:46:48 +02:00
|
|
|
#include <hex/helpers/debugging.hpp>
|
|
|
|
|
|
|
|
namespace hex::dbg {
|
|
|
|
|
|
|
|
namespace impl {
|
|
|
|
|
|
|
|
bool &getDebugWindowState() {
|
|
|
|
static bool state = false;
|
|
|
|
|
|
|
|
return state;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2025-01-25 15:38:57 +01:00
|
|
|
static bool s_debugMode = false;
|
|
|
|
bool debugModeEnabled() {
|
|
|
|
return s_debugMode;
|
|
|
|
}
|
|
|
|
|
|
|
|
void setDebugModeEnabled(bool enabled) {
|
|
|
|
s_debugMode = enabled;
|
|
|
|
}
|
|
|
|
|
2023-10-13 23:46:48 +02:00
|
|
|
}
|