Loading...
Searching...
No Matches
text.h
Go to the documentation of this file.
#ifndef ARC_SDL_TEXT_H_
#define ARC_SDL_TEXT_H_
#include "arc/std/string.h"
#include "arc/graphics/color.h"
#include "arc/math/rectangle.h"
#include <SDL.h>
typedef struct ARC_Text {
ARC_String *name;
int32_t size;
ARC_Color color;
SDL_Texture *texture;
ARC_Rect bounds;
} ARC_Text;
#endif // !ARC_SDL_TEXT_H_
color.h
ARC_Text
struct ARC_Text ARC_Text
Definition text.h:14
rectangle.h
string.h
ARC_Color
Definition color.h:10
ARC_Rect
Definition rectangle.h:12
ARC_String
substring position within a string
Definition string.h:14
ARC_Text
Definition text.h:10
ARC_Text::name
ARC_String * name
Definition text.h:11
ARC_Text::texture
SDL_Texture * texture
Definition text.h:16
ARC_Text::bounds
ARC_Rect bounds
Definition text.h:17
ARC_Text::color
ARC_Color color
Definition text.h:14
ARC_Text::size
int32_t size
Definition text.h:12