ark::gui::xcb
Classes
- ark::gui::xcb::ScreenDetails
Details about the X11 screen connection.
Functions
Declared in “ark/gui/xcb_utils.hh”:
-
ScreenDetails get_screen_details(xcb_connection_t * connection)
Retrieves screen and communications protocol details from the X11 connection. -
xcb_window_t create_full_screen_window(xcb_connection_t * connection, const ScreenDetails & details)
Creates a new X11 window, marks it as full screen, and returns the identifier used. -
xcb_gcontext_t create_graphics_context(xcb_connection_t * connection, xcb_window_t window_id, const ScreenDetails & details)
Creates a new graphical context, useful for drawing. -
void draw_image(xcb_connection_t * connection, const ScreenDetails & details, xcb_window_t window_id, xcb_gcontext_t graphic_context, const ark::core::ByteBuffer & image_buffer)
Draws an image (assumed to cover the entire screen).