adding text color to the render class

This commit is contained in:
Adolfo Reyna
2026-01-13 23:02:54 -05:00
parent 28310a4eb5
commit cff4956829
2 changed files with 10 additions and 4 deletions

View File

@@ -35,6 +35,7 @@ private:
const unsigned char (*current_font)[96][6];
bool clipping_enabled;
int clip_x, clip_y, clip_width, clip_height;
bool text_color;
void draw_corner_arc(int center_x, int center_y, int radius, int quadrant, bool on);
void fill_bottom_flat_triangle(int x1, int y1, int x2, int y2, int x3, int y3, bool on);
void fill_top_flat_triangle(int x1, int y1, int x2, int y2, int x3, int y3, bool on);
@@ -45,6 +46,7 @@ public:
// Font management
void set_font(const unsigned char (*font)[96][6]);
void set_text_color(bool color);
// --- 1-BIT DRAWING PRIMITIVES ---
void set_pixel(int x, int y, bool on);