Go to the documentation of this file.
17 #ifndef GZ_COMMON_KEYEVENT_HH_
18 #define GZ_COMMON_KEYEVENT_HH_
23 #include <gz/common/config.hh>
24 #include <gz/common/events/Export.hh>
32 class KeyEventPrivate;
57 public: EventType Type()
const;
61 public:
void SetType(
const EventType _type);
65 public:
int Key()
const;
69 public:
void SetKey(
const int _key);
82 public:
bool Control()
const;
86 public:
void SetControl(
const bool _control);
90 public:
bool Shift()
const;
94 public:
void SetShift(
const bool _shift);
98 public:
bool Alt()
const;
102 public:
void SetAlt(
const bool _alt);
Forward declarations for the common classes.
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
Microsoft Visual Studio does not automatically export the interface information for member variables ...
Definition: gz/common/SuppressWarning.hh:65
EventType
Key event types enumeration.
Definition: gz/common/KeyEvent.hh:39
Generic description of a keyboard event.
Definition: gz/common/KeyEvent.hh:36
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: gz/common/SuppressWarning.hh:68