IInteractiveShape.h
Go to the documentation of this file.
1 #ifndef iview_IInteractiveShape_included
2 #define iview_IInteractiveShape_included
3 
4 
5 // ACF includes
6 #include <iview/IShape.h>
8 
9 
10 namespace iview
11 {
12 
13 
14 class IShapeView;
15 
16 
20 class IInteractiveShape: virtual public IShape, virtual public IMouseActionObserver
21 {
22 public:
26  virtual bool IsSelected() const = 0;
27 
32  virtual void SetSelected(bool selectFlag = true) = 0;
33 };
34 
35 
36 } // namespace iview
37 
38 
39 #endif // !iview_IInteractiveShape_included
40 
41 
virtual void SetSelected(bool selectFlag=true)=0
Inform that this object was selected or deselected.
Common interface for all display console shapes which can interacts with user.
Common interface for all shapes which are mouse events receiver.
virtual bool IsSelected() const =0
Check, if this shape is selected.
Common interface for all display console shapes.
Definition: IShape.h:27

© 2007-2017 Witold Gantzke and Kirill Lepskiy