//********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
using bs;
namespace bs.Editor
{
/** @addtogroup Inspector
* @{
*/
///
/// IsnpectableRangedField is a that has a Range attribute and must be rendered as a slider.
///
public abstract class InspectableRangedField : InspectableField
{
protected InspectableFieldStyleInfo style;
///
/// Creates a new inspectable ranged field GUI for the specified property.
///
/// Context shared by all inspectable fields created by the same parent.
/// Name of the property, or some other value to set as the title.
/// Full path to this property (includes name of this property and all parent properties).
/// Type of property this field will be used for displaying.
/// Determines how deep within the inspector nesting hierarchy is this field. Some fields may
/// contain other fields, in which case you should increase this value by one.
/// Parent layout that all the field elements will be added to.
/// Serializable property referencing the field whose contents to display.
/// Contains information about the field style
public InspectableRangedField(InspectableContext context, string title, string path, SerializableProperty.FieldType type,
int depth, InspectableFieldLayout layout, SerializableProperty property, InspectableFieldStyleInfo style)
: base(context, title, path, type, depth, layout, property)
{
this.style = style;
}
}
/** @} */
}