Go to the documentation of this file.
6#ifndef iview_ITouchable_included
7#define iview_ITouchable_included
Index implementation for addressing elements in 2D-space.
This interface describes all untransparent GUI objects, which can be touched.
virtual TouchState IsTouched(istd::CIndex2d position) const =0
Check, if any shape is touched.
virtual QString GetShapeDescriptionAt(istd::CIndex2d position) const =0
Get description to shape at specified position.
TouchState
Enumeration for possible shape touch states.
@ TS_DRAGGABLE
Draggable element is touched.
@ TS_OTHER
Other element is touched.
@ TS_TRANSPARENT
Transparent part is touched.
@ TS_NONE
Nothing is touched.
@ TS_INACTIVE
Inactive element is touched.
@ TS_LAST
Last value in this enum.
@ TS_TICKER
Ticker is touched.
In this library is defined 2D view concept and standard visualisation objects.
© Witold Gantzke and Kirill Lepskiy