mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-18 20:28:01 +00:00
update signature of debug view close button handler
This commit is contained in:
parent
f298e34bdc
commit
80caa0f4e7
2
clay.h
2
clay.h
@ -3205,7 +3205,7 @@ void Clay__RenderDebugViewCornerRadius(Clay_CornerRadius cornerRadius, Clay_Text
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void HandleDebugViewCloseButtonInteraction(Clay_ElementId elementId, Clay_PointerData pointerInfo, intptr_t userData) {
|
void HandleDebugViewCloseButtonInteraction(Clay_ElementId elementId, Clay_PointerData pointerInfo, void *userData) {
|
||||||
Clay_Context* context = Clay_GetCurrentContext();
|
Clay_Context* context = Clay_GetCurrentContext();
|
||||||
(void) elementId; (void) pointerInfo; (void) userData;
|
(void) elementId; (void) pointerInfo; (void) userData;
|
||||||
if (pointerInfo.state == CLAY_POINTER_DATA_PRESSED_THIS_FRAME) {
|
if (pointerInfo.state == CLAY_POINTER_DATA_PRESSED_THIS_FRAME) {
|
||||||
|
Loading…
Reference in New Issue
Block a user