refactor: Update CMake Configuration and EditorCard Constructor

- Modified CMake configuration to include additional proto files for gRPC services, enhancing the build process for canvas automation features.
- Adjusted the number of buttons in the Toolset to improve UI layout.
- Introduced a new constructor for EditorCard to manage open state, enhancing flexibility in editor card management.
This commit is contained in:
scawful
2025-10-05 23:43:48 -04:00
parent 7e2f0454d3
commit 13af75e924
3 changed files with 10 additions and 2 deletions

View File

@@ -114,6 +114,7 @@ class EditorCard {
};
EditorCard(const char* title, const char* icon = nullptr);
EditorCard(const char* title, const char* icon, bool* p_open);
// Set card properties
void SetDefaultSize(float width, float height);
@@ -140,6 +141,7 @@ class EditorCard {
bool closable_ = true;
bool minimized_ = false;
bool first_draw_ = true;
bool* p_open_ = nullptr;
};
/**