Public Types | Public Member Functions | List of all members
iview::ITouchable Class Referenceabstract

This interface describes all untransparent GUI objects, which can be touched. More...

#include <ITouchable.h>

Inheritance diagram for iview::ITouchable:
istd::IPolymorphic iview::ISelectable iview::IShape iview::IViewLayer iview::ISelectableLayer iview::IShapeView iview::CShapeBase iview::IInteractiveShape iview::CViewLayer iview::ISelectableLayer iview::CInteractiveViewLayer iview::CViewBase iview::CImageShape iview::CInteractiveShapeBase iview::CPolypointShape iview::CInteractiveShapeBase iview::CInteractiveViewLayer iview::CInteractiveViewLayer

Public Types

enum  TouchState {
  TS_NONE, TS_INACTIVE, TS_TICKER, TS_DRAGGABLE,
  TS_OTHER, TS_LAST = TS_OTHER
}
 Enumeration for possible shape touch states. More...
 

Public Member Functions

virtual TouchState IsTouched (istd::CIndex2d position) const =0
 Check, if any shape is touched. More...
 
virtual QString GetShapeDescriptionAt (istd::CIndex2d position) const =0
 Get description to shape at specified position. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Detailed Description

This interface describes all untransparent GUI objects, which can be touched.

Definition at line 17 of file ITouchable.h.

Member Enumeration Documentation

Enumeration for possible shape touch states.

Enumerator
TS_NONE 

Nothing is touched.

TS_INACTIVE 

Inactive element is touched.

TS_TICKER 

Ticker is touched.

TS_DRAGGABLE 

Draggable element is touched.

TS_OTHER 

Other element is touched.

TS_LAST 

Last value in this enum.

Definition at line 24 of file ITouchable.h.

Member Function Documentation

virtual QString iview::ITouchable::GetShapeDescriptionAt ( istd::CIndex2d  position) const
pure virtual

Get description to shape at specified position.

Implemented in iview::CViewBase, iview::CShapeBase, iview::CInteractiveViewLayer, iview::CViewLayer, iview::CImageShape, and iview::CPolylineShape.

virtual TouchState iview::ITouchable::IsTouched ( istd::CIndex2d  position) const
pure virtual

The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy