Inheritance diagram for Producer::KeyboardMouse:
Public Member Functions | |
KeyboardMouse (Producer::RenderSurface *rs) | |
KeyboardMouse (Producer::InputArea *inputArea) | |
void | update (KeyboardMouseCallback &, bool block=false) |
void | setCallback (KeyboardMouseCallback *cb) |
KeyboardMouseCallback * | getCallback () |
void | positionPointer (float x, float y) |
Producer::RenderSurface * | getRenderSurface () |
const Producer::RenderSurface * | getRenderSurface () const |
Producer::InputArea * | getInputArea () |
const Producer::InputArea * | getInputArea () const |
bool | computePixelCoords (float x, float y, RenderSurface *rs, float &pixel_x, float &pixel_y) |
Protected Member Functions | |
virtual | ~KeyboardMouse () |
bool | init () |
virtual void | run () |
Protected Attributes | |
KeyboardMouseImplementation * | _implementation |
Producer::ref_ptr< Producer::RenderSurface > | _rs |
Producer::ref_ptr< Producer::InputArea > | _inputArea |
Producer::ref_ptr< KeyboardMouseCallback > | _cb |
bool | _initialized |
|
|
|
|
|
|
|
compute, from normalized mouse coords (x,y) the, for the specified RenderSurface, the pixel coordinates (pixel_x,pixel_y). return true if pixel_x and pixel_y have been successful computed, otherwise return false with pixel_x and pixel_y left unchanged. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|