Crazy Eddie's GUI System
0.8.1
|
Input injection interface to be inplemented by classes that take raw inputs. More...
Public Member Functions | |
virtual bool | injectMouseMove (float delta_x, float delta_y)=0 |
Function that injects a mouse movement event into the receiver. More... | |
virtual bool | injectMouseLeaves ()=0 |
Function that notifies that the mouse has left the host area that the receiver receives input for. More... | |
virtual bool | injectMouseButtonDown (MouseButton button)=0 |
Function that injects a mouse button down event into the receiver. More... | |
virtual bool | injectMouseButtonUp (MouseButton button)=0 |
Function that injects a mouse button up event into the receiver. More... | |
virtual bool | injectKeyDown (Key::Scan scan_code)=0 |
Function that injects a key down event into the receiver. More... | |
virtual bool | injectKeyUp (Key::Scan scan_code)=0 |
Function that injects a key up event into the receiver. More... | |
virtual bool | injectChar (String::value_type code_point)=0 |
Function that injects a typed character event into the receiver. More... | |
virtual bool | injectMouseWheelChange (float delta)=0 |
Function that injects a mouse-wheel / scroll-wheel event into the receiver. More... | |
virtual bool | injectMousePosition (float x_pos, float y_pos)=0 |
Function that injects a new position for the mouse cursor. More... | |
virtual bool | injectTimePulse (float timeElapsed)=0 |
Function to inject time pulses into the receiver. More... | |
virtual bool | injectMouseButtonClick (const MouseButton button)=0 |
Function to directly inject a mouse button click event. More... | |
virtual bool | injectMouseButtonDoubleClick (const MouseButton button)=0 |
Function to directly inject a mouse button double-click event. More... | |
virtual bool | injectMouseButtonTripleClick (const MouseButton button)=0 |
Function to directly inject a mouse button triple-click event. More... | |
virtual bool | injectCopyRequest ()=0 |
Tells the receiver to perform a clipboard copy operation. More... | |
virtual bool | injectCutRequest ()=0 |
Tells the system to perform a clipboard cut operation. More... | |
virtual bool | injectPasteRequest ()=0 |
Tells the system to perform a clipboard paste operation. More... | |
Input injection interface to be inplemented by classes that take raw inputs.
|
pure virtual |
Function that injects a typed character event into the receiver.
code_point | Unicode or ASCII (depends on used String class) code point of the character that was typed. |
Implemented in CEGUI::GUIContext.
|
pure virtual |
Tells the receiver to perform a clipboard copy operation.
Implemented in CEGUI::GUIContext.
|
pure virtual |
Tells the system to perform a clipboard cut operation.
Implemented in CEGUI::GUIContext.
|
pure virtual |
Function that injects a key down event into the receiver.
key_code | uint value indicating which key was pressed. |
Implemented in CEGUI::GUIContext.
|
pure virtual |
Function that injects a key up event into the receiver.
key_code | Key::Scan value indicating which key was released. |
Implemented in CEGUI::GUIContext.
|
pure virtual |
Function to directly inject a mouse button click event.
Here 'click' means a mouse button down event followed by a mouse button up event.
button | One of the MouseButton enumerated values. |
Implemented in CEGUI::GUIContext.
|
pure virtual |
Function to directly inject a mouse button double-click event.
Here 'double-click' means a single mouse button had the sequence down, up, down within a predefined period of time.
button | One of the MouseButton enumerated values. |
Implemented in CEGUI::GUIContext.
|
pure virtual |
Function that injects a mouse button down event into the receiver.
button | One of the MouseButton values indicating which button was pressed. |
Implemented in CEGUI::GUIContext.
|
pure virtual |
Function to directly inject a mouse button triple-click event.
Here 'triple-click' means a single mouse button had the sequence down, up, down, up, down within a predefined period of time.
button | One of the MouseButton enumerated values. |
Implemented in CEGUI::GUIContext.
|
pure virtual |
Function that injects a mouse button up event into the receiver.
button | One of the MouseButton values indicating which button was released. |
Implemented in CEGUI::GUIContext.
|
pure virtual |
Function that notifies that the mouse has left the host area that the receiver receives input for.
Implemented in CEGUI::GUIContext.
|
pure virtual |
Function that injects a mouse movement event into the receiver.
delta_x | amount the mouse moved on the x axis. |
delta_y | amount the mouse moved on the y axis. |
Implemented in CEGUI::GUIContext.
|
pure virtual |
Function that injects a new position for the mouse cursor.
x_pos | New absolute pixel position of the mouse cursor on the x axis. |
y_pos | New absolute pixel position of the mouse cursoe in the y axis. |
Implemented in CEGUI::GUIContext.
|
pure virtual |
Function that injects a mouse-wheel / scroll-wheel event into the receiver.
delta | float value representing the amount the wheel moved. |
Implemented in CEGUI::GUIContext.
|
pure virtual |
Tells the system to perform a clipboard paste operation.
Implemented in CEGUI::GUIContext.
|
pure virtual |
Function to inject time pulses into the receiver.
timeElapsed | float value indicating the amount of time passed, in seconds, since the last time this method was called. |
Implemented in CEGUI::GUIContext.