22 lines
592 B
C
22 lines
592 B
C
#ifndef _CPU_DISPLAY_H
|
|
#define _CPU_DISPLAY_H
|
|
|
|
#include <stdio.h>
|
|
#include <SDL2/SDL.h>
|
|
#include <SDL2/SDL_rect.h>
|
|
#include <SDL2/SDL_render.h>
|
|
#include <SDL2/SDL_surface.h>
|
|
#include <SDL2/SDL_ttf.h>
|
|
#include <SDL2/SDL_pixels.h>
|
|
|
|
#define CPU_STATS_DISPLAY_WIDTH 640
|
|
#define CPU_STATS_DISPLAY_HEIGHT 480
|
|
#define CPU_STATS_DISPLAY_COLUMN_COUNT 40
|
|
#define CPU_STATS_DISPLAY_ROW_COUNT 30
|
|
|
|
static const char *cpu_display_header_text = "CPU State Details";
|
|
|
|
void renderStatsBox(SDL_Renderer *, TTF_Font *, char *);
|
|
void renderBorderAndHeader(SDL_Renderer *, TTF_Font *);
|
|
|
|
#endif |