dillo  3.0.5
About: dillo is a small, fast, extensible Web browser particularly suitable for older or smaller computers and embedded systems (but only limited or no support for frames, CSS, JavaScript, Java).
  Fossies Dox: dillo-3.0.5.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

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__
dw::core::MousePositionEvent::yWidget
int yWidget
Definition: events.hh:51
dw::core::EventButton::numPressed
int numPressed
Definition: events.hh:60
dw::core::EventCrossing::lastWidget
Widget * lastWidget
Definition: events.hh:77
dw::core::BUTTON2_MASK
Definition: events.hh:21
dw::core::EventButton::button
int button
Definition: events.hh:61
dw::core::MousePositionEvent
Base class for all mouse events related to a specific position.
Definition: events.hh:48
dw::core::EventCrossing
Represents a enter or leave notify event.
Definition: events.hh:74
dw::core::EventButton
Represents a button press or release event.
Definition: events.hh:57
dw::core::CONTROL_MASK
Definition: events.hh:18
dw::core::MouseEvent
Base class for all mouse events.
Definition: events.hh:39
dw::core::BUTTON3_MASK
Definition: events.hh:22
dw::core::SHIFT_MASK
Definition: events.hh:17
dw::core::META_MASK
Definition: events.hh:19
lout::object::Object
This is the base class for many other classes, which defines very common virtual methods.
Definition: object.hh:24
dw::core::EventMotion
Represents a mouse motion event.
Definition: events.hh:67
dw::core::Event
Base class for all events.
Definition: events.hh:31
dw::core::MousePositionEvent::xWidget
int xWidget
Definition: events.hh:51
dw::core::MousePositionEvent::yCanvas
int yCanvas
Definition: events.hh:51
dw::core::MousePositionEvent::xCanvas
int xCanvas
Definition: events.hh:51
dw::core::ButtonState
ButtonState
Platform independent representation.
Definition: events.hh:14
dw::core::Widget
The base class of all dillo widgets.
Definition: widget.hh:23
dw
Dw is in this namespace, or sub namespaces of this one.
Definition: alignedtextblock.cc:26
dw::core::MouseEvent::state
ButtonState state
Definition: events.hh:42
dw::core::BUTTON1_MASK
Definition: events.hh:20
dw::core::EventCrossing::currentWidget
Widget * currentWidget
Definition: events.hh:77