[Mvpmc-cvs] mvplib/include mvp_widget.h,1.30,1.31
Status: Alpha
Brought to you by:
gettler
From: Jon G. <ge...@us...> - 2005-09-29 02:45:31
|
Update of /cvsroot/mvpmc/mvplib/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1489/include Modified Files: mvp_widget.h Log Message: Change mvpw_keystroke_callback() so that the callback returns the key pressed, and add mvpw_read_area(). Index: mvp_widget.h =================================================================== RCS file: /cvsroot/mvpmc/mvplib/include/mvp_widget.h,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** mvp_widget.h 26 Sep 2005 03:03:11 -0000 1.30 --- mvp_widget.h 29 Sep 2005 02:45:21 -0000 1.31 *************** *** 76,83 **** extern void mvpw_destroy(mvp_widget_t *widget); extern int mvpw_visible(const mvp_widget_t *widget); ! extern int mvpw_keystroke_callback(void (*callback)(void)); extern int mvpw_set_screensaver(mvp_widget_t *widget, int seconds, void (*callback)(mvp_widget_t*, int)); extern void mvpw_reparent(mvp_widget_t *child, mvp_widget_t *parent); /* --- 76,85 ---- extern void mvpw_destroy(mvp_widget_t *widget); extern int mvpw_visible(const mvp_widget_t *widget); ! extern int mvpw_keystroke_callback(void (*callback)(char)); extern int mvpw_set_screensaver(mvp_widget_t *widget, int seconds, void (*callback)(mvp_widget_t*, int)); extern void mvpw_reparent(mvp_widget_t *child, mvp_widget_t *parent); + extern int mvpw_read_area(mvp_widget_t *widget, int x, int y, int w, int h, + unsigned long *pixels); /* |