FLImaging 7.4.14.3
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
54
65
78
87
102
117
125 virtual void Clear();
126
138 virtual void SetFixedViewDeclaration(CGUIFixedViewDeclaration* pFixedViewDeclaration);
139
152
164 virtual void SetPlacement(Foundation::CFLRect<double> flrPlacementRatio);
165
178
190 virtual void SetViewType(EViewType eViewType);
191
203 virtual EViewType GetViewType() const;
204
220 virtual const CResult GetIniString(Base::CFLString<wchar_t>& strVal) const;
221
237 virtual const CResult SetByIniString(const Base::CFLString<wchar_t>& strVal);
238
239 DeclareGetClassType();
240
241 protected:
242 Foundation::CFLRect<double> m_flrPlacementRatio;
243 CGUIFixedViewDeclaration* m_pFixedViewDeclaration;
244 EViewType m_eViewType;
245 SFixedViewDeclarationProperty& m_sFvdProperty;
246
247 friend class CGUIManagerView;
248 friend class CGUIFixedViewPlacementSet;
249 };
250 }
251}
252
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:1676
A class representing a rectangle.
Definition FLRect.h:24
A class of fixed view declaration.
Definition GUIFixedViewDeclaration.h:31
CGUIFixedViewPlacement(const CGUIFixedViewPlacement *pRhs)
Copy constructor.
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.
const CGUIFixedViewPlacement & operator=(const CGUIFixedViewPlacement &rhs)
Assignment operator.
virtual Foundation::CFLRect< double > GetPlacement() const
Gets the placement of this.
virtual ~CGUIFixedViewPlacement()
Default destructor.
CGUIFixedViewPlacement(const CGUIFixedViewPlacement &rhs)
Copy constructor.
virtual void Clear()
Clear this object's variables.
const CResult Assign(const CGUIFixedViewPlacement *pRhs)
Copies the properties of the specified object to this object.
const CResult Assign(const CGUIFixedViewPlacement &rhs)
Copies the properties of the specified object to this object.
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