ICF 3.1.1.10
Technical documentation of ICF Libraries
IInteractiveShape.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#ifndef iview_IInteractiveShape_included
7#define iview_IInteractiveShape_included
8
9
10// ICF includes
11#include <iview/IShape.h>
13
14
15namespace iview
16{
17
18
19class IShapeView;
20
21
25class IInteractiveShape: virtual public IShape, virtual public IMouseActionObserver
26{
27public:
31 virtual bool IsSelected() const = 0;
32
37 virtual void SetSelected(bool selectFlag = true) = 0;
38};
39
40
41} // namespace iview
42
43
44#endif // !iview_IInteractiveShape_included
45
46
Common interface for all display console shapes which can interacts with user.
virtual void SetSelected(bool selectFlag=true)=0
Inform that this object was selected or deselected.
virtual bool IsSelected() const =0
Check, if this shape is selected.
Common interface for all shapes which are mouse events receiver.
Common interface for all display console shapes.
Definition IShape.h:37
In this library is defined 2D view concept and standard visualisation objects.

© Witold Gantzke and Kirill Lepskiy