clay/src/color.c
Gwendolyn d89ef83551 Reworked property system completely.
Properties can now have values of different types, and they are registered with their name, either to a layout class or globally.
Layout classes are also registered with their name.
2023-02-08 01:09:21 +01:00

11 lines
225 B
C

//
// Created by gwendolyn on 2/2/23.
//
#include "color.h"
clay_color clay_color_rgba(uint8_t r, uint8_t g, uint8_t b, uint8_t a) {
clay_color color = {.red = r, .green = g, .blue = b, .alpha = a};
return color;
}