ICF 3.0.5.47
Technical documentation of ICF Libraries
IViewExtender.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#pragma once
7
8
9// ICF includes
10#include <istd/IPolymorphic.h>
11
12
13namespace i2dgui
14{
15
16
17class IViewProvider;
18
19
23class IViewExtender: virtual public istd::IPolymorphic
24{
25public:
30 {
38 SF_DIRECT = 2
39 };
40
44 virtual void AddItemsToScene(IViewProvider* providerPtr, int flags) = 0;
45
49 virtual void RemoveItemsFromScene(IViewProvider* providerPtr) = 0;
50};
51
52
53} // namespace i2dgui
54
55
Interface for GUI objects presenting its results using extern view objects.
virtual void RemoveItemsFromScene(IViewProvider *providerPtr)=0
Called when items should be removed from specified scene.
virtual void AddItemsToScene(IViewProvider *providerPtr, int flags)=0
Called when items should be added to specified scene.
SceneFlags
Standard flags for items .
@ SF_BACKGROUND
This flag is active if only shown elements will be used as background for other elements.
@ SF_DIRECT
This flag is set if this objects are added in direct call and will be reset by delegation call to sla...
Interface for GUI objects managing view.
This package contains Qt based implementations for 2D graphic objects.

© Witold Gantzke and Kirill Lepskiy