Skip to content

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;

Members

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.

See also

Module: App

Clone this wiki locally