DAS  3.1.6 - 18/09/2017
Data Fields
MMouseEvent Struct Reference

#include <Mguidefs.h>

+ Collaboration diagram for MMouseEvent:

Data Fields

unsigned int button
 button pressed/released (Button1, Button2 or Button3), 0 if no button involved More...
 
int scroll_delta
 scrolling lines (mouse wheel command) More...
 
unsigned int state
 buttons and key modifiers mask More...
 
int type
 Event type (E_BUTTON_PRESS, E_BUTTON_RELEASE, E_MOTION, E_MOUSE_WHEEL) More...
 
Window window
 Window which the event is directed to. More...
 
int x
 pointer x, y coordinates in event window More...
 
int x_root
 coordinates relative to root More...
 
int y
 
int y_root
 

Detailed Description

Mouse event. This structure is used to notify the application about four type of events related to mouse (E_BUTTON_PRESS, E_BUTTON_RELEASE, E_MOTION, E_MOUSE_WHEEL). You can get these events as callback parameter

Definition at line 610 of file Mguidefs.h.

Field Documentation

§ button

unsigned int MMouseEvent::button

button pressed/released (Button1, Button2 or Button3), 0 if no button involved

Definition at line 622 of file Mguidefs.h.

Referenced by DB_FilSelButtMouse_CB(), DB_HomeSelButtMouse_CB(), DB_KeyComSelButtMouse_CB(), DB_MirSelButtMouse_CB(), DB_NDFilSelButtMouse_CB(), DB_PushButtonMouse_CB(), DB_WlSelButtMouse_CB(), PopupMenuCB(), and PupAdvCal_CB().

§ scroll_delta

int MMouseEvent::scroll_delta

scrolling lines (mouse wheel command)

Definition at line 624 of file Mguidefs.h.

§ state

unsigned int MMouseEvent::state

buttons and key modifiers mask

Definition at line 620 of file Mguidefs.h.

Referenced by D2D_AreaInputTemp(), and DB_AreaInput().

§ type

int MMouseEvent::type

Event type (E_BUTTON_PRESS, E_BUTTON_RELEASE, E_MOTION, E_MOUSE_WHEEL)

Definition at line 612 of file Mguidefs.h.

Referenced by DB_KeyComSelButtMouse_CB(), DB_LampSelButtMouse_CB(), DB_MirSelButtMouse_CB(), DB_PushButtonMouse_CB(), and DB_Redraw_CB().

§ window

Window MMouseEvent::window

Window which the event is directed to.

Definition at line 614 of file Mguidefs.h.

§ x

int MMouseEvent::x

pointer x, y coordinates in event window

Definition at line 616 of file Mguidefs.h.

Referenced by ColorMapInputCB(), D2D_AreaInputTemp(), and DB_AreaInput().

§ x_root

int MMouseEvent::x_root

coordinates relative to root

Definition at line 618 of file Mguidefs.h.

Referenced by PopupMenuCB(), and PupAdvCal_CB().

§ y

int MMouseEvent::y

Definition at line 616 of file Mguidefs.h.

Referenced by ColorMapInputCB(), D2D_AreaInputTemp(), and DB_AreaInput().

§ y_root

int MMouseEvent::y_root

Definition at line 618 of file Mguidefs.h.

Referenced by PopupMenuCB(), and PupAdvCal_CB().


The documentation for this struct was generated from the following file:
______________________________________________________________________________________
Generated on Mon Sep 18 2017 11:47:16 for DAS - Rel. 3.1.6 - 18/09/2017.