tesseract  5.0.0-alpha-619-ge9db
scrollview.h File Reference
#include <cstdio>
#include <mutex>

Go to the source code of this file.

Classes

struct  SVEvent
 
class  SVEventHandler
 
class  ScrollView
 

Enumerations

enum  SVEventType {
  SVET_DESTROY, SVET_EXIT, SVET_CLICK, SVET_SELECTION,
  SVET_INPUT, SVET_MOUSE, SVET_MOTION, SVET_HOVER,
  SVET_POPUP, SVET_MENU, SVET_ANY, SVET_COUNT
}
 

Enumeration Type Documentation

◆ SVEventType

Enumerator
SVET_DESTROY 
SVET_EXIT 
SVET_CLICK 
SVET_SELECTION 
SVET_INPUT 
SVET_MOUSE 
SVET_MOTION 
SVET_HOVER 
SVET_POPUP 
SVET_MENU 
SVET_ANY 
SVET_COUNT 

Definition at line 44 of file scrollview.h.

44  {
45  SVET_DESTROY, // Window has been destroyed by user.
46  SVET_EXIT, // User has destroyed the last window by clicking on the 'X'.
47  SVET_CLICK, // Left button pressed.
48  SVET_SELECTION, // Left button selection.
49  SVET_INPUT, // There is some input (single key or a whole string).
50  SVET_MOUSE, // The mouse has moved with a button pressed.
51  SVET_MOTION, // The mouse has moved with no button pressed.
52  SVET_HOVER, // The mouse has stayed still for a second.
53  SVET_POPUP, // A command selected through a popup menu.
54  SVET_MENU, // A command selected through the menubar.
55  SVET_ANY, // Any of the above.
56 
57  SVET_COUNT // Array sizing.
58 };
SVET_DESTROY
Definition: scrollview.h:45
SVET_CLICK
Definition: scrollview.h:47
SVET_INPUT
Definition: scrollview.h:49
SVET_POPUP
Definition: scrollview.h:53
SVET_EXIT
Definition: scrollview.h:46
SVET_MOTION
Definition: scrollview.h:51
SVET_MOUSE
Definition: scrollview.h:50
SVET_COUNT
Definition: scrollview.h:57
SVET_ANY
Definition: scrollview.h:55
SVET_HOVER
Definition: scrollview.h:52
SVET_MENU
Definition: scrollview.h:54
SVET_SELECTION
Definition: scrollview.h:48