summaryrefslogtreecommitdiff
path: root/view.c
Commit message (Collapse)AuthorAgeFilesLines
* refactor: modify field 'w' and 'h' to width and height respectivelydilluti0n2025-06-011-14/+14
|
* feat: enable fraction format of each geometry metadatas on viewdilluti0n2025-06-011-10/+52
|
* fix: mark unused dirty flag as TODOdilluti0n2025-06-011-3/+3
|
* refactor: view_eb_draw to draw text only for its boarderdilluti0n2025-06-011-13/+16
| | | | - rename and refactor draw_text_slice to draw_textn for more freely used
* refactor: introduce view.c; ui drawing abstraction layerdilluti0n2025-06-011-0/+253
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.