XDeviceBell(3X11) | X FUNCTIONS | XDeviceBell(3X11) |
̾??¶
XDeviceBell - ???ϵ?ǽ??ĥ???̤??ƥ??ݡ??Ȥ????Ƥ????ǥХ????ǥ٥????Ĥ餹
????¶
Status XDeviceBell(display, device,
feedbackclass, feedbackid, percent)
Display *display;
XDevice *device;
XID *feedbackclass;
XID *feedbackid;
int *percent;
??????¶
- display
- X ?????Фؤ???³?????ꤹ?롣
- device
- ?٥뤬?б??????ǥХ????????ꤹ?롣
- feedbackclass
- ?٥뤬?б??????ե????ɥХå??Υ??饹?????ꤹ?롣
- feedbackid
- ?٥뤬?б??????ե????ɥХå???ID?????ꤹ?롣
- percent
- ?٥뤬?Ĥ벻?̤? -100 ???? 100 ???ϰϤǻ??ꤹ?롣
????¶
XDeviceBell ?ꥯ?????Ȥϡ?X ?????Ф˲?ǽ?Ǥ????С????ꤷ?? ?ǥХ????λ??ꤷ???ե????ɥХå??ǥ٥????Ĥ餹?? ???ꤷ?????̤ϥ٥??δ??ܲ??̤??Ф????????ͤǤ??롣 ?????ʥǥХ????????ꤵ?줿???硢BadDevice ???顼???֤????롣 ?????? feedbackclass ?? feedbackid ?ϡ?XGetFeedbackControl ?ꥯ?????Ȥ??֤??????ͤ????????Ĥ餵?????٥??????դ˼??̤??롣 ?٥??ݡ??Ȥ??Ƥ??ʤ? feedbackclass ?????ꤵ?줿?????䡢¸?ߤ??ʤ? feedbackid ?????ꤵ?줿?????䡢-100 ???? 100 ???ϰϤǤʤ??ѡ??????ȿ? ?????ꤵ?줿?????ˤϡ????顼 BadValue ???֤????롣
?????? percent ?????Ǥʤ??ͤξ????ˤϥ٥뤬?Ĥ벻?̤?
- base - [(base * percent) / 100] + percent
?Ȥʤ롣 ?????? percent ???????ͤξ????ˤϡ??٥뤬?Ĥ벻?̤?
- base + [(base * percent) / 100]
?Ȥʤ롣 ?٥??δ??ܲ??̤??Ѥ????ˤ? XChangeFeedbackControl ?????Ѥ??롣
XDeviceBell ?ϥ??顼 BadDevice, BadValue ?????? ?롣
?֤???¶
??Ϣ????¶
XChangeFeedbackControl(3X), XBell(3X)
Programming With Xlib
Release 6.5 | X Version 11 |