Added aliases with sizes for the integer and floating-point numbers

This commit is contained in:
abdelrahman committed 2022-11-27 15:04:34 +00:00
1 parent 45f6021f82
commit 5e6211c2a9
14 files changed
+146 -136

No files matched your search

+6 -7
View File
@@ -5,22 +5,21 @@
#include "SDL.h"
#include "SDL_pixels.h"
#include <stdbool.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif // !__cplusplus
typedef struct window_size {
int32_t width;
int32_t height;
i32 width;
i32 height;
} WindowSize;
typedef struct drawing_area {
float x;
float y;
float width;
float height;
f32 x;
f32 y;
f32 width;
f32 height;
} WindowDrawingArea;
typedef struct window {