5 #ifndef __I_EVENT_RECEIVER_H_INCLUDED__ 6 #define __I_EVENT_RECEIVER_H_INCLUDED__ A checkbox has changed its check state.
size_t UserData2
Another user specified data as int.
The touch changed its position.
The application will be paused.
signed short s16
16 bit signed variable.
From Android command handler for native activity messages.
u32 Axes
The number of axes that the joystick has, i.e. X, Y, Z, R, U, V.
An event of the graphical user interface.
The mouse cursor changed its position.
core::stringc Name
The name that the joystick uses to identify itself.
A file has been selected in the file dialog.
SEvents hold information about an event. See irr::IEventReceiver for details on event handling.
Any kind of gyroscope event.
The application has been resumed.
A hat is definitely present.
EAPPLICATION_EVENT_TYPE EventType
EMOUSE_INPUT_EVENT
Enumeration for all mouse input events.
float f32
32 bit floating point variable.
gui::IGUIElement * Element
If the event has something to do with another element, it will be held here.
A scrollbar has changed its position.
Any kind of device motion event.
Right mouse button was left up.
char c8
8 bit character variable.
A directory has been selected in the file dialog.
A user event with user data.
ESYSTEM_EVENT_TYPE EventType
No real event. Just for convenience to get number of events.
struct SDeviceMotionEvent DeviceMotionEvent
currently only on windows
size_t UserData1
Some user specified data as int.
struct STouchInput TouchInput
A gui element has got the focus.
EAPPLICATION_EVENT_TYPE
Enumeration for a commonly used application state events (it's useful mainly for mobile devices)
Everything in the Irrlicht Engine can be found in this namespace.
An item in the listbox was selected, which was already selected.
A new item in a listbox was selected.
A file open dialog has been closed without choosing a file.
gui::EGUI_EVENT_TYPE EventType
Type of GUI Event.
const c8 * Text
Pointer to text which has been logged.
A tree view node was selected. See IGUITreeView::getLastEventNode().
struct SAccelerometerEvent AccelerometerEvent
The text in an editbox was changed. This does not include automatic changes in text-breaking.
Very simple string class with some useful features.
double f64
64 bit floating point variable.
u8 Joystick
The ID of the joystick.
unsigned char u8
8 bit unsigned variable.
s32 Cmd
APP_CMD_ enums defined in android_native_app_glue.h from the Android NDK.
No real event, but to get number of event types.
Middle mouse button was left up.
The marked area in an editbox was changed.
A joystick (joypad, gamepad) input event.
virtual ~IEventReceiver()
Destructor.
struct SJoystickEvent JoystickEvent
The value of a spin box has changed.
unsigned short u16
16 bit unsigned variable.
ETOUCH_INPUT_EVENT
Enumeration for all touch input events.
ELOG_LEVEL Level
Log level in which the text has been logged.
Interface of an object which can receive events.
'Yes' was clicked on a messagebox
Right mouse button was pressed down.
No real event, but to get number of event types.
u32 Buttons
The number of buttons that the joystick has.
Information on a joystick, returned from irr::IrrlichtDevice::activateJoysticks()
signed int s32
32 bit signed variable.
gui::IGUIElement * Caller
IGUIElement who called the event.
currently only on windows
In an editbox 'ENTER' was pressed.
u8 Joystick
The ID of the joystick which generated this event.
The application received a memory warning.
The mouse cursor hovered over a gui element.
unsigned int u32
32 bit unsigned variable.
Pass on raw events from the OS.
'OK' was clicked on a messagebox
The application will be terminated.
struct SSystemEvent SystemEvent
Left mouse button was pressed down.
A gui element has lost its focus.
EEVENT_TYPE
Enumeration for all event types there are.
struct SAndroidCmd AndroidCmd
Base class of all GUI elements.
EGUI_EVENT_TYPE
Enumeration for all events which are sendable by the gui system.
A tree view node was collapsed. See IGUITreeView::getLastEventNode().
A tree view node was expanded. See IGUITreeView::getLastEventNode().
The tab was changed in an tab control.
struct SGUIEvent GUIEvent
bool IsButtonPressed(u32 button) const
A helper function to check if a button is pressed.
Any kind of accelerometer event.
struct SMouseInput MouseInput
E_MOUSE_BUTTON_STATE_MASK
Masks for mouse button states.
The mouse cursor left the hovered element.
enum irr::SJoystickInfo::@4 PovHat
An indication of whether the joystick has a POV hat.
'No' was clicked on a messagebox
struct SApplicationEvent ApplicationEvent
struct SUserEvent UserEvent
The presence or absence of a hat cannot be determined.
Application state events like a resume, pause etc.
virtual bool OnEvent(const SEvent &event)=0
Called if an event happened.
Middle mouse button was pressed down.
The application will be resumed.
The selection in a combo box has been changed.
Android command handler native activity messages.
struct SGyroscopeEvent GyroscopeEvent
No real event. Just for convenience to get number of events.
struct SLogEvent LogEvent
A hat is definitely not present.
struct SKeyInput KeyInput
A menu item was selected in a (context) menu.
No real event. Just for convenience to get number of events.
Left mouse button was left up.
A tree view node lost selection. See IGUITreeView::getLastEventNode().
'Cancel' was clicked on a messagebox
The application has been paused.
An element would like to close.