diff options
author | kdx <kikoodx@paranoici.org> | 2023-02-13 14:11:18 +0100 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-02-13 14:11:18 +0100 |
commit | eff3bfdd813490f028e9e2f9ab1e37fa50671893 (patch) | |
tree | a2c16f042750e9c066f0308b25ca415855693d9e /headers/TZR_types.h | |
parent | a3afe85dfc256488baa4fe6a15cdd7c17137a2cf (diff) | |
download | tzr-eff3bfdd813490f028e9e2f9ab1e37fa50671893.tar.gz |
basic events
Diffstat (limited to 'headers/TZR_types.h')
-rw-r--r-- | headers/TZR_types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/headers/TZR_types.h b/headers/TZR_types.h index 511e5a2..f83d764 100644 --- a/headers/TZR_types.h +++ b/headers/TZR_types.h @@ -7,6 +7,10 @@ enum TZR_ResourceType { TZR_RES_IMAGE, }; +enum TZR_EventType { + TZR_EV_QUIT, +}; + typedef unsigned int TZR_Uint; typedef struct TZR_Point TZR_Point; typedef struct TZR_Rect TZR_Rect; @@ -14,6 +18,8 @@ typedef enum TZR_ResourceType TZR_ResourceType; typedef struct TZR_Image TZR_Image; typedef struct TZR_Resource TZR_Resource; typedef struct TZR_Element TZR_Element; +typedef enum TZR_EventType TZR_EventType; +typedef struct TZR_Event TZR_Event; struct TZR_Point { int x; @@ -44,3 +50,7 @@ struct TZR_Element { TZR_Resource *resource; TZR_Element *next; }; + +struct TZR_Event { + TZR_EventType type; +}; |