#ifndef _RUNES_WINDOW_XLIB_H #define _RUNES_WINDOW_XLIB_H #include #include #include struct runes_window { RunesWindowBackend *wb; Window w; Window border_w; XIC ic; struct timespec last_redraw; cairo_t *backend_cr; unsigned int multi_clicks; void *multi_click_timer_event; unsigned int owns_selection: 1; unsigned int visual_bell_is_ringing: 1; unsigned int delaying: 1; unsigned int mouse_down: 1; }; RunesWindow *runes_window_new(RunesWindowBackend *wb); void runes_window_create_window(RunesTerm *t, int argc, char *argv[]); void runes_window_init_loop(RunesTerm *t, RunesLoop *loop); void runes_window_flush(RunesTerm *t); void runes_window_request_close(RunesTerm *t); unsigned long runes_window_get_window_id(RunesTerm *t); void runes_window_get_size(RunesTerm *t, int *xpixel, int *ypixel); void runes_window_set_icon_name(RunesTerm *t, char *name, size_t len); void runes_window_set_window_title(RunesTerm *t, char *name, size_t len); void runes_window_delete(RunesWindow *w); #endif