Movie::NotifyMouseState

Movie::NotifyMouseState
virtual void NotifyMouseState(float x, float y, unsigned buttons, unsigned mouseIndex = 0) = 0;
Description

NotifyMouseState notifies the movie view that a mouse state has changed. This interface can be used to inform the movie about the current mouse state. For simple cases, it can be used instead of the event interface; changes in state will automatically generate internal events. Mouse notification should take place at regular intervals. The mouse coordinates need to be in the coordinate system of the viewport set by SetViewport

Note that this method is deprecated, instead use HandleEvent

Parameters
Parameters 
Description 
float x 
The x mouse cursor coordinate relative to the movie viewport. 
float y 
The y mouse cursor coordinate relative to the movie viewport. 
unsigned buttons 
The bit-packed mouse button state during notify call. Bit 0 corresponds to the first mouse button, bit 1 to the second one, and so on. The bit is set if the corresponding button is pressed; it is zero otherwise. 
unsigned mouseIndex = 0 
The index of the mouse button that was pressed.