Add an orange pop-up menu to test the new map_transient request

This commit is contained in:
Kristian Høgsberg 2011-01-21 18:03:15 -05:00
parent 8dc378ff76
commit 248c1b61ce
10 changed files with 140 additions and 20 deletions

View file

@ -127,8 +127,16 @@ typedef void (*display_global_handler_t)(struct display *display,
uint32_t version);
struct window *
window_create(struct display *display, const char *title,
int32_t width, int32_t height);
window_create(struct display *display, int32_t width, int32_t height);
struct window *
window_create_transient(struct display *display, struct window *parent,
int32_t x, int32_t y, int32_t width, int32_t height);
void
window_destroy(struct window *window);
void
window_set_title(struct window *window, const char *title);
void
window_move(struct window *window, struct input *input, uint32_t time);