22 clickHndPtr->OnClick();
28 modifiers.set(mdValue,state);
34 dragHndPtr = handlerPtr;
41 clickHndPtr = handlerPtr;
48 motionHndPtr = handlerPtr;
56 buttonsState.set(btn);
58 buttonsState.reset(btn);
void SetDragHandler(DragHandler *handlerPtr)
Sets the drag handler.
void SetModifierState(ModifierID mdValue, bool state)
Sets the modifier state on last event.
MouseControl * mouseCtrlPtr
Pointer to mouse controller.
MouseControl()
Creates an unitialized mouse controller.
MouseControl * mouseCtrlPtr
Pointer to mouse controller.
void SetClickHandler(ClickHandler *handlerPtr)
Sets the click handler.
ViewerGlutOGL * viewerPtr
Pointer to owner viewer.
void NewEvent(ButtonID btn, StateID newState)
Registers new button event.
ViewerGlutOGL * viewerPtr
Pointer to owner viewer.
void OnClick()
Activates click handler, if any.
ViewerGlutOGL * viewerPtr
Pointer to owner viewer.
Header file for V-ART class "MouseControl".
void SetMotionHandler(MotionHandler *handlerPtr)
Sets the motion handler.
MouseControl * mouseCtrlPtr
Pointer to mouse controller.