コード例 #1
0
ファイル: StringDataEditor.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 StringDataEditor(DataEditorTheme theme)
     : base(theme)
 {
 }
コード例 #2
0
ファイル: FloatDataEditor.cs プロジェクト: zoombapup/ATF
 /// <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;
 }
コード例 #3
0
ファイル: DateTimeDataEditor.cs プロジェクト: blue3k/ATFClone
 /// <summary>
 /// Initializes a new instance of the <see cref="FloatDataEditor"/> class.</summary>
 /// <param name="theme">The visual theme to use</param>
 public DateTimeDataEditor(DataEditorTheme theme)
     : base(theme)
 {
 }
コード例 #4
0
ファイル: DataEditor.cs プロジェクト: blue3k/ATFClone
 /// <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;
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FloatDataEditor"/> class.</summary>
 /// <param name="theme">The visual theme to use</param>
 public Int64DataEditor(DataEditorTheme theme)
     : base(theme)
 {
     SliderWidth = theme.DefaultSliderWidth;
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EnumDataEditor"/> class.</summary>
 /// <param name="theme">The visual theme to use</param>
 public EnumDataEditor(DataEditorTheme theme, string[] enumNames)
     : base(theme)
 {
     m_enumNames = enumNames;
 }
コード例 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EnumDataEditor"/> class.</summary>
 /// <param name="theme">The visual theme to use</param>
 public EnumDataEditor(DataEditorTheme theme, System.Type enumType)
     : this(theme, enumType.GetEnumNames())
 {
 }