Dillo
events.hh
Go to the documentation of this file.
1 #ifndef __DW_EVENTS_HH__
2 #define __DW_EVENTS_HH__
3 
4 #ifndef __INCLUDED_FROM_DW_CORE_HH__
5 # error Do not include this file directly, use "core.hh" instead.
6 #endif
7 
8 namespace dw {
9 namespace core {
10 
15 {
16  /* We won't use more than these ones. */
17  SHIFT_MASK = 1 << 0,
18  CONTROL_MASK = 1 << 1,
19  META_MASK = 1 << 2,
20  BUTTON1_MASK = 1 << 3,
21  BUTTON2_MASK = 1 << 4,
22  BUTTON3_MASK = 1 << 5
23 };
24 
32 {
33 public:
34 };
35 
39 class MouseEvent: public Event
40 {
41 public:
43 };
44 
49 {
50 public:
52 };
53 
58 {
59 public:
60  int numPressed; /* 1 for simple click, 2 for double click, etc. */
61  int button;
62 };
63 
68 {
69 };
70 
75 {
76 public:
78 };
79 
80 } // namespace core
81 } // namespace dw
82 
83 #endif // __DW_EVENTS_HH__
int yWidget
Definition: events.hh:51
int button
Definition: events.hh:61
int numPressed
Definition: events.hh:60
ButtonState state
Definition: events.hh:42
Definition: events.hh:18
Definition: events.hh:22
This is the base class for many other classes, which defines very common virtual methods.
Definition: object.hh:24
Represents a button press or release event.
Definition: events.hh:57
Represents a enter or leave notify event.
Definition: events.hh:74
Base class for all mouse events.
Definition: events.hh:39
ButtonState
Platform independent representation.
Definition: events.hh:14
Definition: events.hh:19
Base class for all events.
Definition: events.hh:31
Widget * currentWidget
Definition: events.hh:77
The base class of all dillo widgets.
Definition: widget.hh:23
Base class for all mouse events related to a specific position.
Definition: events.hh:48
Definition: events.hh:17
int xCanvas
Definition: events.hh:51
Dw is in this namespace, or sub namespaces of this one.
Definition: alignedtablecell.cc:28
Represents a mouse motion event.
Definition: events.hh:67
Widget * lastWidget
Definition: events.hh:77
Definition: events.hh:20
int yCanvas
Definition: events.hh:51
int xWidget
Definition: events.hh:51
Definition: events.hh:21