(changes 07:51 22.02.2024):
- Move Format into a Task - Implement Debugging Option into Settings
This commit is contained in:
@ -111,7 +111,7 @@ struct UI7_Ctx {
|
||||
cbackup = R7Vec2();
|
||||
in_menu = false;
|
||||
current_menu = UI7ID("");
|
||||
debugging = true;
|
||||
debugging = false;
|
||||
}
|
||||
float delta;
|
||||
float time;
|
||||
@ -554,4 +554,13 @@ void Debug() {
|
||||
}
|
||||
}
|
||||
|
||||
bool &IsDebugging() {
|
||||
if (!UI7CtxValidate()) {
|
||||
// Return a Default Val
|
||||
static bool t = false;
|
||||
return t;
|
||||
}
|
||||
return ui7_ctx->debugging;
|
||||
}
|
||||
|
||||
} // namespace UI7
|
@ -678,6 +678,7 @@ void RenderD7::RSettings::Draw(void) const {
|
||||
/// Request a state switch to state RSETTINGS
|
||||
shared_request[0x00000001] = RSETTINGS;
|
||||
}
|
||||
UI7::Checkbox("Debug", UI7::IsDebugging());
|
||||
UI7::EndMenu();
|
||||
}
|
||||
} else if (m_state == RMCONFIG) {
|
||||
|
Reference in New Issue
Block a user