diff --git a/clay.h b/clay.h index c7c50fc..aecc047 100644 --- a/clay.h +++ b/clay.h @@ -783,10 +783,10 @@ CLAY_DLL_EXPORT uint32_t Clay_MinMemorySize(void); CLAY_DLL_EXPORT Clay_Arena Clay_CreateArenaWithCapacityAndMemory(uint32_t capacity, void *memory); // Sets the state of the "pointer" (i.e. the mouse or touch) in Clay's internal data. Used for detecting and responding to mouse events in the debug view, // as well as for Clay_Hovered() and scroll element handling. -void Clay_SetPointerState(Clay_Vector2 position, bool pointerDown); +CLAY_DLL_EXPORT void Clay_SetPointerState(Clay_Vector2 position, bool pointerDown); // Gets the state of the "pointer". This will return the position provided by `Clay_SetPointerState` // and the frame pressed state. -Clay_PointerData Clay_GetPointerState(); +CLAY_DLL_EXPORT Clay_PointerData Clay_GetPointerState(); // Initialize Clay's internal arena and setup required data before layout can begin. Only needs to be called once. // - arena can be created using Clay_CreateArenaWithCapacityAndMemory() // - layoutDimensions are the initial bounding dimensions of the layout (i.e. the screen width and height for a full screen layout)