FLImaging 6.11.25.2
GUIFixedViewPlacement.h
1#pragma once
2
10
11#include "DefinitionsGUI.h"
12#include "DefinitionsGUIFixedView.h"
13
15namespace FLImaging
16{
18 namespace GUI
19 {
20 class CGUIDocBase;
21 class CGUIChildFrameBase;
22 class CGUIViewBase;
24
32 class FL_EXPORT CGUIFixedViewPlacement : public Base::CFLBase
33 {
34 public:
43
52
60 virtual void Clear();
61
73 virtual void SetFixedViewDeclaration(CGUIFixedViewDeclaration* pFixedViewDeclaration);
74
87
99 virtual void SetPlacement(Foundation::CFLRect<double> flrPlacementRatio);
100
113
125 virtual void SetViewType(EViewType eViewType);
126
138 virtual EViewType GetViewType() const;
139
155 virtual const CResult GetIniString(Base::CFLString<wchar_t>& strVal) const;
156
172 virtual const CResult SetByIniString(const Base::CFLString<wchar_t>& strVal);
173
174 DeclareGetClassType();
175
176 protected:
177 Foundation::CFLRect<double> m_flrPlacementRatio;
178 CGUIFixedViewDeclaration* m_pFixedViewDeclaration;
179 EViewType m_eViewType;
180 SFixedViewDeclarationProperty m_sFvdProperty;
181
182 friend class CGUIManagerView;
183 friend class CGUIFixedViewPlacementSet;
184 };
185 }
186}
187
Top-level base class of FLImaging.
Definition FLBase.h:36
Template type string class.
Definition FLString.h:34
FLImaging module execution result object.
Definition ResultsDef.h:1631
A class representing a rectangle.
Definition FLRect.h:24
A class of fixed view declaration.
Definition GUIFixedViewDeclaration.h:31
virtual void SetViewType(EViewType eViewType)
Sets the view type of this.
virtual EViewType GetViewType() const
Gets the view type of this.
virtual CGUIFixedViewDeclaration * GetFixedViewDeclaration() const
Gets the FixedViewDeclaration object of this.
virtual const CResult GetIniString(Base::CFLString< wchar_t > &strVal) const
Function that converts the properties of this class into an INI format and returns it.
virtual Foundation::CFLRect< double > GetPlacement() const
Gets the placement of this.
virtual ~CGUIFixedViewPlacement()
Default destructor.
virtual void Clear()
Clear this object's variables.
virtual void SetFixedViewDeclaration(CGUIFixedViewDeclaration *pFixedViewDeclaration)
Sets the FixedViewDeclaration object of this.
virtual void SetPlacement(Foundation::CFLRect< double > flrPlacementRatio)
Sets the fixed view placement of this.
CGUIFixedViewPlacement()
Default constructor.
virtual const CResult SetByIniString(const Base::CFLString< wchar_t > &strVal)
Sets the properties of the object using a string in INI file format.
Definition D2DObject.h:12
EViewType
View Type.
Definition DefinitionsGUI.h:45