Paint added and other bug fixes
This commit is contained in:
Chris
2026-02-08 23:17:27 +01:00
parent 904dc2f1a5
commit 23972f8951
30 changed files with 829 additions and 637 deletions

View File

@@ -24,6 +24,9 @@ static void notepad_ensure_cursor_visible(Window *win) {
}
static void notepad_paint(Window *win) {
// Explicitly draw white background for text
draw_rect(win->x + 4, win->y + 24, win->w - 8, win->h - 28, COLOR_WHITE);
int visual_line = 0;
int current_x = win->x + 8;
int current_y = win->y + 30;