The "xv" Package

These routines are meant to provide a convenience interface for querying X visuals.

Library: karmaX11
Link With: -lkarmaX11

Functions

xv_get_vinfosGet supported visuals available on a screen.
xv_get_visualsGet supported visuals available on a screen.
xv_get_visinfo_for_visualGet the visual information structure for a visual.
xv_get_visinfo_for_visual2Get the visual information structure for a visual.


Functions


void xv_get_vinfos (Screen *screen, XVisualInfo **pseudocolour, XVisualInfo **truecolour, XVisualInfo **directcolour)

Get supported visuals available on a screen.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe
Note:


void xv_get_visuals (Screen *screen, Visual **pseudocolour, Visual **truecolour, Visual **directcolour)

Get supported visuals available on a screen.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe
Note:


XVisualInfo * xv_get_visinfo_for_visual (Display *dpy, Visual *visual)

Get the visual information structure for a visual.

Parameters:

Returns: A pointer to an XVisualInfo structure on succes, else NULL. The XVisualInfo structure must be freed by XFree()
Multithreading Level: Unsafe


void xv_get_visinfo_for_visual2 (Display *dpy, Visual *visual, XVisualInfo *vinfo)

Get the visual information structure for a visual.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe


Back to Karma Home Page
Contact: Richard Gooch
Web Development: Ariel Internet Services