<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="live.slider" module="m4l" category="M4L U/I">
	<digest>
		Output numbers by moving a slider onscreen
	</digest>
	<description>
		<o>live.slider</o> is a user interface object that resembles a sliding potentiometer.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Live
		</metadata>
		<metadata name="tag">
			M4L U/I
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="int/float">
			<digest>
				Parameter Value (0.00-127.00)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="int/float">
			<digest>
				Parameter Value (0.00-127.00)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="int/float">
			<digest>
				Parameter Raw Value (0.-1.)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<palette action="live.slider" category="Live" pic="live.slider.svg" />
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="OBJARG_NAME" optional="0" type="OBJARG_TYPE">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</objarg>
	</objarglist>
	<!--parameter-->
	<parameter />
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Send the current value out the outlet
			</digest>
			<description>
				Sends the current value out the outlet.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Store, display, and output a number
			</digest>
			<description>
				The number received in the inlet is stored and displayed by the <o>live.slider</o> object and sent out the outlet.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Store, display, and output a number
			</digest>
			<description>
				The number received in the inlet is stored and displayed by the <o>live.slider</o> object and sent out the outlet.
			</description>
		</method>
		<method name="assign">
			<arglist>
				<arg name="assign-input" optional="0" type="float" />
			</arglist>
			<digest>
				Store, display, and output a number
			</digest>
			<description>
				The word <m>assign</m>, followed by a floating point value, causes that value to be stored and displayed and sent out the <o>live.slider</o> object's outlet. If the Parameter Visibility attribute is set to Stored Only, the <m>assign</m> message will not add the new value to the Live application’s undo chain.
			</description>
		</method>
		<method name="init">
			<arglist />
			<digest>
				Restore and output the initial value
			</digest>
			<description>
				Restore and output the initial value.
			</description>
		</method>
		<method name="(mouse)">
			<digest>
				Click and drag in the slider to change the value.
			</digest>
			<description>
				Click and drag in the slider to change the value. Hold down the Command key (Macintosh) or the Control key (Windows) for more precise mouse control.
			</description>
		</method>
		<method name="outputvalue">
			<arglist />
			<digest>
				Send the current value out the outlet
			</digest>
			<description>
				Sends the current value out the outlet.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="set-input" optional="0" type="float" />
			</arglist>
			<digest>
				Set and display the current value without triggering output
			</digest>
			<description>
				Sets and displays the current value without triggering any output.
			</description>
		</method>
		<method name="rawfloat">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Store a raw normalized value, convert to real, display, and output
			</digest>
			<description>
				A raw normalized value (between 0. and 1.) received in the inlet is converted to a real value, stored, displayed by <o>live.slider</o>, and the current value is sent out the outlet.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="active" get="1" set="1" type="int" size="1">
			<digest>
				Active mode enable
			</digest>
			<description>
				Toggles the object's active mode. When the <m>active</m> attribute is set to 0, the mouse action does not cause output and the inactive colors are used.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Behavior" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Enabled" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="focusbordercolor" get="1" set="1" type="float" size="4">
			<digest>
				Border color (focus)
			</digest>
			<description>
				Sets the border color in RGBA format to be used when the <o>live.slider</o> has the focus.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="defaultname" get="1" set="1" type="float" size="4" value="0. 0.019608 0.078431 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Border Color (Focus)" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
			</attributelist>
		</attribute>
		<attribute name="modulationcolor" get="1" set="1" type="float" size="4">
			<digest>
				Modulation color
			</digest>
			<description>
				Sets the modulation color of the <o>live.slider</o> object in RGBA format.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="defaultname" get="1" set="1" type="float" size="4" value="0.94902 0.376471 0. 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Modulation Color" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
			</attributelist>
		</attribute>
		<attribute name="orientation" get="1" set="1" type="int" size="1">
			<digest>
				Orientation
			</digest>
			<description>
				Defines the orientation of the <o>live.slider</o> object.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Appearance" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="enumvals" get="1" set="1" type="atom" size="2">
					<enumlist>
						<enum name="Vertical">
							<digest>
								Vertical
							</digest>
							<description>
								Vertical orientation (the default).
							</description>
						</enum>
						<enum name="Horizontal">
							<digest>
								Horizontal
							</digest>
							<description>
								Horizontal orientation (the default).
							</description>
						</enum>
					</enumlist>
				</attribute>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Orientation" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="enumindex" />
			</attributelist>
		</attribute>
		<attribute name="relative" get="1" set="1" type="int" size="1">
			<digest>
				Mousing Mode
			</digest>
			<description>
				Sets the way that the <o>live.slider</o> object responds to mouse clicks.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="enumvals" get="1" set="1" type="atom" size="2">
					<enumlist>
						<enum name="Absolute">
							<digest>
								Absolute
							</digest>
							<description>
								In absolute mode, the <o>live.slider</o> object will automatically jump directly to the clicked location.
							</description>
						</enum>
						<enum name="Relative">
							<digest>
								Relative
							</digest>
							<description>
								In relative mode (the default), the <o>live.slider</o> object keeps its relative position when you click on it. Moving the mouse outputs higher or lower values in relation to that relative position.
							</description>
						</enum>
					</enumlist>
				</attribute>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Mousing Mode" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="enumindex" />
			</attributelist>
		</attribute>
		<attribute name="showname" get="1" set="1" type="int" size="1">
			<digest>
				Display parameter name enable
			</digest>
			<description>
				The word <m>showname</m>, followed by the number 1 or 0, shows or hides the parameter name.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Appearance" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Display Parameter Name" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="shownumber" get="1" set="1" type="int" size="1">
			<digest>
				Display parameter value enable
			</digest>
			<description>
				The word <m>shownumber</m>, followed by the number 1 or 0, shows or hides the parameter value.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Appearance" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Display Parameter Value" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="slidercolor" get="1" set="1" type="float" size="4">
			<digest>
				Slider background color
			</digest>
			<description>
				Sets the slider color of the <o>live.slider</o> objectin RGBA format.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="defaultname" get="1" set="1" type="float" size="4" value="0. 0.019608 0.078431 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Slider Background color" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
			</attributelist>
		</attribute>
		<attribute name="textcolor" get="1" set="1" type="float" size="4">
			<digest>
				Text color
			</digest>
			<description>
				Sets the display color for the <o>live.slider</o> object's text in RGBA format.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="defaultname" get="1" set="1" type="float" size="4" value="0. 0.019608 0.078431 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Text Color" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
			</attributelist>
		</attribute>
		<attribute name="tribordercolor" get="1" set="1" type="float" size="4">
			<digest>
				Triangle border color (no focus)
			</digest>
			<description>
				Sets the triangle border color in RGBA format. This is only used when the <o>live.slider</o> object does not have the focus.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="defaultname" get="1" set="1" type="float" size="4" value="0.196078 0.196078 0.196078 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Triangle Border Color (No Focus)" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
			</attributelist>
		</attribute>
		<attribute name="tricolor" get="1" set="1" type="float" size="4">
			<digest>
				Triangle color (no focus)
			</digest>
			<description>
				Sets the triangle color in RGBA format. This is only used when the <o>live.slider</o> object does not have the focus.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="defaultname" get="1" set="1" type="float" size="4" value="0.6 0.6 0.6 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Triangle Color (No Focus)" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
			</attributelist>
		</attribute>
		<attribute name="trioncolor" get="1" set="1" type="float" size="4">
			<digest>
				Triangle color (focus)
			</digest>
			<description>
				Sets the triangle color in RGBA format. This is only used when the <o>live.slider</o> object does have the focus.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="defaultname" get="1" set="1" type="float" size="4" value="0. 0.019608 0.078431 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Triangle Color (Focus)" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
			</attributelist>
		</attribute>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="live.slider.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="live.numbox" />
		<seealso name="live.dial" />
		<seealso name="live.slider" />
	</seealsolist>
	<misc name="Output">
		<entry name="int/float">
			<description>
				Out left outlet: Numbers received in the inlet or produced by clicking or dragging on <o>live.slider</o> with the mouse are sent out the outlet. The value sent is an integer if the <m>Parameter Type</m> is set to <m>INT</m> or <m>ENUM</m>.
			</description>
		</entry>
		<entry name="float">
			<description>
				Out right outlet: when an output is triggered, a raw normalized value (between 0. and 1.) is sent out this outlet.
			</description>
		</entry>
	</misc>
</c74object>
