|
Gnash 0.8.9
|
#include <InputDevice.h>
Public Member Functions | |
| TouchDevice () | |
| TouchDevice (Gui *gui) | |
| virtual | ~TouchDevice () |
| virtual bool | init () |
| virtual bool | init (const std::string &filespec, size_t size) |
| virtual bool | check () |
| void | apply_ts_calibration (float *cx, float *cy, int rawx, int rawy) |
Static Public Member Functions | |
| static std::vector < boost::shared_ptr < InputDevice > > | scanForDevices (Gui *gui) |
| gnash::TouchDevice::TouchDevice | ( | ) |
References GNASH_REPORT_FUNCTION.
Referenced by scanForDevices().
| gnash::TouchDevice::TouchDevice | ( | Gui * | gui | ) |
References gnash::InputDevice::_gui, and GNASH_REPORT_FUNCTION.
| gnash::TouchDevice::~TouchDevice | ( | ) | [virtual] |
| void gnash::TouchDevice::apply_ts_calibration | ( | float * | cx, |
| float * | cy, | ||
| int | rawx, | ||
| int | rawy | ||
| ) |
| bool gnash::TouchDevice::check | ( | ) | [virtual] |
Implements gnash::InputDevice.
References gnash::InputDevice::_gui, gnash::Gui::getStage(), gnash::movie_root::getStageHeight(), gnash::movie_root::getStageWidth(), gnash::Gui::getXScale(), gnash::Gui::getYScale(), GNASH_REPORT_FUNCTION, gnash::key::n, gnash::Gui::notifyMouseClick(), and gnash::Gui::notifyMouseMove().
| bool gnash::TouchDevice::init | ( | const std::string & | filespec, |
| size_t | size | ||
| ) | [virtual] |
Implements gnash::InputDevice.
References gnash::InputDevice::_filespec, gnash::InputDevice::_type, GNASH_REPORT_FUNCTION, and gnash::InputDevice::TOUCHSCREEN.
| bool gnash::TouchDevice::init | ( | ) | [virtual] |
Reimplemented from gnash::InputDevice.
| std::vector< boost::shared_ptr< InputDevice > > gnash::TouchDevice::scanForDevices | ( | Gui * | gui | ) | [static] |
Reimplemented from gnash::InputDevice.
References gnash::key::i, TouchDevice(), gnash::InputDevice::TOUCHSCREEN, and gnash::InputDevice::UNKNOWN.
1.7.3