29 #ifndef _CEGUIInputEvent_h_
30 #define _CEGUIInputEvent_h_
32 #include "CEGUI/Base.h"
33 #include "CEGUI/EventArgs.h"
34 #include "CEGUI/String.h"
35 #include "CEGUI/Vector.h"
36 #include "CEGUI/Size.h"
39 # pragma warning(push)
40 # pragma warning(disable : 4251)
50 struct CEGUIEXPORT Key
242 InvalidSysKey = 0x8000
251 class CEGUIEXPORT WindowEventArgs :
public EventArgs
254 WindowEventArgs(Window* wnd) : window(wnd) {}
263 class CEGUIEXPORT UpdateEventArgs :
public WindowEventArgs
266 UpdateEventArgs(Window* window,
float tslf) :
267 WindowEventArgs(window),
268 d_timeSinceLastFrame(tslf)
271 float d_timeSinceLastFrame;
280 class CEGUIEXPORT MouseEventArgs :
public WindowEventArgs
283 MouseEventArgs(Window* wnd) : WindowEventArgs(wnd) {}
299 class CEGUIEXPORT MouseCursorEventArgs :
public EventArgs
302 MouseCursorEventArgs(MouseCursor* cursor) : mouseCursor(cursor) {}
304 MouseCursor* mouseCursor;
314 class CEGUIEXPORT KeyEventArgs :
public WindowEventArgs
317 KeyEventArgs(Window* wnd) : WindowEventArgs(wnd) {}
329 class CEGUIEXPORT ActivationEventArgs :
public WindowEventArgs
332 ActivationEventArgs(Window* wnd) : WindowEventArgs(wnd) {}
341 class CEGUIEXPORT DragDropEventArgs :
public WindowEventArgs
344 DragDropEventArgs(Window* wnd) : WindowEventArgs(wnd) {}
345 DragContainer* dragDropItem;
353 class CEGUIEXPORT DisplayEventArgs :
public EventArgs
356 DisplayEventArgs(
const Sizef& sz):
365 class CEGUIEXPORT ResourceEventArgs :
public EventArgs
368 ResourceEventArgs(
const String& type,
const String& name) :
380 class CEGUIEXPORT FontEventArgs :
public EventArgs
383 FontEventArgs(Font* font) :
393 #if defined(_MSC_VER)
394 # pragma warning(pop)
397 #endif // end of guard _CEGUIInputEvent_h_
The second 'extra' mouse button.
Definition: cegui/include/CEGUI/InputEvent.h:220
The first 'extra' mouse button.
Definition: cegui/include/CEGUI/InputEvent.h:239
Main namespace for Crazy Eddie's GUI Library.
Definition: cegui/include/CEGUI/Affector.h:42
Either alt key.
Definition: cegui/include/CEGUI/InputEvent.h:241
The left mouse button.
Definition: cegui/include/CEGUI/InputEvent.h:212
The left mouse button.
Definition: cegui/include/CEGUI/InputEvent.h:234
MouseButton
Enumeration of mouse buttons.
Definition: cegui/include/CEGUI/InputEvent.h:209
The right mouse button.
Definition: cegui/include/CEGUI/InputEvent.h:235
Value set for no mouse button. NB: This is not 0, do not assume!
Definition: cegui/include/CEGUI/InputEvent.h:224
The first 'extra' mouse button.
Definition: cegui/include/CEGUI/InputEvent.h:218
Either control key.
Definition: cegui/include/CEGUI/InputEvent.h:237
SystemKey
System key flag values.
Definition: cegui/include/CEGUI/InputEvent.h:232
Either shift key.
Definition: cegui/include/CEGUI/InputEvent.h:236
The middle mouse button.
Definition: cegui/include/CEGUI/InputEvent.h:238
utf32 value_type
Basic 'code point' type used for String (utf32)
Definition: cegui/include/CEGUI/String.h:69
The right mouse button.
Definition: cegui/include/CEGUI/InputEvent.h:214
Value that equals the number of mouse buttons supported by CEGUI.
Definition: cegui/include/CEGUI/InputEvent.h:222
The middle mouse button.
Definition: cegui/include/CEGUI/InputEvent.h:216
The second 'extra' mouse button.
Definition: cegui/include/CEGUI/InputEvent.h:240