Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/lib/event/event.h @ 4962

Last change on this file since 4962 was 4836, checked in by bensch, 19 years ago

orxonox/trunk: renamed all the \param → @param and so on in Doxygen tags.
Thanks a lot to the kDevelop team. this took since the last commit :)

File size: 839 bytes
Line 
1/*!
2    \file event.h
3  *  an abstract event
4
5*/
6
7#ifndef _EVENT_H
8#define _EVENT_H
9
10
11#include "base_object.h"
12#include "event_def.h"
13#include "sdlincl.h"
14
15
16//! An abstract event class
17class Event : virtual public BaseObject {
18
19 public:
20  Event();
21  virtual ~Event();
22
23
24  int      offset;                      //!< offset in the event type array
25  int      type;                        //!< the type field
26  bool     bPressed;                    //!< is true, if the button/mouse was pressed, false if released
27
28  Uint16   x;                           //!< x coordinate
29  Uint16   y;                           //!< y coordinate
30  Sint16   xRel;                        //!< relative x movement to last point
31  Sint16   yRel;                        //!< relative y movement to last point
32
33  SDL_ResizeEvent resize;
34};
35
36#endif /* _EVENT_H */
Note: See TracBrowser for help on using the repository browser.