libcvd
|
A summary of multiple events. More...
#include <glwindow.h>
Public Types | |
typedef std::map< int, int >::const_iterator | key_iterator |
typedef std::map< int, std::pair< ImageRef, int > >::const_iterator | mouse_iterator |
Public Member Functions | |
void | clear () |
Reset the summary. | |
bool | should_quit () const |
Has escape been pressed or the close button pressed? | |
Public Attributes | |
std::map< int, int > | key_down |
key->frequency mapping for key presses and releases | |
std::map< int, int > | key_up |
std::map< int, std::pair< ImageRef, int > > | mouse_down |
button->frequency mapping for mouse presses and releases | |
std::map< int, std::pair< ImageRef, int > > | mouse_up |
std::map< int, int > | events |
Generic window events -> frequency. | |
ImageRef | cursor |
last seen cursor position from mouse_move | |
bool | cursor_moved |
was the cursor moved during the recording of the history | |
A summary of multiple events.