FLImaging 6.8.12.1
GUIFixedViewPlacement.h
1#pragma once
2
10
11#include "DefinitionsGUI.h"
12
14namespace FLImaging
15{
17 namespace GUI
18 {
19 class CGUIDocBase;
20 class CGUIChildFrameBase;
21 class CGUIViewBase;
23
31 class FL_EXPORT CGUIFixedViewPlacement : public Base::CFLBase
32 {
33 public:
42
51
59 virtual void Clear();
60
72 virtual void SetFixedViewDeclaration(CGUIFixedViewDeclaration* pFixedViewDeclaration);
73
86
98 virtual void SetPlacement(Foundation::CFLRect<double> flrPlacementRatio);
99
112
124 virtual void SetViewType(EViewType eViewType);
125
137 virtual EViewType GetViewType() const;
138
154 virtual const CResult GetIniString(Base::CFLString<wchar_t>& strVal) const;
155
171 virtual const CResult SetByIniString(const Base::CFLString<wchar_t>& strVal);
172
173 DeclareGetClassType();
174
175 protected:
176 Foundation::CFLRect<double> m_flrPlacementRatio;
177 CGUIFixedViewDeclaration* m_pFixedViewDeclaration;
178 EViewType m_eViewType;
179
180 friend class CGUIManagerView;
181 friend class CGUIFixedViewPlacementSet;
182 };
183 }
184}
185
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:1596
A class representing a rectangle.
Definition FLRect.h:24
A class of fixed view declaration.
Definition GUIFixedViewDeclaration.h:30
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