Adding some comments.

This commit is contained in:
2021-08-19 23:29:48 -07:00
parent 357c171d3a
commit 45a3ec30f5
9 changed files with 67 additions and 23 deletions

View File

@ -10,8 +10,11 @@
#include "../display/primitive.h"
#include "../display/gui/font.h"
/** Size of the border (in pixels) on each edge */
#define FRAME_BORDER_SIZE 16
/** Total border size for a given frame on each axis */
#define FRAME_BORDER_SIZE_FULL FRAME_BORDER_SIZE * 2
/** How many quads are within the frame */
#define FRAME_PRIMITIVE_COUNT 9
typedef struct {