diff options
| author | realtradam <[email protected]> | 2023-03-08 00:19:55 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-03-08 00:19:55 -0500 |
| commit | 4b410af18ed7e76b42be1d2ab2ebdfe8e5bf97e8 (patch) | |
| tree | b6b20aa5470e240189c5e46288d9c261879d345c /include/rodeo_types.h | |
| parent | e58d0577634b1405a40a4b1ebd0a36323fa81970 (diff) | |
| download | RodeoKit-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.h | 33 |
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; |
