summaryrefslogtreecommitdiffhomepage
path: root/include/rodeo_types.h
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-03-08 00:19:55 -0500
committerrealtradam <[email protected]>2023-03-08 00:19:55 -0500
commit4b410af18ed7e76b42be1d2ab2ebdfe8e5bf97e8 (patch)
treeb6b20aa5470e240189c5e46288d9c261879d345c /include/rodeo_types.h
parente58d0577634b1405a40a4b1ebd0a36323fa81970 (diff)
downloadRodeoKit-4b410af18ed7e76b42be1d2ab2ebdfe8e5bf97e8.tar.gz
RodeoKit-4b410af18ed7e76b42be1d2ab2ebdfe8e5bf97e8.zip
Continued cleanup and refactoring. Added string type.
Diffstat (limited to 'include/rodeo_types.h')
-rw-r--r--include/rodeo_types.h33
1 files changed, 16 insertions, 17 deletions
diff --git a/include/rodeo_types.h b/include/rodeo_types.h
index e35c482..bdd7ab7 100644
--- a/include/rodeo_types.h
+++ b/include/rodeo_types.h
@@ -4,36 +4,35 @@
#include <stdbool.h>
#include <stdint.h>
-typedef
-struct
+typedef struct
{
float red;
float green;
float blue;
float alpha;
}
-rodeo_\
-rgba_t;
+rodeo_rgba_t;
-typedef
-struct
+typedef struct
{
float x;
float y;
float z;
uint32_t abgr;
}
-rodeo_\
-position_color_vertex_t;
-//rodeo_poscolvert_t
-
-typedef
-struct
-rodeo_data_t
-*rodeo_data_p;
+rodeo_vertex_t;
typedef
void
-(*rodeo_\
-mainloop_func)
-(void);
+(*rodeo_mainloop_func)(void);
+
+typedef struct
+{
+ float x;
+ float y;
+ float width;
+ float height;
+}
+rodeo_rectangle_t;
+
+typedef union rodeo_string_t *rodeo_string_p;