# Stage 1.9

- Add AppInit Flags and AppFlags to COntrol some Individual Stuff (Not using default can run into a crash report if things get used that are disabled)
- Create a Test Settings Menu
- Make Some Menu functions Public
- Add ScrollTo Animation
- Make ContainerApi fully public
- Remove an else statement (now need to find a way to not set the pos twice)
-
This commit is contained in:
2025-02-09 21:40:31 +01:00
parent fc8291555e
commit ca26189f52
11 changed files with 207 additions and 60 deletions

View File

@ -29,7 +29,12 @@ SOFTWARE.
class Test : public PD::App {
public:
Test() = default;
Test() {
/*
Here can be things modified befor Init anything
cause This place gets called befor Internal Init
*/
}
~Test() = default;
void Init() override {
@ -82,6 +87,11 @@ class Test : public PD::App {
if (m->Button("Button?")) {
Messages()->Push("Button", "Pressed...");
}
m->SameLine();
if (m->Button("Palladium")) {
this->FeatureDisable(AppFLags_UserLoop);
Overlays()->Push(PD::New<PD::SettingsMenu>(this));
}
m->SeparatorText("SeparatorText");
m->Checkbox("Test", cbtest);
ui7->EndMenu();