aboutsummaryrefslogtreecommitdiff
path: root/headers/TZR_types.h
diff options
context:
space:
mode:
authorkdx <kdx.42@42l.fr>2023-02-21 04:15:31 +0000
committerkdx <kdx.42@42l.fr>2023-02-21 04:15:31 +0000
commit51caab960591a0295cfbb7d2f7be2bc8e763f492 (patch)
tree555bf630c18ac09eb40095d6d7e1f57b065cff14 /headers/TZR_types.h
parent546e5c6ea3c14f949b94085973c7c2fe8432978e (diff)
downloadtzr-51caab960591a0295cfbb7d2f7be2bc8e763f492.tar.gz
complex color management
Diffstat (limited to 'headers/TZR_types.h')
-rw-r--r--headers/TZR_types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/headers/TZR_types.h b/headers/TZR_types.h
index 06bb7a6..39c3203 100644
--- a/headers/TZR_types.h
+++ b/headers/TZR_types.h
@@ -15,6 +15,7 @@ enum TZR_EventType {
typedef unsigned int TZR_Uint;
typedef struct TZR_Config TZR_Config;
typedef struct TZR_Point TZR_Point;
+typedef struct TZR_Color TZR_Color;
typedef struct TZR_Rect TZR_Rect;
typedef enum TZR_ResourceType TZR_ResourceType;
typedef struct TZR_Raw TZR_Raw;
@@ -36,6 +37,14 @@ struct TZR_Point {
int y;
};
+struct TZR_Color {
+ int _;
+ float r;
+ float g;
+ float b;
+ float a;
+};
+
struct TZR_Rect {
TZR_Point from;
TZR_Point to;