24 #ifndef __CTreeViewWidgetMgr__ 25 #define __CTreeViewWidgetMgr__ 29 #include "ITreeViewWidgetMgr.h" 30 #include "IPanelControlData.h" 31 #include "HelperInterface.h" 34 #include "TreeViewDefs.h" 37 const int32 kDefaultIndent = 20;
122 virtual void SetStyle(int32 styleIdentifier);
162 virtual bool16 ApplyDataToWidget(
const NodeID& node,
IPanelControlData* widgetList, int32 message = 0 )
const;
177 virtual void RegisterStyles();
194 virtual void ApplyIndentToWidget(
const NodeID& node,
IPanelControlData* widgetList, int32 message = 0 )
const;
202 virtual PMReal GetTreeViewWidth()
const;
214 virtual void ApplyHighlightToWidget(
const NodeID& node,
IControlView* widget, int32 message = 0 )
const;
235 virtual void RegisterStyleWidget(int32 style, RsrcID widgetRsrcID,
PluginID pluginID);
248 virtual void HideExpanderIfNotExpandable(
const NodeID& node,
IPanelControlData* widgetList, int32 message = 0 )
const;
268 typedef enum { kList = 0, kHierarchical = 1} Options;
275 virtual bool16 IsOptionSet( Options option )
const;
279 virtual void LazyRegisterStyles()
const;
280 virtual void InternalSetStyle(int32 styleIdentifier);
282 typedef enum { kCTreeViewWidgetMgrV2 = 0x0100, kRootNodeDisplayed = 0x0200} PrivateOptions;
285 std::map<int32, RsrcSpec > fStyleWidgetTable;
287 mutable PMPoint fDefaultWidgetSize;
295 virtual void SetSelectableDlgDrawNodeSeparatorOff(
IControlView* widget)
const;