adding text color to the render class
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user