[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
X11R6 Technical Reference

XQueryCrossHairCursor Extension Function

Purpose

Returns information about the size and colors in a cross-hair cursor for a particular display device.

Library

Enhanced X-Windows Library (libXext.a)

C Syntax

Status XQueryCrosshairCursor (DisplayPtr,  MinimumWidth, MaximumWidth,
                              BestWidth, Colors, Base)

Display *DisplayPtr;
short *MinimumWidth;
short *MaximumWidth;
short *BestWidth;
int *Colors;
short  *Base

Description

The XQueryCrossHairCursor extension function returns the minimum width of the vertical and horizontal lines, the maximum width, the best width of a cross-hair cursor, and the number of colors in a cross-hair cursor for a particular display device.

Parameters

Base Returns the type of base supported by the DisplayPtr-screenbase, windowbase, both windowbase and screenbase.
BestWidth Returns the best width of the vertical and horizontal cross hairs.
Colors Returns the number of colors the hardware supports for a cross-hair cursor.
DisplayPtr Specifies the connection to the X server.
MaximumWidth Returns the maximum width of the vertical and horizontal cross hairs.
MinimumWidth Returns the minimum width of the vertical and horizontal cross hairs.

Return Values

True Indicates that the XQueryCrossHairCursor extension function is successful.
False Indicates that the XQueryCrossHairCursor extension function is not successful.

Related Information

Using Extensions in AIXwindows in AIX Version 4.3 AIXwindows Programming Guide.

AIXwindows Overview for Programmers in AIX Version 4.3 AIXwindows Programming Guide.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]