struct KeyBehavior
This structure is used to describe the behavior of the keys when used in ScatterCtrl. It includes the keyboard 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.
int key
Set the char or virtual key that activates the action..
bool isVirtualKey
Set to true if the key is a K_... virtual key. If false, key is a real char like 'e' or '+'.
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.
|