better api for mouse
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@269 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
a5dae3ffd9
commit
d03ccea517
12 changed files with 132 additions and 86 deletions
|
|
@ -33,10 +33,10 @@
|
|||
* %brief Dispatches the handler of widget class
|
||||
* %param x Widget
|
||||
* %param y Handler name
|
||||
* %param name Property name
|
||||
* %param z Argument
|
||||
*/
|
||||
#define MwDispatch3(x, y, name) \
|
||||
if(x->widget_class != NULL && x->widget_class->y != NULL) x->widget_class->y(x, name)
|
||||
#define MwDispatch3(x, y, z) \
|
||||
if(x->widget_class != NULL && x->widget_class->y != NULL) x->widget_class->y(x, z)
|
||||
|
||||
#define MwWaitMS 5
|
||||
|
||||
|
|
@ -224,6 +224,13 @@ MWDECL void MwGetBeforeStep(MwWidget handle, jmp_buf* jmpbuf);
|
|||
*/
|
||||
MWDECL void MwForceRender(MwWidget handle);
|
||||
|
||||
/*!
|
||||
* %brief Forcefully makes widget render
|
||||
* %param handle Widget
|
||||
* %param ptr Ignored
|
||||
*/
|
||||
MWDECL void MwForceRender2(MwWidget handle, void* ptr);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue