XRecolorCursor man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XRecolorCursor()					      XRecolorCursor()

Name
  XRecolorCursor – change the color of a cursor.

Synopsis
  XRecolorCursor(display, cursor, foreground_color, background_color)
	Display *display;
	Cursor cursor;
	XColor *foreground_color, *background_color;

Arguments
  display   Specifies	a  connection  to  an  X  server;  returned  from
	    XOpenDisplay().

  cursor    Specifies the cursor ID.

  foreground_color
	    Specifies the red, green, and blue (RGB) values for the fore‐
	    ground.

  background_color
	    Specifies the red, green, and blue (RGB) values for the back‐
	    ground.

Description
  XRecolorCursor() applies a foreground and background color to a cursor.
  Cursors  are	normally created using a single plane pixmap, composed of
  0's and 1's, with one pixel value assigned to 1's and another	 assigned
  to 0's.  XRecolorCursor() changes these pixel values.	 If the cursor is
  being displayed on a screen, the change  is  visible	immediately.   On
  some servers, these color selections are read/write cells from the col‐
  ormap, and can't be shared by applications.

Structures
     typedef struct {
	 unsigned long pixel;
	 unsigned short red, green, blue;
	 char flags;	/* DoRed, DoGreen, DoBlue */
	 char pad;
     } XColor;

Errors
  BadCursor

See Also
  XCreateFontCursor(), XCreateGlyphCursor(), XCreatePixmapCursor(),  XDe‐
  fineCursor(), XFreeCursor(), XQueryBestCursor(), XQueryBestSize(), XUn‐
  defineCursor().

Xlib - Cursors						      XRecolorCursor()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net