sdl3 migrate now compiling, need to go through all the files and clean them up
This commit is contained in:
parent
df4390ddba
commit
1b2e2cb7f1
26 changed files with 1139 additions and 0 deletions
20
packages/graphics/sdl3/text.h
Normal file
20
packages/graphics/sdl3/text.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#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 <SDL3/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_
|
||||
Loading…
Add table
Add a link
Reference in a new issue