コード例 #1
0
ファイル: ColorDataEditor.cs プロジェクト: blue3k/ATFClone
 /// <summary>
 /// Initializes a new instance of the <see cref="ColorDataEditor"/> class.</summary>
 /// <param name="theme">The visual theme</param>
 public ColorDataEditor(DataEditorTheme theme)
     : base(theme)
 {
 }
コード例 #2
0
        protected override void Configure(out TreeControl treeControl, out TreeControlAdapter treeControlAdapter)
        {
            base.Configure(out treeControl, out treeControlAdapter);

            EditorTheme = new DataEditorTheme(treeControl.Font);
        }
コード例 #3
0
ファイル: BoolDataEditor.cs プロジェクト: sbambach/ATF
 /// <summary>
 /// Initializes a new instance of the <see cref="StringDataEditor"/> class.</summary>
 /// <param name="theme">The visual theme to use</param>
 public BoolDataEditor(DataEditorTheme theme)
     : base(theme)
 {
 }
コード例 #4
0
ファイル: BoolDataEditor.cs プロジェクト: zoombapup/ATF
 /// <summary>
 /// Initializes a new instance of the <see cref="StringDataEditor"/> class.</summary>
 /// <param name="theme">The visual theme to use</param>
 public BoolDataEditor(DataEditorTheme theme)
     : base(theme)
 {
 }
コード例 #5
0
ファイル: TreeView.cs プロジェクト: zoombapup/ATF
 /// <summary>
 /// Initializes a new instance of the <see cref="TreeView"/> class</summary>
 /// <param name="xmlFilePath">The XML file path of the data document to load</param>
 /// <param name="theme">The visual theme</param>
 public TreeView(string xmlFilePath, DataEditorTheme theme)
 {
     m_xmlDoc          = XDocument.Load(xmlFilePath);// loads the hierarchical data using Linq to XML API
     m_dataEditorTheme = theme;
 }
コード例 #6
0
ファイル: StringDataEditor.cs プロジェクト: sbambach/ATF
 /// <summary>
 /// Initializes a new instance of the <see cref="StringDataEditor"/> class.</summary>
 /// <param name="theme">The visual theme to use</param>
 public StringDataEditor(DataEditorTheme theme)
     : base(theme)
 {
 }
コード例 #7
0
ファイル: DataEditor.cs プロジェクト: GeertVL/ATF
 /// <summary>
 /// Initializes a new instance of the <see cref="DataEditor"/> class.</summary>
 /// <param name="theme">The visual theme</param>
 protected DataEditor(DataEditorTheme theme)
 {
     m_theme = theme;
     EditingMode = EditMode.None;
 }
コード例 #8
0
ファイル: TreeView.cs プロジェクト: GeertVL/ATF
 /// <summary>
 /// Initializes a new instance of the <see cref="TreeView"/> class</summary>
 /// <param name="xmlFilePath">The XML file path of the data document to load</param>
 /// <param name="theme">The visual theme</param>
 public TreeView(string xmlFilePath, DataEditorTheme theme)
 {
     m_xmlDoc = XDocument.Load(xmlFilePath);// loads the hierarchical data using Linq to XML API
     m_dataEditorTheme = theme;
 }
コード例 #9
0
ファイル: ColorDataEditor.cs プロジェクト: sbambach/ATF
 /// <summary>
 /// Initializes a new instance of the <see cref="ColorDataEditor"/> class.</summary>
 /// <param name="theme">The visual theme</param>
 public ColorDataEditor(DataEditorTheme theme)
     : base(theme)
 {
 }
コード例 #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FloatDataEditor"/> class.</summary>
 /// <param name="theme">The visual theme to use</param>
 public FloatDataEditor(DataEditorTheme theme)
     : base(theme)
 {
     SliderWidth = theme.DefaultSliderWidth;
     Epsilon = 0.000001f;
 }