mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-18 20:28:01 +00:00
added dll_export macro
This commit is contained in:
parent
0eb162e3a3
commit
af3d63ad0f
4
clay.h
4
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);
|
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,
|
// 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.
|
// 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`
|
// Gets the state of the "pointer". This will return the position provided by `Clay_SetPointerState`
|
||||||
// and the frame pressed state.
|
// 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.
|
// 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()
|
// - 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)
|
// - layoutDimensions are the initial bounding dimensions of the layout (i.e. the screen width and height for a full screen layout)
|
||||||
|
Loading…
Reference in New Issue
Block a user