mirror of
https://github.com/nicbarker/clay.git
synced 2025-12-25 18:41:06 +00:00
update signature of debug view close button handler
This commit is contained in:
parent
f8a20aadce
commit
c90a2fd8de
2
clay.h
2
clay.h
|
|
@ -3415,7 +3415,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 a new issue