Copyright

This program is free software.  You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Author

© 2013 Jörg Seebohn

Files

C-kern/api/platform/X11/x11window.h

Header file X11-Window.

C-kern/platform/X11/x11window.c

Implementation file X11-Window impl.

helper

lifetime

initvid_x11window

int initvid_x11window(
   out struct x11display_t *x11disp,
   uint32_t screennr,
   const struct x11window_evh_t *eventhandler,
   (X11) VisualID const struct windowconfig_t *winconf_attrib
)

Called from x11window_t.init_x11window.

query

update

helper

Functions

test

Offers support for displaying 2D output in a rectangular area called window on a screen served by an X11 display server.
Implements X11-Window.
int initvid_x11window(
   out struct x11display_t *x11disp,
   uint32_t screennr,
   const struct x11window_evh_t *eventhandler,
   (X11) VisualID const struct windowconfig_t *winconf_attrib
)
Called from x11window_t.init_x11window.
int init_x11window(/*out*/x11window_t *x11win,
struct x11display_t *x11disp,
uint32_t screennr,
const struct x11window_evh_t *eventhandler,
const int32_t *gconf_attrib,
const struct windowconfig_t *winconf_attrib)
Create a native X11 window on x11screen and assign it to x11win.
Close