-
Notifications
You must be signed in to change notification settings - Fork 55
MTY_ButtonEvent
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Button event.
typedef struct {
MTY_Button button;
int32_t x;
int32_t y;
bool pressed;
} MTY_ButtonEvent;
button
(MTY_Button
)
The button that has been pressed or released.
x
(int32_t
)
Horizontal position in the client area window.
y
(int32_t
)
Vertical position in the client area of the window.
pressed
(bool
)
State of the button.