Public Member Functions |
virtual bool | injectMouseMove (float delta_x, float delta_y)=0 |
| Function that injects a mouse movement event into the receiver.
|
virtual bool | injectMouseLeaves ()=0 |
| Function that notifies that the mouse has left the host area that the receiver receives input for.
|
virtual bool | injectMouseButtonDown (MouseButton button)=0 |
| Function that injects a mouse button down event into the receiver.
|
virtual bool | injectMouseButtonUp (MouseButton button)=0 |
| Function that injects a mouse button up event into the receiver.
|
virtual bool | injectKeyDown (Key::Scan scan_code)=0 |
| Function that injects a key down event into the receiver.
|
virtual bool | injectKeyUp (Key::Scan scan_code)=0 |
| Function that injects a key up event into the receiver.
|
virtual bool | injectChar (String::value_type code_point)=0 |
| Function that injects a typed character event into the receiver.
|
virtual bool | injectMouseWheelChange (float delta)=0 |
| Function that injects a mouse-wheel / scroll-wheel event into the receiver.
|
virtual bool | injectMousePosition (float x_pos, float y_pos)=0 |
| Function that injects a new position for the mouse cursor.
|
virtual bool | injectTimePulse (float timeElapsed)=0 |
| Function to inject time pulses into the receiver.
|
virtual bool | injectMouseButtonClick (const MouseButton button)=0 |
| Function to directly inject a mouse button click event.
|
virtual bool | injectMouseButtonDoubleClick (const MouseButton button)=0 |
| Function to directly inject a mouse button double-click event.
|
virtual bool | injectMouseButtonTripleClick (const MouseButton button)=0 |
| Function to directly inject a mouse button triple-click event.
|
virtual bool | injectCopyRequest ()=0 |
| Tells the receiver to perform a clipboard copy operation.
|
virtual bool | injectCutRequest ()=0 |
| Tells the system to perform a clipboard cut operation.
|
virtual bool | injectPasteRequest ()=0 |
| Tells the system to perform a clipboard paste operation.
|
Input injection interface to be inplemented by classes that take raw inputs.
virtual bool CEGUI::InjectedInputReceiver::injectMouseButtonTripleClick |
( |
const MouseButton |
button | ) |
|
|
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.
- Note
- Under normal, default settings, this event is automatically generated by the system from the regular up and down events you inject. You may use this function directly, though you'll probably want to disable the automatic click event generation first by using the setMouseClickEventGenerationEnabled function - this setting controls the auto-generation of events and also determines the default 'handled' state of the injected click events according to the rules used for mouse up/down events.
- Parameters
-
button | One of the MouseButton enumerated values. |
- Returns
- true if some window or handler reported that it handled the event.
- false if nobody handled the event.
Implemented in CEGUI::GUIContext.