Switch to OOP style code

This commit is contained in:
2026-02-04 00:38:11 +00:00
parent e3fc5323df
commit a62d4a18a8
50 changed files with 3011 additions and 3078 deletions

View File

@@ -12,8 +12,9 @@ struct Bar {
uint32_t cursor = 0;
void init(Coord screen) { this->screen = screen; }
void render();
void handle(KeyEvent event);
void render(std::vector<ScreenCell> &buffer);
void handle_event(KeyEvent event);
void handle_command(std::string &command);
void log(std::string message);
};