aboutsummaryrefslogtreecommitdiff
path: root/view.h
Commit message (Collapse)AuthorAgeFilesLines
* feat: enable fraction format of each geometry metadatas on viewdilluti0n2025-06-011-0/+5
|
* fix: mark unused dirty flag as TODOdilluti0n2025-06-011-1/+0
|
* refactor: introduce view.c; ui drawing abstraction layerdilluti0n2025-06-011-0/+23
This patch extracts the drawing logic from redr_raylib.c and moves it into a new abstraction layer in view.c, introducing a tree-based view system for UI rendering. - view.c defines a hierarchical 'view' structure with polymorphic draw methods. - root and ed_buf views are implemented as a proof of concept. - redr.c (via redr.h) now exposes only backend rendering primitives (text, clear, measure). - main.c is updated to instantiate and draw the view tree. This separation clarifies the responsibilities between layout (view) and rendering (redr) and prepares the system for future UI extensions such as nested panels, split views, and overlays.