Patch Overlays and RSettings to default txt size + cf

This commit is contained in:
2024-02-20 20:56:14 +01:00
parent 33bb37be06
commit 688570b3cd
8 changed files with 29 additions and 21 deletions

View File

@ -71,8 +71,8 @@ void CustomizeColor(RD7Color color, unsigned int custom);
void ColorNew(RD7Color color, unsigned int new_color);
void UndoColorEdit(RD7Color color);
void UndoAllColorEdits();
void ThemeLoad(const std::string& path);
void ThemeSave(const std::string& path);
void ThemeLoad(const std::string &path);
void ThemeSave(const std::string &path);
void ThemeDefault();
namespace Color {
/// @brief RGBA Class

View File

@ -45,7 +45,7 @@ void EndMenu();
void Grid(const std::string &name, const R7Vec2 &size,
R7Vec2 (*display_func)(void *, R7Vec2), void **data_array,
size_t num_entrys);
bool BeginTree(const std::string& text);
bool BeginTree(const std::string &text);
void EndTree();
R7Vec2 GetCursorPos();
void SetCursorPos(R7Vec2 cp);

View File

@ -114,6 +114,7 @@ class RSettings : public RenderD7::Scene {
std::string kbd_test;
bool statemtold = false;
bool stateftold = false;
float tmp_txt;
public:
/// @brief Constructor