refactor(gui): reorganize GUI includes and introduce new components

- Updated include paths for various GUI-related headers to improve organization and clarity.
- Introduced new components for better modularity, including PaletteEditorWidget and EditorCardManager.
- Refactored existing code to utilize the new components, ensuring consistency across the GUI subsystem.

Benefits:
- Enhances maintainability and readability of the GUI code.
- Facilitates future enhancements and optimizations within the GUI subsystem.
This commit is contained in:
scawful
2025-10-13 10:21:03 -04:00
parent 6374da6194
commit 58f3213c62
139 changed files with 890 additions and 1006 deletions

View File

@@ -6,8 +6,8 @@
#include "absl/strings/str_cat.h"
#include "imgui/imgui.h"
#include "app/gui/icons.h"
#include "app/gui/style.h"
#include "app/gui/core/icons.h"
#include "app/gui/core/style.h"
#include "util/file_util.h"
namespace yaze {

View File

@@ -10,7 +10,9 @@
#define IMGUI_DEFINE_MATH_OPERATORS
#endif
#include "app/gui/icons.h"
#include "absl/container/flat_hash_map.h"
#include "absl/strings/string_view.h"
#include "app/gui/core/icons.h"
#include "imgui/imgui.h"
namespace yaze {

View File

@@ -11,8 +11,8 @@
#include "absl/time/time.h"
#include "app/core/project.h"
#include "app/core/timing.h"
#include "app/gui/icons.h"
#include "app/gui/theme_manager.h"
#include "app/gui/core/icons.h"
#include "app/gui/core/theme_manager.h"
#include "imgui/imgui.h"
#include "imgui/imgui_internal.h"
#include "util/file_util.h"

View File

@@ -1,6 +1,6 @@
#include "app/editor/ui/workspace_manager.h"
#include "app/editor/system/toast_manager.h"
#include "app/gui/editor_card_manager.h"
#include "app/gui/app/editor_card_manager.h"
#include "app/rom.h"
#include "absl/strings/str_format.h"
#include "util/file_util.h"