3#include "GUIMenuItemViewBase.h"
10 class FL_EXPORT CGUIViewBase :
public Base::CFLBase
12 friend class CGUIMenuItemViewBase;
16 CGUIViewBase(
const CGUIViewBase& rhs);
17 CGUIViewBase(
const CGUIViewBase* pRhs);
18 virtual ~CGUIViewBase();
20 DeclareGetClassType();
23 virtual const CResult
Assign(
const CGUIViewBase& rhs);
24 virtual const CResult
Assign(
const CGUIViewBase* pRhs);
25 CGUIViewBase& operator=(
const CGUIViewBase& rhs);
27 virtual CWnd* SetParentPane(CWnd* pWnd);
28 virtual CWnd* GetParentPane()
const sealed;
30 bool IsFixedView()
const;
31 void SetFixedView(
bool bFixedView);
33 virtual Base::CFLString<wchar_t> GetTitle()
const;
34 virtual void SetTitle(LPCTSTR lpszTitle);
35 virtual Base::CFLString<wchar_t> GetTreePath()
const;
37 CGUIMenuItemViewBase* GetMenuItem()
const;
38 virtual void DeleteMenuItem();
41 void SetFixedTitle(
bool bFixedTitle);
42 bool IsFixedTitle()
const;
44 virtual void SetVisible(
bool bVisible);
45 virtual bool IsVisible()
const;
47 void SetDefaultFixedTitle(
const Base::CFLString<wchar_t>& cstrTitle);
48 Base::CFLString<wchar_t> GetDefaultFixedTitle()
const;
50 void SetConstantTitle(
const Base::CFLString<wchar_t>& cstrTitle);
51 Base::CFLString<wchar_t> GetConstantTitle()
const;
53 const CResult RegisterTreeItem();
62 bool IsSynchronizedWindow()
const;
70 CGUIViewBase* GetRootSyncWindow()
const;
78 const CResult SetRootSyncWindow(CGUIViewBase* pView);
87 virtual const CResult ResignRootWindow();
97 virtual const CResult SynchronizeWindow(CGUIViewBase* pTargetView);
107 virtual const CResult DesynchronizeWindow(CGUIViewBase* pTargetView);
116 virtual const CResult DesynchronizeWindowAll();
124 virtual void EnableContextMenu(
bool bEnable);
132 virtual bool IsContextMenuEnabled()
const;
142 virtual const Base::CFLBase* GetMessageCallerPtr()
const;
144 void SetThreadCreation(
bool bSet);
145 bool IsThreadCreation()
const;
147 int32_t GetSerialNumber()
const;
152 virtual CGUIMenuItemViewBase* CreateMenuItem();
153 virtual const CResult InternalAssign(
const CGUIViewBase& rhs);
156 CGUIMenuItemViewBase* m_pMenuItem;
158 HWND m_hWndParentPane;
160 int32_t m_i32SerialNumber;
161 bool m_bThreadCreation;
164 ETreeItemIcon m_eTreeItemIcon;
170 Base::CFLString<wchar_t> m_cstrFixedTitle;
171 Base::CFLString<wchar_t> m_cstrConstantTitle;
172 Base::CFLString<wchar_t> m_strTitle;
174 bool m_bRegisterTreeItem;
175 bool m_bEnableContextMenu;
177 Base::CFLBase* m_pViewMessageCaller;
180 CGUIViewBase* m_pRootSyncWindow;
181 Foundation::CFLPoint<int32_t> m_flpSyncWindowOffset;
184 friend class CGUIViewImageWrap;
185 friend class CGUIView3DWrap;
186 friend class CGUIViewGraphWrap;
187 friend class CGUIViewSNAPWrap;
188 friend class CGUIView3DPathEditorWrap;
189 friend class CGUIManagerView;
190 friend class CGUIFixedViewPlacementSet;
Definition D2DObject.h:12
EViewType
View Type.
Definition DefinitionsGUI.h:45
@ Assign
Set the value of CGUIPropertyItemView3DFigure to the specified figure.
Definition DefinitionsGUIView3D.h:2930