I just want renderGuiStyle2 to appear. How can I do it ?
This is C+P. Delete void GUI::render() noexcept and replace it with the below
void GUI::render() noexcept
{
if (!config->style.menuStyle) {
renderGuiStyle2();
}
}
modify the code in gui.cpp
This is C+P. Delete void GUI::render() noexcept and replace it with the below
void GUI::render() noexcept
{
if (!config->style.menuStyle) {
renderGuiStyle2();
}
}
I did, but the menu opens automatically.
I changed open = true in GUI.h, but it didn't work.
I changed open = true in GUI.h, but it didn't work.
no, change the GUI::render()
and set renderGuiStyle2();
better way of doing this:
replace (in Config.h)
struct {
int menuStyle{ 0 };
int menuColors{ 0 };
} style;
with
struct {
int menuStyle{ 1 };
int menuColors{ 0 };
} style;
better way of doing this:
replace (in Config.h)struct { int menuStyle{ 0 }; int menuColors{ 0 }; } style;with
struct { int menuStyle{ 1 }; int menuColors{ 0 }; } style;
nothing has changed
@danielkrupinski Help me pls
If the menu does not open automatically, it can work. How can I turn off the automatically opening of the menu ?
Bool open = true in GUI.h I tried to change it but it didn't
@CerberusGame
int menuStyle{ 0 };
to
int menuStyle{ 1 };
?
@CerberusGame
int menuStyle{ 0 };
to
int menuStyle{ 1 };
?
I tried but it didn't work
Most helpful comment
This is C+P. Delete void GUI::render() noexcept and replace it with the below
void GUI::render() noexcept
{
if (!config->style.menuStyle) {
renderGuiStyle2();
}
}