Change colors, try to cross compile

This commit is contained in:
2025-02-09 23:02:12 +01:00
parent e133c2df3a
commit f8b0307949
4 changed files with 70 additions and 30 deletions

View File

@@ -345,7 +345,7 @@ void editor_render(TextEditor *editor, SDL_Renderer *renderer, CPU *cpu, uint8_t
SDL_Rect highlightedLineAbs = *editor->highlightedLineRect;
highlightedLineAbs.x += editor->outRect->x;
highlightedLineAbs.y += editor->outRect->y;
SDL_SetRenderDrawColor(renderer, 0, 72, 64, 255);
SDL_SetRenderDrawColor(renderer, 0, 64, 128, 255);
if (targetLine >= editor->cursor_line_offset &&
targetLine < editor->cursor_line_offset + editor->displayLineCount) {
SDL_RenderFillRect(renderer, &highlightedLineAbs);