diff --git a/clay.h b/clay.h index d601ff54..2186be72 100644 --- a/clay.h +++ b/clay.h @@ -313,9 +313,6 @@ CLAY__WRAPPER_STRUCT(Clay_TextElementConfig); typedef struct { void* imageData; Clay_Dimensions sourceDimensions; - #ifdef CLAY_EXTEND_CONFIG_IMAGE - CLAY_EXTEND_CONFIG_IMAGE - #endif } Clay_ImageElementConfig; CLAY__WRAPPER_STRUCT(Clay_ImageElementConfig); @@ -357,11 +354,7 @@ CLAY__WRAPPER_STRUCT(Clay_FloatingElementConfig); // Custom typedef struct { - #ifndef CLAY_EXTEND_CONFIG_CUSTOM void* customData; - #else - CLAY_EXTEND_CONFIG_CUSTOM - #endif } Clay_CustomElementConfig; CLAY__WRAPPER_STRUCT(Clay_CustomElementConfig); @@ -394,9 +387,6 @@ typedef struct { typedef struct { Clay_Color color; Clay_BorderWidth width; - #ifdef CLAY_EXTEND_CONFIG_BORDER - CLAY_EXTEND_CONFIG_BORDER - #endif } Clay_BorderElementConfig; CLAY__WRAPPER_STRUCT(Clay_BorderElementConfig); diff --git a/examples/shared-layouts/clay-video-demo.c b/examples/shared-layouts/clay-video-demo.c index a12fa0d2..4b31426d 100644 --- a/examples/shared-layouts/clay-video-demo.c +++ b/examples/shared-layouts/clay-video-demo.c @@ -11,7 +11,7 @@ void RenderHeaderButton(Clay_String text) { .cornerRadius = CLAY_CORNER_RADIUS(5) }) { CLAY_TEXT(text, CLAY_TEXT_CONFIG({ - .font = FONT_ID_BODY_16, + .fontId = FONT_ID_BODY_16, .fontSize = 16, .textColor = { 255, 255, 255, 255 } }));