VideoTools
|
A callback interface for Gv::ViewerWindow. More...
#include <gvviewerwindow.h>
Public Member Functions | |
virtual void | onChar (char)=0 |
Called when a key is pressed. | |
virtual void | onMouseButtonDown (int x, int y, bool shift, bool control)=0 |
Called when the left mouse button is pressed. | |
virtual void | onMouseButtonUp (int x, int y, bool shift, bool control)=0 |
Called when the left mouse button is released. | |
virtual void | onMouseMove (int x, int y)=0 |
Called when the mouse moves (typically also depending on whether ViewerWindowConfig::m_mouse_moves is set). More... | |
virtual void | onInvalid ()=0 |
Called when the window needs to be re-display()ed. | |
virtual | ~ViewerWindowHandler () |
Destructor. | |
A callback interface for Gv::ViewerWindow.
Definition at line 48 of file gvviewerwindow.h.
|
pure virtual |
Called when the mouse moves (typically also depending on whether ViewerWindowConfig::m_mouse_moves is set).
Coordinates can be negative if the mouse is moved outside the window with the button pressed.