|
|
@ -40,8 +40,14 @@ struct rectangle { |
|
|
|
struct display; |
|
|
|
struct display; |
|
|
|
struct input; |
|
|
|
struct input; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef void (*display_global_handler_t)(struct display *display, |
|
|
|
|
|
|
|
const char *interface, |
|
|
|
|
|
|
|
uint32_t id, |
|
|
|
|
|
|
|
uint32_t version); |
|
|
|
|
|
|
|
|
|
|
|
struct display * |
|
|
|
struct display * |
|
|
|
display_create(int *argc, char **argv[], const GOptionEntry *option_entries); |
|
|
|
display_create(int *argc, char **argv[], const GOptionEntry *option_entries, |
|
|
|
|
|
|
|
display_global_handler_t handler); |
|
|
|
|
|
|
|
|
|
|
|
struct wl_display * |
|
|
|
struct wl_display * |
|
|
|
display_get_display(struct display *display); |
|
|
|
display_get_display(struct display *display); |
|
|
@ -134,11 +140,6 @@ typedef int (*window_motion_handler_t)(struct window *window, |
|
|
|
int32_t x, int32_t y, |
|
|
|
int32_t x, int32_t y, |
|
|
|
int32_t sx, int32_t sy, void *data); |
|
|
|
int32_t sx, int32_t sy, void *data); |
|
|
|
|
|
|
|
|
|
|
|
typedef void (*display_global_handler_t)(struct display *display, |
|
|
|
|
|
|
|
const char *interface, |
|
|
|
|
|
|
|
uint32_t id, |
|
|
|
|
|
|
|
uint32_t version); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct window * |
|
|
|
struct window * |
|
|
|
window_create(struct display *display, int32_t width, int32_t height); |
|
|
|
window_create(struct display *display, int32_t width, int32_t height); |
|
|
|
struct window * |
|
|
|
struct window * |
|
|
@ -234,10 +235,6 @@ window_set_title(struct window *window, const char *title); |
|
|
|
const char * |
|
|
|
const char * |
|
|
|
window_get_title(struct window *window); |
|
|
|
window_get_title(struct window *window); |
|
|
|
|
|
|
|
|
|
|
|
void |
|
|
|
|
|
|
|
display_set_global_handler(struct display *display, |
|
|
|
|
|
|
|
display_global_handler_t handler); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct wl_drag * |
|
|
|
struct wl_drag * |
|
|
|
window_create_drag(struct window *window); |
|
|
|
window_create_drag(struct window *window); |
|
|
|
|
|
|
|
|
|
|
|