xcb_create_glyph_cursor

@brief create cursor

@param c The connection @param cid The ID with which you will refer to the cursor, created by xcb_generate_id. @param source_font In which font to look for the cursor glyph. @param mask_font In which font to look for the mask glyph. @param source_char The glyph of \a source_font to use. @param mask_char The glyph of \a mask_font to use as a mask: Pixels which are set to 1 define which source pixels are displayed. All pixels which are set to 0 are not displayed. @param fore_red The red value of the foreground color. @param fore_green The green value of the foreground color. @param fore_blue The blue value of the foreground color. @param back_red The red value of the background color. @param back_green The green value of the background color. @param back_blue The blue value of the background color. @return A cookie

Creates a cursor from a font glyph. X provides a set of standard cursor shapes in a special font named cursor. Applications are encouraged to use this interface for their cursors because the font can be customized for the individual display type.

All pixels which are set to 1 in the source will use the foreground color (as specified by \a fore_red, \a fore_green and \a fore_blue). All pixels set to 0 will use the background color (as specified by \a back_red, \a back_green and \a back_blue).

Meta