Gnash  0.8.11dev
MouseButtonState.h
Go to the documentation of this file.
1 // Thatcher Ulrich <tu@tulrich.com> 2003
2 
3 // This source code has been donated to the Public Domain. Do
4 // whatever you want with it.
5 
6 
7 #ifndef GNASH_MOUSE_BUTTON_STATE_H
8 #define GNASH_MOUSE_BUTTON_STATE_H
9 
10 #include "InteractiveObject.h"
11 
12 // Forward declarations
13 namespace gnash {
14  class MovieClip;
15 }
16 
17 namespace gnash {
18 
21 {
22 
23 public:
24 
27 
30 
32  bool wasDown;
33 
35  bool isDown;
36 
39 
41  :
42  activeEntity(0),
43  topmostEntity(0),
44  wasDown(false),
45  isDown(false),
47  {
48  }
49 
51  void markReachableResources() const {
54  }
55 };
56 
57 } // end namespace gnash
58 
59 
60 #endif // GNASH_MOUSE_BUTTON_STATE_H
61 
62 
63 // Local Variables:
64 // mode: C++
65 // c-basic-offset: 8
66 // tab-width: 8
67 // indent-tabs-mode: nil
68 // End: