Specific instance of the TSLInteractionModeManager that uses the technology of the given drawing surface. This instantiates an instance of the TSLInteractionModeDisplayGeneric class for use by the modes.
Note:
- This manager does not support the use of the magnify interaction mode.
- The mouse is not captured for line and rectangle echos.
|
| TSLInteractionModeManagerGeneric (TSLInteractionModeRequest *requestHandler, TSLDrawingSurface *drawingSurface, int maxViewStackSize=5, int numSavedViews=5, int mouseWheelZoomPercentage=30, bool lockCursorOnMouseWheel=false) |
|
virtual | ~TSLInteractionModeManagerGeneric () |
|
void * | operator new (size_t size) TSL_NO_THROW |
|
void | operator delete (void *self) |
|
void * | operator new (size_t size, char *filename, int line) |
|
virtual | ~TSLInteractionModeManager () |
|
bool | addMode (TSLInteractionMode *mode, bool isDefault) |
|
int | getCurrentMode (TSLInteractionMode **mode=0) const |
|
int | getMode (int nth, TSLInteractionMode **mode=0) const |
|
int | numModes () const |
|
void | onDraw (TSLDeviceUnits x1, TSLDeviceUnits y1, TSLDeviceUnits x2, TSLDeviceUnits y2) |
|
virtual bool | onLButtonDown (TSLDeviceUnits x, TSLDeviceUnits y, bool shift, bool control) |
|
virtual bool | onLButtonUp (TSLDeviceUnits x, TSLDeviceUnits y, bool shift, bool control) |
|
virtual bool | onMButtonDown (TSLDeviceUnits x, TSLDeviceUnits y, bool shift, bool control) |
|
virtual bool | onMButtonUp (TSLDeviceUnits x, TSLDeviceUnits y, bool shift, bool control) |
|
virtual bool | onMouseMove (TSLButtonType button, TSLDeviceUnits x, TSLDeviceUnits y, bool shift, bool control) |
|
bool | onMouseWheel (short delta, TSLDeviceUnits x, TSLDeviceUnits y) |
|
virtual bool | onRButtonUp (TSLDeviceUnits x, TSLDeviceUnits y, bool shift, bool control) |
|
virtual bool | onRButtonDown (TSLDeviceUnits x, TSLDeviceUnits y, bool shift, bool control) |
|
virtual bool | onGestureZoom (TSLDeviceUnits cx, TSLDeviceUnits cy, double zoomFactor) |
|
virtual bool | onGesturePan (TSLDeviceUnits startx, TSLDeviceUnits starty, TSLDeviceUnits endx, TSLDeviceUnits endy) |
|
virtual bool | onGestureRotate (TSLDeviceUnits cx, TSLDeviceUnits cy, double dblAngle) |
|
virtual bool | onGestureTap (TSLDeviceUnits x, TSLDeviceUnits y) |
|
virtual bool | onGesturePressAndTap (TSLDeviceUnits firstFingerX, TSLDeviceUnits firstFingerY, long lDelta) |
|
virtual bool | onGestureTwoFingerTap (TSLDeviceUnits cx, TSLDeviceUnits cy) |
|
void | onSize (TSLDeviceUnits cx, TSLDeviceUnits cy) |
|
TSLCursorStyle | queryCursor () |
|
const char * | queryPrompt () |
|
TSLInteractionMode * | removeMode (int id) |
|
void | resetMode (TSLButtonType button, TSLDeviceUnits x, TSLDeviceUnits y) |
|
bool | resetToExtent (const TSLEnvelope &extent, bool addToViewStack=true) |
|
bool | resetToFullExtent (bool addToViewStack=true) |
|
void | resetViews () |
|
bool | savedViewGet (int idx, TSLEnvelope &extent) |
|
bool | savedViewGoto (int idx) |
|
bool | savedViewReset () |
|
bool | savedViewSetToCurrent (int idx) |
|
bool | savedViewSet (int idx, const TSLEnvelope &extent) |
|
bool | savedViewValid (int idx) |
|
bool | setCurrentMode (int id) |
|
bool | setDefaultMode (int id) |
|
bool | setViewedExtent (const TSLEnvelope &extent, bool addToViewStack=true) |
|
void | viewChanged (bool addToViewStack) |
|
bool | viewStackGetCurrent (TSLEnvelope &extent) |
|
bool | viewStackGotoNext () |
|
bool | viewStackGotoPrevious () |
|
bool | viewStackNextValid () |
|
bool | viewStackPreviousValid () |
|
bool | viewStackReset () |
|
int | viewStackSize () |
|
bool | zoomIn (int zoomPercentage, bool addToViewStack=true) |
|
bool | zoomOut (int zoomPercentage, bool addToViewStack=true) |
|