|
| static void | window_deco_titlebar_rect (window_t *win, element_t *elem, rect_t *rect) |
| |
| static void | window_deco_button_rect (window_t *win, element_t *elem, rect_t *rect, uint64_t index) |
| |
| static void | window_deco_draw_titlebar (window_t *win, element_t *elem, drawable_t *draw) |
| |
| static void | window_deco_handle_dragging (window_t *win, element_t *elem, const event_mouse_t *event) |
| |
| static uint64_t | window_deco_init_controls (window_t *win, element_t *elem, deco_private_t *private) |
| |
| static uint64_t | window_deco_init (window_t *win, element_t *elem) |
| |
| static void | window_deco_free (element_t *elem) |
| |
| static void | window_deco_redraw (window_t *win, element_t *elem) |
| |
| static void | window_deco_action (window_t *win, const event_lib_action_t *action) |
| |
| static void | window_deco_report (window_t *win, element_t *elem, const event_report_t *report) |
| |
| static uint64_t | window_deco_procedure (window_t *win, element_t *elem, const event_t *event) |
| |
| window_t * | window_new (display_t *disp, const char *name, const rect_t *rect, surface_type_t type, window_flags_t flags, procedure_t procedure, void *private) |
| | Allocate and initialize a new window.
|
| |
| void | window_free (window_t *win) |
| | Free a window.
|
| |
| rect_t | window_get_rect (window_t *win) |
| | Get the window's rectangle in screen coordinates.
|
| |
| rect_t | window_get_local_rect (window_t *win) |
| |
| display_t * | window_get_display (window_t *win) |
| | Get the display associated with the window.
|
| |
| surface_id_t | window_get_id (window_t *win) |
| | Get the surface ID of the window.
|
| |
| surface_type_t | window_get_type (window_t *win) |
| | Get the surface type of the window.
|
| |
| element_t * | window_get_client_element (window_t *win) |
| | Get the client element of the window.
|
| |
| uint64_t | window_move (window_t *win, const rect_t *rect) |
| | Move and/or resize the window.
|
| |
| uint64_t | window_set_timer (window_t *win, timer_flags_t flags, clock_t timeout) |
| | Set the window timer.
|
| |
| void | window_invalidate (window_t *win, const rect_t *rect) |
| | Invalidate a rectangle of the window.
|
| |
| uint64_t | window_invalidate_flush (window_t *win) |
| | Flush invalidated rectangles to the DWM.
|
| |
| uint64_t | window_dispatch (window_t *win, const event_t *event) |
| | Dispatch an event to the window's elements.
|
| |
| uint64_t | window_set_focus (window_t *win) |
| | Set the focus to the window.
|
| |
| uint64_t | window_set_visible (window_t *win, bool isVisible) |
| | Set the visibility of the window.
|
| |