#include <mt_wndm.h>
Data Fields | |
long | timer |
time idle (in msec) between two MU_TIMER events. | |
int | bclick |
Number of click wished (1, 2 or 3) in MU_BUTTON event. | |
int | bmask |
Mouse buttons to wait for in MU_BUTTON event. | |
int | bstate |
Button state to wait for in MU_BUTTON event. | |
int | m1_flag |
type of mouse motion in MU_M1 event. | |
int | m1_x |
int | m1_y |
int | m1_w |
int | m1_h |
coordinate of rectangle for MU_M1 event | |
int | m2_flag |
type of mouse motion in MU_M2 event. | |
int | m2_x |
int | m2_y |
int | m2_w |
int | m2_h |
coordinate of rectangle for MU_M2 event | |
INT16 | mx |
INT16 | my |
After an event, contain mouse position at screen. | |
INT16 | mbut |
After an event, contains button state. | |
INT16 | mkstate |
After a MU_BUTTON event, contains keyboard shift state. | |
INT16 | keybd |
After a MU_KEYBD event, contains code of key hited. | |
INT16 | nb_click |
After a MU_BUTTON event, contains the number of clicks occured. |
Instead of giving a complexe parameters to EvntWindom(), as it is done with the AES function evnt_multi(), we have grouped these parameters in a structure variable, then we redefine only needed parameters or use the default/current values.
|
Number of click wished (1, 2 or 3) in MU_BUTTON event.
|
|
Mouse buttons to wait for in MU_BUTTON event.
|
|
Button state to wait for in MU_BUTTON event.
|
|
After a MU_KEYBD event, contains code of key hited.
|
|
type of mouse motion in MU_M1 event.
|
|
coordinate of rectangle for MU_M1 event
|
|
|
|
|
|
|
|
type of mouse motion in MU_M2 event.
|
|
coordinate of rectangle for MU_M2 event
|
|
|
|
|
|
|
|
After an event, contains button state. Same value than bstate. |
|
After a MU_BUTTON event, contains keyboard shift state.
|
|
|
|
After an event, contain mouse position at screen.
|
|
After a MU_BUTTON event, contains the number of clicks occured.
|
|
time idle (in msec) between two MU_TIMER events.
|