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

@@ -2,7 +2,7 @@
#include <fstream>
#include "app/gui/input.h"
#include "app/gui/core/input.h"
#include "imgui/imgui.h"
namespace yaze {

View File

@@ -2,8 +2,8 @@
#include "absl/strings/str_format.h"
#include "app/editor/editor_manager.h"
#include "app/gui/style.h"
#include "app/gui/icons.h"
#include "app/gui/core/style.h"
#include "app/gui/core/icons.h"
#include "util/hex.h"
#include "imgui/misc/cpp/imgui_stdlib.h"

View File

@@ -7,7 +7,7 @@
#include "absl/strings/str_format.h"
#include "absl/time/time.h"
#include "imgui/imgui.h"
#include "app/gui/icons.h"
#include "app/gui/core/icons.h"
#include "cli/service/rom/rom_sandbox_manager.h"
// Policy evaluation support (optional, only in main yaze build)

View File

@@ -2,11 +2,11 @@
#include "app/editor/system/settings_editor.h"
#include "absl/status/status.h"
#include "app/gui/feature_flags_menu.h"
#include "app/gui/app/feature_flags_menu.h"
#include "app/gfx/debug/performance/performance_profiler.h"
#include "app/gui/style.h"
#include "app/gui/icons.h"
#include "app/gui/theme_manager.h"
#include "app/gui/core/style.h"
#include "app/gui/core/icons.h"
#include "app/gui/core/theme_manager.h"
#include "imgui/imgui.h"
#include "util/log.h"

View File

@@ -3,7 +3,7 @@
#include <algorithm>
#include <string>
#include "app/gui/input.h"
#include "app/gui/core/input.h"
#include "imgui/imgui.h"
namespace yaze {

View File

@@ -4,7 +4,7 @@
#include <sstream>
#include "absl/strings/str_format.h"
#include "app/gui/style.h"
#include "app/gui/core/style.h"
#include "imgui/imgui.h"
#include "util/file_util.h"
#include "util/log.h"