Halfway done
This commit is contained in:
28
include/letter.h
Normal file
28
include/letter.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef LETTER_H
|
||||
#define LETTER_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <SDL.h>
|
||||
#include "sdlhelpers.h"
|
||||
#include "utils.h"
|
||||
|
||||
struct Letter
|
||||
{
|
||||
SDL_Rect rect;
|
||||
|
||||
// Grid background color
|
||||
SDL_Color backgroundColor;
|
||||
|
||||
// Grid border thickness and color
|
||||
unsigned int border;
|
||||
SDL_Color borderColor;
|
||||
|
||||
int isFromPreviousMove;
|
||||
|
||||
int letterIndex;
|
||||
|
||||
};
|
||||
|
||||
#endif // LETTER_H
|
||||
Reference in New Issue
Block a user