|
|
@ -105,10 +105,11 @@ typedef void (*window_resize_handler_t)(struct window *window, |
|
|
|
int32_t width, int32_t height, |
|
|
|
int32_t width, int32_t height, |
|
|
|
void *data); |
|
|
|
void *data); |
|
|
|
typedef void (*window_redraw_handler_t)(struct window *window, void *data); |
|
|
|
typedef void (*window_redraw_handler_t)(struct window *window, void *data); |
|
|
|
typedef void (*window_frame_handler_t)(struct window *window, uint32_t frame, uint32_t timestamp, void *data); |
|
|
|
|
|
|
|
typedef void (*window_key_handler_t)(struct window *window, struct input *input, |
|
|
|
typedef void (*window_key_handler_t)(struct window *window, struct input *input, |
|
|
|
uint32_t time, uint32_t key, uint32_t unicode, |
|
|
|
uint32_t time, uint32_t key, uint32_t unicode, |
|
|
|
uint32_t state, void *data); |
|
|
|
uint32_t state, void *data); |
|
|
|
|
|
|
|
|
|
|
|
typedef void (*window_keyboard_focus_handler_t)(struct window *window, |
|
|
|
typedef void (*window_keyboard_focus_handler_t)(struct window *window, |
|
|
|
struct input *device, void *data); |
|
|
|
struct input *device, void *data); |
|
|
|
|
|
|
|
|
|
|
@ -194,9 +195,6 @@ window_set_decoration(struct window *window, int decoration); |
|
|
|
void |
|
|
|
void |
|
|
|
window_set_resize_handler(struct window *window, |
|
|
|
window_set_resize_handler(struct window *window, |
|
|
|
window_resize_handler_t handler); |
|
|
|
window_resize_handler_t handler); |
|
|
|
void |
|
|
|
|
|
|
|
window_set_frame_handler(struct window *window, |
|
|
|
|
|
|
|
window_frame_handler_t handler); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void |
|
|
|
void |
|
|
|
window_set_key_handler(struct window *window, |
|
|
|
window_set_key_handler(struct window *window, |
|
|
@ -214,10 +212,6 @@ void |
|
|
|
window_set_keyboard_focus_handler(struct window *window, |
|
|
|
window_set_keyboard_focus_handler(struct window *window, |
|
|
|
window_keyboard_focus_handler_t handler); |
|
|
|
window_keyboard_focus_handler_t handler); |
|
|
|
|
|
|
|
|
|
|
|
void |
|
|
|
|
|
|
|
window_set_frame_handler(struct window *window, |
|
|
|
|
|
|
|
window_frame_handler_t handler); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void |
|
|
|
void |
|
|
|
display_set_global_handler(struct display *display, |
|
|
|
display_set_global_handler(struct display *display, |
|
|
|
display_global_handler_t handler); |
|
|
|
display_global_handler_t handler); |
|
|
|