Scroll to navigation

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;

??????

??????طʿ??? RGB ?ͤ????ꤹ?롣
?????????????ꤹ?롣
?????꡼?????ؼ????뤿???Υɥ??????֥??????ꤹ?롣
X ?????Фؤ???³?????ꤹ?롣
????????ʿ??? RGB ?ͤ????ꤹ?롣

???????????????褦?Ȥ??Ƥ??륫???????????ȹ⤵?????ꤹ?롣

???ꤷ?????ȹ⤵?ˤǤ????????ᤤ???????????ȹ⤵???֤????롣

????

?ؿ? XRecolorCursor ?ϻ??ꤷ???????????ο????ѹ????롣 ???????뤬?????꡼??????ɽ???????Ƥ??????硢?????ѹ???¨?¤?ȿ?Ǥ????롣 XColor ??¤?Τ? pixel ?????Ф?̵?뤵?졢RGB ?ͤΤߤ????Ѥ????롣

XRecolorCursor ?ϥ??顼 BadCursor ?򵯤??????Ȥ????롣

?ؿ? XFreeCursor ?ϥ????????꥽????ID?Ȼ??ꤷ???????????Ȥδ֤δ?Ϣ?????????롣 ?????????Υ??????ϡ?¾?Υ꥽?????????λ??Ȥ?̵???ʤä??????Dz????????롣 ?????ʹߤϻ??ꤷ??????????ID?˥??????????ƤϤʤ??ʤ???

XFreeCursor ?ϥ??顼 BadCursor ?򵯤??????Ȥ????롣

?ǥ????ץ쥤?ˤ??äƤϡ?¾?Υǥ????ץ쥤?????礭?ʥ????????????ѤǤ??롣 ?ؿ? XQueryBestCursor ???Ȥ??С????Υǥ????ץ쥤???Ǽºݤ????ѤǤ??륫???????Υ????????Τ뤳 ?Ȥ??Ǥ??롣 ???δؿ???ɽ???Ǥ????????Υ????????֤??? ?礭???????????򥵥ݡ??Ȥ??Ƥ??ʤ??ǥ????ץ쥤???Ǥϡ????ץꥱ???????? ?Ͼ????????????????Ȥ??ʤ????Фʤ??ʤ???

XQueryBestCursor ?ϥ??顼 BadDrawable ?򵯤??????Ȥ????롣

?֤???

?????? Cursor ???ͤ????????????Ƥ??? Cursor ???ؤ??Ƥ??ʤ???
?????? Drawable ???ͤ????????????Ƥ??? Window ?? Pixmap ???ؤ??Ƥ??ʤ???

??Ϣ????

XCreateColormap(3X11), XCreateFontCursor(3X11), XDefineCusor(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11