Crazy Eddies GUI System: CEGUI::IrrlichtEventPusher Class Reference

Crazy Eddies GUI System 0.7.6

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Member Functions | Protected Attributes
CEGUI::IrrlichtEventPusher Class Reference

List of all members.

## Public Member Functions
| IrrlichtEventPusher (irr::gui::ICursorControl *ctrl)
bool | OnEvent (const SEvent &event)
bool | OnKeyDown (EKEY_CODE key, wchar_t wch, bool, bool)
bool | OnKeyUp (EKEY_CODE key, wchar_t, bool, bool)
bool | OnMouse (s32 x, s32 y, f32 w, EMOUSE_INPUT_EVENT e)
## Protected Member Functions
void | initCodes ()
uchar | getKeyCode (irr::EKEY_CODE kc)
## Protected Attributes
unsigned char | irr2ceCODE [irr::KEY_KEY_CODES_COUNT]

## Member Function Documentation

uchar CEGUI::IrrlichtEventPusher::getKeyCode | ( | irr::EKEY_CODE | kc | ) | `[inline, protected]`

translate the irrlicht keycode to cegui keycode

Parameters:

  kc | the irrlicht keycode

Returns:
  the cegui keycode

bool CEGUI::IrrlichtEventPusher::OnMouse | ( | s32 | x,
|  | s32 | y,
|  | f32 | w,
|  | EMOUSE_INPUT_EVENT | e
| ) |  | `[inline]`

Left mouse button was pressed down.

Right mouse button was pressed down.

Middle mouse button was pressed down.

Left mouse button was left up.

Right mouse button was left up.

Middle mouse button was left up.

The mouse cursor changed its position.

The mouse wheel was moved. Use Wheel value in event data to find out in what direction and how fast.

References CEGUI::System::getSingleton(), CEGUI::System::injectMouseButtonDown(), CEGUI::System::injectMouseButtonUp(), CEGUI::System::injectMousePosition(), CEGUI::System::injectMouseWheelChange(), CEGUI::LeftButton, CEGUI::MiddleButton, and CEGUI::RightButton.