aboutsummaryrefslogtreecommitdiff
path: root/redr.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix compiler warningdilluti0n2026-07-171-26/+2
|
* minor: redefinition on redr.hdilluti0n2025-06-011-3/+1
|
* refactor: introduce view.c; ui drawing abstraction layerdilluti0n2025-06-011-3/+48
| | | | | | | | | | | | | | | 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.
* refactor: abstract input/rendering modules from main routinedilluti0n2025-05-281-0/+13
This fetch moves raylib-specific logics to redr_raylib.c and input_raylib.c from main routine. Each apis are defined in redr.h and input.h respectively.