ScatterCtrl::MouseBehavior
|
|
struct MouseBehavior
This structure is used to describe the behavior of the mouse when used in ScatterCtrl. It includes the keyboard and mouse conditions that, when complied, will launch the indicated action.
bool ctrl
Set to true if Ctrl has to be pressed.
bool alt
Set to true if Alt has to be pressed.
bool shift
Set to true if Shift has to be pressed.
bool left
Set to true if mouse left button has to be pressed.
bool middle
Set to true if mouse middle button has to be pressed.
int middleWheel
Set to true if mouse middle wheel has to be rolled.
bool right
Set to true if mouse right button has to be pressed.
ScatterAction action
Is the action to be launched if the previous conditions are complied. It can be:
NO_ACTION No action.
SCROLL Scrolls the graphs.
ZOOM_H_ENL Zooms horizontally enlarging the graphs.
ZOOM_H_RED Zooms horizontally reducing the graphs.
ZOOM_V_ENL Zooms vertically enlarging the graphs.
ZOOM_V_RED Zooms horizontally reducing the graphs.
SHOW_INFO Shows an info label including mouse real X and Y coordinates.
ZOOM_WINDOW Zoom in the window selected by the mouse.
SCROLL_LEFT Scrolls left the graph.
SCROLL_RIGHT Scrolls right the graph.
SCROLL_UP Scrolls up the graph.
SCROLL_DOWN Scrolls down the graph.
|