mirror of
https://github.com/pound-emu/pound.git
synced 2025-12-11 16:36:59 +00:00
- Create modular GUI architecture with base Panel class - Implement GUIManager to handle window lifecycle and panel management - Add Window wrapper class for SDL3/OpenGL context management - Create specialized panels: - ConsolePanel: Colored log output with timestamps - CPUPanel: CPU debugging with tabs for registers, memory, and disassembly - PerformancePanel: Real-time FPS and frame time monitoring - Apply modern dark theme with purple accents - Add comprehensive menu bar (File, Emulation, View, Tools, Help) - Update CMakeLists.txt to include new gui/ directory structure - Refactor main.cpp to use the new GUI system - Cutom theme on switch colors
39 lines
No EOL
979 B
CMake
39 lines
No EOL
979 B
CMake
# Copyright 2025 Pound Emulator Project. All rights reserved.
|
|
|
|
# GUI sources
|
|
set(GUI_SOURCES
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Window.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/GUIManager.cpp
|
|
)
|
|
|
|
set(GUI_HEADERS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Window.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/GUIManager.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Panel.h
|
|
)
|
|
|
|
# Panel sources
|
|
set(PANEL_SOURCES
|
|
${CMAKE_CURRENT_SOURCE_DIR}/panels/ConsolePanel.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/panels/CPUPanel.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/panels/PerformancePanel.cpp
|
|
)
|
|
|
|
set(PANEL_HEADERS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/panels/ConsolePanel.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/panels/CPUPanel.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/panels/PerformancePanel.h
|
|
)
|
|
|
|
# Add all GUI sources to the main target
|
|
target_sources(Pound PRIVATE
|
|
${GUI_SOURCES}
|
|
${GUI_HEADERS}
|
|
${PANEL_SOURCES}
|
|
${PANEL_HEADERS}
|
|
)
|
|
|
|
# Include directories for GUI
|
|
target_include_directories(Pound PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/..
|
|
) |