<?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="rslider" module="max" category="U/I">
	<digest>
		Display or change a range of numbers
	</digest>
	<description>
		Set a value range from the lowest to highest value.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			U/I
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				int Sets Current Low Value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				int Sets Current High Value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Low Value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="OUTLET_TYPE">
			<digest>
				High Value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<palette category="Sliders" action="rslider" pic="rslider.svg" />
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="OBJARG_NAME" type="OBJARG_TYPE" optional="0">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</objarg>
	</objarglist>
	<!--parameter-->
	<parameter />
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Output minimum and maximum
			</digest>
			<description>
				In left inlet: Sends out the minimum and maximum values of the currently displayed range.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="minimum" optional="0" type="int" />
			</arglist>
			<digest>
				Set minimum, cause output
			</digest>
			<description>
				In left inlet: The number sets the minimum limit of a range displayed as a colored region on the <o>rslider</o>, and causes the minimum and maximum values of that range to be sent out. A number that exceeds the limits of the <o>rslider</o> itself will be limited to stay within the <o>rslider</o>.				<br />
				<br />
				The minimum and maximum values can also be set (and sent out) by dragging with the mouse across a range in the <o>rslider</o>.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="minimum" optional="0" type="float" />
			</arglist>
			<digest>
				Set minimum, cause output
			</digest>
			<description>
				Converted to <m>int</m>.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="minimum" optional="0" type="int" />
				<arg name="maximum" optional="0" type="int" />
			</arglist>
			<digest>
				Set values, cause output
			</digest>
			<description>
				In left inlet: The first two numbers in the list are used to set the minimum and maximum values of the displayed range, and are sent out.
			</description>
		</method>
		<method name="ft1">
			<arglist>
				<arg name="maximum" optional="0" type="float" />
			</arglist>
			<digest>
				Set maximum
			</digest>
			<description>
				In right inlet: The number is stored as the maximum limit of the range displayed in color on the <o>rslider</o>. A number that exceeds the limits of the <o>rslider</o> itself will be limited to stay within the <o>rslider</o>.				<br />
				<br />
				The minimum and maximum values can also be set (and sent out) by dragging with the mouse across a range in the <o>rslider</o>.
			</description>
		</method>
		<method name="in1">
			<arglist>
				<arg name="maximum" optional="0" type="int" />
			</arglist>
			<digest>
				Set maximum
			</digest>
			<description>
				In right inlet: The number is stored as the maximum limit of the range displayed in color on the <o>rslider</o>. A number that exceeds the limits of the <o>rslider</o> itself will be limited to stay within the <o>rslider</o>.				<br />
				<br />
				The minimum and maximum values can also be set (and sent out) by dragging with the mouse across a range in the <o>rslider</o>.
			</description>
		</method>
		<method name="(mouse)">
			<digest>
				Set end points, cause output
			</digest>
			<description>
				Clicking on the <o>rslider</o> object and dragging sets the minimum and maximum values and sends them out the object's outlets (or left outlet in list mode). or setting attributes.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="minimum" optional="0" type="int" />
				<arg name="maximum" optional="0" type="int" />
			</arglist>
			<digest>
				Set values without output
			</digest>
			<description>
				In left inlet: The word <m>set</m>, followed by two numbers, sets the minimum and maximum values of the currently displayed range, without sending them out the outlets.
			</description>
		</method>
		<method name="setminmax">
			<arglist>
				<arg name="low" optional="0" type="int" />
				<arg name="high" optional="0" type="int" />
			</arglist>
			<digest>
				Set object ranges
			</digest>
			<description>
				The word <m>setminmax</m>, followed by two numbers, sets the low and high range values for the <o>rslider</o> object. The <i>floatoutput</i> attribute will automatically be set.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="bgcolor" get="1" set="1" type="float" size="4">
			<digest>
				Background color
			</digest>
			<description>
				Sets the background color of the <o>rslider</o> object in RGBA format.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Background Color" />
				<attribute name="legacydefault" get="1" set="1" type="float" size="4" value="1. 1. 1. 1." />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="preview" get="1" set="1" type="symbol" size="1" value="rect_fill" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="set" get="1" set="1" type="pointer" size="1" value="pointer" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
			</attributelist>
		</attribute>
		<attribute name="bordercolor" get="1" set="1" type="float" size="4">
			<digest>
				Border color
			</digest>
			<description>
				Sets the border color of the <o>rslider</o> object in RGBA format.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Line Color" />
				<attribute name="legacydefault" get="1" set="1" type="float" size="4" value="0.5 0.5 0.5 1." />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="preview" get="1" set="1" type="symbol" size="1" value="single_horizontal_line" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="set" get="1" set="1" type="pointer" size="1" value="pointer" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
				<attribute name="stylemap" get="1" set="1" type="symbol" size="1" value="accentcolor" />
			</attributelist>
		</attribute>
		<attribute name="drawline" get="1" set="1" type="int" size="1">
			<digest>
				Center line toggle
			</digest>
			<description>
				Toggles the drawing of a center line on the <o>rslider</o> display. The default value is 1 (on).
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<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 Line" />
				<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="fgcolor" get="1" set="1" type="float" size="4">
			<digest>
				Range color
			</digest>
			<description>
				Sets the range color of the <o>rslider</o> object in RGBA format.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Range Color" />
				<attribute name="legacydefault" get="1" set="1" type="float" size="4" value="0.65 0.65 0.65 1." />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="preview" get="1" set="1" type="symbol" size="1" value="rect_fill" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="set" get="1" set="1" type="pointer" size="1" value="pointer" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
				<attribute name="stylemap" get="1" set="1" type="symbol" size="1" value="color" />
			</attributelist>
		</attribute>
		<attribute name="floatoutput" get="1" set="1" type="atom_long" size="1">
			<digest>
				Output type flag
			</digest>
			<description>
				Toggles floating-point output from the <o>slider</o> object. The default is 0 (off).
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="atom_long" size="1" value="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Float Output" />
				<attribute name="order" 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="listmode" get="1" set="1" type="int" size="1">
			<digest>
				List output mode
			</digest>
			<description>
				Toggles the list output mode. When it is on, the <o>rslider</o> object will output the min and max values as a list out the left outlet. Otherwise, the values are sent out the right and left outlets. The default value is 0 (off).
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="List Output" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="2" />
				<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="min" get="1" set="1" type="atom_long" size="1">
			<digest>
				Offset
			</digest>
			<description>
				Sets value that will be added to the <o>rslider</o> object's lower value before it is sent out the outlet.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="atom_long" size="1" value="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Minimum Value" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="4" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="mult" get="1" set="1" type="float" size="1">
			<digest>
				Multiplier
			</digest>
			<description>
				Sets a multiplier value. The <o>rslider</o> object's value will be multiplied by this number before it is sent out the outlet. The default value is 1.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="float" size="1" value="1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Step Multiplier" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="5" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="orientation" get="1" set="1" type="int" size="1">
			<digest>
				Orientation
			</digest>
			<description>
				Sets the <o>rslider</o> object to a horizontal or vertical data display.
				<br />
				<m>Automatic</m>: (the default) sets the display dependent on the size of the slider - longest side of the rectangle that describes the slider sets the orientation.
				<br />
				<m>Horizontal</m> 				<br />
				<m>Vertical</m> 
			</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="3">
					<enumlist>
						<enum name="Automatic">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Horizontal">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Vertical">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</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="parameter_enable" get="1" set="1" type="int" size="1">
			<digest>
				Enable parameter mode handling
			</digest>
			<description>
				Enables use of this object with <link type="vignette" module="core" name="live_parameters">Max for Live Parameters</link> and allows for <link type="vignette" module="core" name="parameter_enable">setting initial parameter values</link> in the Max environment.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Parameter" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Parameter Mode Enable" />
				<attribute name="order" 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="size" get="1" set="1" type="float" size="1">
			<digest>
				Set overall range size
			</digest>
			<description>
				Sets the total range of the <o>rslider</o>. The <o>rslider</o> will range from 0 to one less than the specified size. A <m>size</m> message smaller than 1 will be automatically set to 2. By default, the size of an <o>rslider</o> is <m>128</m>.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="float" size="1" value="128." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Range" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="3" />
				<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" />
			</attributelist>
		</attribute>
		<attribute name="style" get="1" set="1" type="symbol" size="1">
			<digest>
				Style
			</digest>
			<description>
				Sets the <link type="vignette" module="core" name="styles">style</link> to be applied to the object. Styles can be set using the <link type="vignette" module="core" name="format_palette">Format palette</link>.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Appearance" />
				<attribute name="introduced" get="1" set="1" type="symbol" size="1" value="7.0.0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Style" />
				<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="style" />
			</attributelist>
		</attribute>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="rslider.png" caption="Output minimum and maximum values, to set the range of another object" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="multislider" />
		<seealso name="nslider" />
		<seealso name="pictctrl" />
		<seealso name="pictslider" />
		<seealso name="slider" />
		<seealso name="split" />
		<seealso name="basicchapter13" module="max" type="tutorial" />
	</seealsolist>
	<discussion>
		In the right inlet, the number is taken as one end of the range. The left inlet sets the other end. Drawing the range with the mouse always outputs the lowest value out the left outlet and the highest out the right.
		<br />
		Shift-clicking extends the range instead of replacing it. Command-clicking (Macintosh) or Control-double-clicking (Windows) and dragging shifts the current range values up or down. Option-clicking (Macintosh) or Alt-clicking (Windows) and dragging up or down expands or shrinks the currently selected range. Command-double-clicking (Macintosh) or Control-double-clicking (Windows) selects the entire range.
	</discussion>
	<misc name="Output">
		<entry name="int">
			<description>
				The maximum value of the displayed range is sent out the right outlet, and the minimum value is sent out the left outlet. Output is triggered by a new minimum value (or a <m>bang</m>) received in the left inlet, or by clicking or dragging the mouse in the <o>rslider</o>.
			</description>
		</entry>
	</misc>
</c74object>
