diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2020-01-04 17:55:18 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2020-01-04 17:55:18 +0000 |
commit | 1128148d76d7952d7aacfa2b083f5b5a96b4b4d5 (patch) | |
tree | 9291b9dfdfb4da1828705353be85e340f302e651 /lib/libX11/man/XRecolorCursor.man | |
parent | 7b7fd95cb6ee85ebe6d6d08b126b770770e86688 (diff) |
Uppdate to libX11 1.6.9. Tested by krw@ and naddy@
Diffstat (limited to 'lib/libX11/man/XRecolorCursor.man')
-rw-r--r-- | lib/libX11/man/XRecolorCursor.man | 83 |
1 files changed, 24 insertions, 59 deletions
diff --git a/lib/libX11/man/XRecolorCursor.man b/lib/libX11/man/XRecolorCursor.man index dfaec988a..670e26f0f 100644 --- a/lib/libX11/man/XRecolorCursor.man +++ b/lib/libX11/man/XRecolorCursor.man @@ -38,130 +38,95 @@ .\" to this documentation without specific, written prior permission. .\" Digital and Tektronix makes no representations about the suitability .\" of this documentation for any purpose. -.\" It is provided ``as is'' without express or implied warranty. -.\" +.\" It is provided "as is" without express or implied warranty. +.\" .\" .ds xT X Toolkit Intrinsics \- C Language Interface .ds xW Athena X Widgets \- C Language X Toolkit Interface .ds xL Xlib \- C Language X Interface .ds xC Inter-Client Communication Conventions Manual -.na -.de Ds -.nf -.\\$1D \\$2 \\$1 -.ft CW -.\".ps \\n(PS -.\".if \\n(VS>=40 .vs \\n(VSu -.\".if \\n(VS<=39 .vs \\n(VSp -.. -.de De -.ce 0 -.if \\n(BD .DF -.nr BD 0 -.in \\n(OIu -.if \\n(TM .ls 2 -.sp \\n(DDu -.fi -.. -.de IN \" send an index entry to the stderr -.. -.de Pn -.ie t \\$1\fB\^\\$2\^\fR\\$3 -.el \\$1\fI\^\\$2\^\fP\\$3 -.. -.de ZN -.ie t \fB\^\\$1\^\fR\\$2 -.el \fI\^\\$1\^\fP\\$2 -.. -.de hN -.ie t <\fB\\$1\fR>\\$2 -.el <\fI\\$1\fP>\\$2 -.. -.ny0 .TH XRecolorCursor __libmansuffix__ __xorgversion__ "XLIB FUNCTIONS" .SH NAME XRecolorCursor, XFreeCursor, XQueryBestCursor \- manipulate cursors .SH SYNTAX .HP int XRecolorCursor\^(\^Display *\fIdisplay\fP\^, Cursor \fIcursor\fP\^, XColor -*\fIforeground_color\fP\^, XColor *\fIbackground_color\fP\^); +*\fIforeground_color\fP\^, XColor *\fIbackground_color\fP\^); .HP -int XFreeCursor\^(\^Display *\fIdisplay\fP\^, Cursor \fIcursor\fP\^); +int XFreeCursor\^(\^Display *\fIdisplay\fP\^, Cursor \fIcursor\fP\^); .HP Status XQueryBestCursor\^(\^Display *\fIdisplay\fP\^, Drawable \fId\fP\^, unsigned int \fIwidth\fP\^, unsigned int \fIheight\fP\^, unsigned int -*\fIwidth_return\fP\^, unsigned int *\fIheight_return\fP\^); +*\fIwidth_return\fP\^, unsigned int *\fIheight_return\fP\^); .SH ARGUMENTS .IP \fIbackground_color\fP 1i Specifies the RGB values for the background of the source. .IP \fIcursor\fP 1i -Specifies the cursor. -.ds Dr , which indicates the screen +Specifies the cursor. .IP \fId\fP 1i -Specifies the drawable\*(Dr. +Specifies the drawable, which indicates the screen. .IP \fIdisplay\fP 1i Specifies the connection to the X server. .IP \fIforeground_color\fP 1i -Specifies the RGB values for the foreground of the source. -.ds Wh of the cursor that you want the size information for +Specifies the RGB values for the foreground of the source. .IP \fIwidth\fP 1i .br .ns .IP \fIheight\fP 1i -Specify the width and height\*(Wh. +Specify the width and height of the cursor that you want the size information for. .IP \fIwidth_return\fP 1i .br .ns .IP \fIheight_return\fP 1i -Return the best width and height that is closest to the specified width +Return the best width and height that is closest to the specified width and height. .SH DESCRIPTION The -.ZN XRecolorCursor +.B XRecolorCursor function changes the color of the specified cursor, and if the cursor is being displayed on a screen, the change is visible immediately. The pixel members of the -.ZN XColor +.B XColor structures are ignored; only the RGB values are used. .LP -.ZN XRecolorCursor +.B XRecolorCursor can generate a -.ZN BadCursor +.B BadCursor error. .LP The -.ZN XFreeCursor -function deletes the association between the cursor resource ID +.B XFreeCursor +function deletes the association between the cursor resource ID and the specified cursor. The cursor storage is freed when no other resource references it. The specified cursor ID should not be referred to again. .LP -.ZN XFreeCursor +.B XFreeCursor can generate a -.ZN BadCursor +.B BadCursor error. .LP Some displays allow larger cursors than other displays. The -.ZN XQueryBestCursor +.B XQueryBestCursor function provides a way to find out what size cursors are actually possible on the display. -.IN "Cursor" "limitations" +.IN "Cursor" "limitations" It returns the largest size that can be displayed. Applications should be prepared to use smaller cursors on displays that cannot support large ones. .LP -.ZN XQueryBestCursor +.B XQueryBestCursor can generate a -.ZN BadDrawable +.B BadDrawable error. .SH DIAGNOSTICS .TP 1i -.ZN BadCursor +.B BadCursor A value for a Cursor argument does not name a defined Cursor. .TP 1i -.ZN BadDrawable +.B BadDrawable A value for a Drawable argument does not name a defined Window or Pixmap. .SH "SEE ALSO" XCreateColormap(__libmansuffix__), |