Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Refactoring #64

Merged
merged 40 commits into from
Jan 19, 2025
Merged

UI Refactoring #64

merged 40 commits into from
Jan 19, 2025

Conversation

brenocq
Copy link
Owner

@brenocq brenocq commented Jan 19, 2025

This PR implemented the changes presented in #54

Organize UI folders

The UI module files were organized to improve maintainability, here is the current structure

src/atta/ui
├── CMakeLists.txt
├── drawers
│   ├── ...
├── editor.cpp
├── editor.h
├── interface.cpp
├── interface.h
├── manager.cpp
├── manager.h
├── panels
│   ├── ...
├── widgets
│   ├── ...
└── windows
    ├── ...

Improve ImGui style

ImGui now uses a custom font and styles

Before
Image

After
Image

Changelog

  • Feat
    • Added ImPlot3D
    • new evt::MeshDestroy event
    • Render world grid
    • Custom ImGui style/font
  • Refactor
    • Viewports moved from graphics module to UI module
    • ImGuizmo encapsulated by Gizmo class
  • Fix
    • ImGuizmo UI off by 1 frame
  • Chore
    • ImGui updated from v1.90-docking to v1.91.7-docking

@brenocq brenocq added module:ui UI Module prio:high High priority status:review The task is under review type:refactor Code refactoring without changing functionality labels Jan 19, 2025
@brenocq brenocq added this to the 0.4.0 milestone Jan 19, 2025
@brenocq brenocq self-assigned this Jan 19, 2025
@brenocq brenocq linked an issue Jan 19, 2025 that may be closed by this pull request
12 tasks
@brenocq brenocq merged commit 0507d6f into dev Jan 19, 2025
10 checks passed
@brenocq brenocq deleted the ui-redesign branch January 19, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:ui UI Module prio:high High priority status:review The task is under review type:refactor Code refactoring without changing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI Refactoring
1 participant