/// <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) { }
/// <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) { }
/// <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; }
/// <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; }
/// <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; }
/// <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()) { }