XRecolorCursor(3X11) | XLIB FUNCTIONS | XRecolorCursor(3X11) |
̾??¶
XRecolorCursor, XFreeCursor, XQueryBestCursor - ???????????????
????¶
XRecolorCursor(display, cursor,
foreground_color, background_color)
Display *display;
Cursor cursor;
XColor *foreground_color, *background_color;
XFreeCursor(display, cursor)
Display *display;
Cursor cursor;
Status XQueryBestCursor(display, d, width,
height, width_return, height_return)
Display *display;
Drawable d;
unsigned int width, height;
unsigned int *width_return, *height_return;
??????¶
- background_color
- ??????طʿ??? RGB ?ͤ????ꤹ?롣
- cursor
- ?????????????ꤹ?롣
- d
- ??????????ؼ????뤿???Υɥ??????֥??????ꤹ?롣
- display
- X ?????Фؤ???³?????ꤹ?롣
- foreground_color
- ????????ʿ??? RGB ?ͤ????ꤹ?롣
- width
-
- height
- ???????????????褦?Ȥ??Ƥ??륫???????????ȹ⤵?????ꤹ?롣
- width_return
-
- height_return
- ???ꤷ?????ȹ⤵?ˤǤ????????ᤤ???????????ȹ⤵???֤????롣
????¶
?ؿ? XRecolorCursor ?ϻ??ꤷ???????????ο????ѹ????롣 ???????뤬???????????ɽ???????Ƥ??????硢?????ѹ???¨?¤?ȿ?Ǥ????롣 XColor ??¤?Τ? pixel ?????Ф?̵?뤵?졢RGB ?ͤΤߤ????Ѥ????롣
XRecolorCursor ?ϥ??顼 BadCursor ???????Ȥ????롣
?ؿ? XFreeCursor ?ϥ????????????ID?Ȼ??ꤷ???????????Ȥδ֤δ?Ϣ?????????롣 ?????????Υ??????ϡ?¾?Υ?????????λ??Ȥ?̵???ʤä??????Dz????????롣 ?????ʹߤϻ??ꤷ??????????ID?˥??????????ƤϤʤ??ʤ???
XFreeCursor ?ϥ??顼 BadCursor ???????Ȥ????롣
?ǥ????ץ쥤?ˤ??äƤϡ?¾?Υǥ????ץ쥤?????礭?ʥ????????????ѤǤ??롣 ?ؿ? XQueryBestCursor ???Ȥ??С????Υǥ????ץ쥤???Ǽºݤ????ѤǤ??륫???????Υ????????Τ뤳 ?Ȥ??Ǥ??롣 ???δؿ???ɽ???Ǥ????????Υ????????֤??? ?礭???????????ݡ??Ȥ??Ƥ??ʤ??ǥ????ץ쥤???Ǥϡ????ץꥱ???????? ?Ͼ????????????????Ȥ??ʤ????Фʤ??ʤ???
XQueryBestCursor ?ϥ??顼 BadDrawable ???????Ȥ????롣
?֤???¶
- BadCursor
- ?????? Cursor ???ͤ????????????Ƥ??? Cursor ???ؤ??Ƥ??ʤ???
- BadDrawable
- ?????? Drawable ???ͤ????????????Ƥ??? Window ?? Pixmap ???ؤ??Ƥ??ʤ???
??Ϣ????¶
XCreateColormap(3X11), XCreateFontCursor(3X11), XDefineCusor(3X11)
Xlib - C Language X Interface
Release 6.5 | X Version 11 |