Button release event?
Button release event?
Is there an event with button release? For example click is irr::gui::EGET_BUTTON_CLICKED. Is there something like irr::gui::EGET_BUTTON_RELEASED ?
The click event happens when the mouse is released after it was pressed inside the button area. i.e. a click is a mouse down followed by a mouse up. The click event also happens when the enter/space key are pressed and released while the button has focus.
If you want to know when the mouse is pressed down or released over a control, you have to check that yourself, or make a custom control. You can tell what element is below the mouse by calling getElementFromPoint() on the root gui element.
Travis
If you want to know when the mouse is pressed down or released over a control, you have to check that yourself, or make a custom control. You can tell what element is below the mouse by calling getElementFromPoint() on the root gui element.
Travis
From Irrlicht API:
struct {
wchar_t Char
Character corresponding to the key (0, if not a character).
bool Control
true if ctrl was also pressed
EKEY_CODE Key
Key which has been pressed or released.
bool PressedDown
if not pressed, then the key was left up
bool Shift
true if shift was also pressed
} KeyInput