Moved FontDirection enum to Renderer.h
This commit is contained in:
1 parent
79944cfa13
commit
62d7c6d54e
2 files changed
+10
-9
No files matched your search
@@ -5,6 +5,7 @@
|
||||
#include "SDL_pixels.h"
|
||||
#include "SDL_render.h"
|
||||
#include "SDL_surface.h"
|
||||
#include "SDL_ttf.h"
|
||||
#include "SDL_video.h"
|
||||
#include "aliases.h"
|
||||
#include <aliases.h>
|
||||
@@ -21,6 +22,13 @@ typedef struct {
|
||||
i32 height;
|
||||
} TextSize;
|
||||
|
||||
typedef enum {
|
||||
FONT_DIRECTION_LTR = TTF_DIRECTION_LTR,
|
||||
FONT_DIRECTION_RTL = TTF_DIRECTION_RTL,
|
||||
FONT_DIRECTION_TTB = TTF_DIRECTION_TTB,
|
||||
FONT_DIRECTION_BTT = TTF_DIRECTION_BTT,
|
||||
} FontDirection;
|
||||
|
||||
typedef struct {
|
||||
f32 x;
|
||||
f32 y;
|
||||
|
||||
Reference in new issue
Block a user