Exemple #1
0
 /// <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)
 {
 }
Exemple #2
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;
 }
 /// <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)
 {
 }
Exemple #4
0
 /// <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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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())
 {
 }