VideoTools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Gv::ViewerWindowHandler Class Referenceabstract

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.
 

Detailed Description

A callback interface for Gv::ViewerWindow.

Definition at line 48 of file gvviewerwindow.h.

Member Function Documentation

virtual void Gv::ViewerWindowHandler::onMouseMove ( int  x,
int  y 
)
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.


The documentation for this class was generated from the following file: