4 #include <std/std_base.h> 14 #define WINDOW_TITLE_VIEW_HEIGHT 25 26 struct view* title_view;
27 struct view* content_view;
31 event_handler teardown_handler;
32 event_handler redraw_handler;
34 uint32_t last_draw_timestamp;
39 void window_teardown(
Window* window);
42 void remove_subwindow(
Window* window,
Window* subwindow);
45 void present_window(
Window* window);
48 void kill_window(
Window* window);
50 void set_border_width(
Window* window,
int width);
53 bool window_presented(
Window* w);