There was no bug except my code. Now the 'box' correctly starts and stops around the text.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#define CPU_STATS_DISPLAY_COLUMN_COUNT 40
|
||||
#define CPU_STATS_DISPLAY_ROW_COUNT 30
|
||||
|
||||
static const char *cpu_display_header_text = "CPU State";
|
||||
static const char *cpu_display_header_text = "CPU State Details";
|
||||
|
||||
void renderStatsBox(SDL_Renderer *, TTF_Font *, char *);
|
||||
void renderBorderAndHeader(SDL_Renderer *, TTF_Font *);
|
||||
|
||||
Reference in New Issue
Block a user