|
ACF $AcfVersion:0$
|
Common interface for all objects informed about shapes state changes. More...
#include <IShapeObserver.h>
Public Member Functions | |
| virtual void | OnChangeShape (IShape *shapePtr)=0 |
| Invalidate a shape. | |
| virtual bool | DisconnectShape (IShape *shapePtr)=0 |
| Disconnect shape object from view. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Common interface for all objects informed about shapes state changes.
Each shape has a pointer to one IShapeObserver object.
Definition at line 19 of file IShapeObserver.h.
|
pure virtual |
Disconnect shape object from view.
This shape had to be connected using ConnectShape.
Implemented in iview::CInteractiveViewLayer, iview::CViewBase, and iview::CViewLayer.
Referenced by iqt2d::TViewExtenderCompBase< Base >::RemoveItemsFromScene().
|
pure virtual |
Invalidate a shape.
When you call Update, all invalidated shapes will be repainted.
Implemented in iview::CInteractiveViewLayer, iview::CViewBase, and iview::CViewLayer.