<?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="pictslider" module="max" category="U/I">
	<digest>
		Picture-based slider control
	</digest>
	<description>
		A slider control that uses pictures in external files for its appearance. It uses two pictures--one for the &quot;knob&quot; and one for the background over which the knob moves. The <o>pictslider</o> object has default pictures that are used if you do not want to supply pictures of your own, but its intended use is creating controls with customized appearances.
	</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: Horizontal Value; list: Both Values
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				int: Vertical Value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Horizontal Value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="OUTLET_TYPE">
			<digest>
				Vertical Value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<palette category="Sliders" action="pictslider" pic="pictslider.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 the current value
			</digest>
			<description>
				In left inlet: Sends the current values of the <o>pictslider</o> to its outlets. The horizontal value is sent out the left outlet; the vertical value out its right outlet.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Function depends on inlet
			</digest>
			<description>
				In left inlet: sets the <o>pictslider</o> object's horizontal value. The value is also sent out the left outlet, and the <o>pictslider</o> object's current vertical value is sent out the right outlet.
				<br />
				<br />
				In right inlet: sets the <o>pictslider</o> object's vertical value. The value is also sent out the right outlet, and the control's current horizontal value is sent out the left outlet.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Function depends on inlet
			</digest>
			<description>
				Converted to <m>int</m>.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="horizontal" optional="0" type="int" />
				<arg name="vertical" optional="0" type="int" />
			</arglist>
			<digest>
				Set horizontal and vertical values
			</digest>
			<description>
				In left inlet: A list of two numbers sent to the left inlet sets the <o>pictslider</o> object's horizontal value to the first number and its vertical value to the second. The two values are sent out the left and right outlets.
			</description>
		</method>
		<method name="bkgndpicture">
			<arglist>
				<arg name="filename" optional="0" type="list" />
			</arglist>
			<digest>
				Load an image file for background appearance
			</digest>
			<description>
				The word <m>bkgndpicture</m>, followed by a symbol that specifies a filename, designates the graphics file that the <o>pictslider</o> object will use for the control's background image. By convention, the <o>pictslider</o> object uses images saved in Portable Network Graphics (.png) format. If you are using Max on Windows and want to to work with images other than PNG or PICT files, we recommend that you install QuickTime and choose a complete install of all optional components. The symbol used as a filename must either be the name of a file in Max's current search path, or an absolute pathname for the file (e.g. &quot; <m>MyDisk:/Documents/UI Pictures/CoolBkgnd.png</m>&quot;).
			</description>
		</method>
		<method name="(drag)">
			<digest>
				Load an image using drag-and-drop
			</digest>
			<description>
				When a image file is dragged from the Max File Browser to a <o>pictslider</o> object, the image will be loaded as the object's background image.
			</description>
		</method>
		<method name="knobpicture">
			<arglist>
				<arg name="filename" optional="0" type="list" />
			</arglist>
			<digest>
				Load an image file for knob appearance
			</digest>
			<description>
				In left inlet: The word <m>knobpicture</m>, followed by a symbol that specifies a filename, designates the graphics file that the <o>pictslider</o> object will use for the control's knob file. The symbol used as a filename must either be the name of a file in Max's current search path, or an absolute pathname for the file (e.g. &quot; <m>MyDisk:/Documents/UI Pictures/CoolKnob.png</m>&quot;). The word <m>knobpicture</m> by itself puts up a standard Open Document dialog box.
			</description>
		</method>
		<method name="(mouse)">
			<digest>
				Set current value, cause output
			</digest>
			<description>
				Clicking on the <o>pictctrl</o> object and dragging sends the current value out the outlet. Additional behaviors depend on how the object is configured using messages or setting attributes.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="horizontal" optional="0" type="int" />
				<arg name="vertical" optional="1" type="int" />
			</arglist>
			<digest>
				Set horizontal and vertical values
			</digest>
			<description>
				In left inlet: The word <m>set</m>, followed by a number, sets the pictcslider object's horizontal value but does not send the value out its left outlet.The word <m>set</m>, followed by two numbers, sets the <o>pictslider</o> object's horizontal value to the first number and its vertical value to the to the second number, but does not send the values out its outlets.
				<br />
				<br />
				In right inlet: The word <m>set</m>, followed by a number, sets the <o>pictslider</o> object's vertical value, but does not send the value out its right outlet.
			</description>
		</method>
		<method name="readanybkgnd">
			<arglist>
				<arg name="filename" optional="0" type="list" />
			</arglist>
			<digest>
				Load any file for background appearance
			</digest>
			<description>
				The word <m>readanybkgnd</m> followed by the name of a file will read any type of file into the <o>pictslider</o> object and attempt to interpret it as a background image.
			</description>
		</method>
		<method name="readanyknob">
			<arglist>
				<arg name="filename" optional="0" type="list" />
			</arglist>
			<digest>
				Load any file for knob appearance
			</digest>
			<description>
				The word <m>readanyknob</m> followed by the name of a file will read any type of file into the <o>pictslider</o> object and attempt to interpret it as a knob image.
			</description>
		</method>
		<method name="track">
			<arglist>
				<arg name="ratio" optional="0" type="float" />
			</arglist>
			<digest>
				Set tracking ratio
			</digest>
			<description>
				In left inlet: The word <m>track</m>, followed by a float, sets the tracking ratio for horizontal movements of the <o>pictslider</o> object's knob.
				<br />
				<br />
				In right inlet: The word <m>track</m>, followed by a float, sets the tracking ratio for vertical movements of the <o>pictslider</o> object's knob.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="active" get="1" set="1" type="int" size="1">
			<digest>
				Toggle mouse control
			</digest>
			<description>
				Toggles mouse control of the <o>pictslider</o> object. The default is 1 (enabled). If a separate set of inactive images is present in the pictslider object's graphics file and if the inactive images attribute is set, the active message will also change the appearance of the control.
			</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="Enabled" />
				<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="bgcolor" get="1" set="1" type="float" size="4">
			<digest>
				Background Color
			</digest>
			<description>
				TEXT_HERE
			</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="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="Background Color" />
				<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="bkgnddrag" get="1" set="1" type="int" size="1">
			<digest>
				Background drag mode
			</digest>
			<description>
				Toggles background drag mode for the <o>pictslider</o> object. When this mode is enabled, clicking and dragging anywhere in the background area of the slider will move the knob; the knob will move relative to the motion of the mouse, just as if you had clicked in the knob itself. The message <m>bkgnddrag 0</m> disables this mode. You must also uncheck the KnobJumps to Click Location checkbox in the <o>pictslider</o> object's Inspector or send the object a <m>jump 0</m> message to enable this mode.
			</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="label" get="1" set="1" type="symbol" size="1" value="Background Drag" />
				<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="bkgndpict" get="1" set="1" type="symbol" size="1">
			<digest>
				Background image file
			</digest>
			<description>
				Designates the graphics file that the <o>pictslider</o> object will use for the control's background image. The symbol used as a filename must either be the name of a file in Max's current search path, or an absolute pathname for the file (e.g. &quot; <m>MyDisk:/Documents/UI Pictures/CoolBkgnd.png</m>&quot;).
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Image" />
				<attribute name="default" get="1" set="1" type="symbol" size="1" value="&lt;default&gt;" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Background Image File" />
				<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="imagefile" />
			</attributelist>
		</attribute>
		<attribute name="bkgndsize" get="1" set="1" type="int" size="1">
			<digest>
				Adjust object size to image
			</digest>
			<description>
				Sets the <o>pictslider</o> object to change the size of the object to match the size of the background picture. After receiving this message, the object's size cannot be changed. <m>bkgndsize 0</m> allows the control to be resized in the usual manner by dragging its lower-right corner.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Image" />
				<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="Size To Background Image" />
				<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="bottommargin" get="1" set="1" type="int" size="1">
			<digest>
				Bottom margin
			</digest>
			<description>
				Sets the bottom margin, in pixels, for the <o>pictslider</o>. The margin reduces the area in which the knob moves; if a margin is zero, the knob can move all the way to the bottom of the slider.
			</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="label" get="1" set="1" type="symbol" size="1" value="Bottom Margin" />
				<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="bottomvalue" get="1" set="1" type="atom_long" size="1">
			<digest>
				Value at slider bottom
			</digest>
			<description>
				Sets the values emitted by the <o>pictslider</o> object when the knob is moved as far as possible to the bottom. The message <m>bottomvalue 100</m> will cause the control to send 100 out of its left outlet when the knob is moved all the way to the bottom.
			</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="Value at Bottom" />
				<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="clickedimage" get="1" set="1" type="int" size="1">
			<digest>
				Clicked image flag
			</digest>
			<description>
				Specifies that the graphics file used by the <o>pictslider</o> object contains an additional image to be displayed when the control is clicked.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Image" />
				<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="Has Clicked Image" />
				<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="color" get="1" set="1" type="float" size="4">
			<digest>
				Knob Color
			</digest>
			<description>
				TEXT_HERE
			</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="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="Knob Color" />
				<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="circle_frame" />
				<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="elementcolor" get="1" set="1" type="float" size="4">
			<digest>
				Knob Drag Interior Color
			</digest>
			<description>
				TEXT_HERE
			</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="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="Knob Drag Interior Color" />
				<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="circle_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="horizontaltracking" get="1" set="1" type="float" size="1">
			<digest>
				Horizontal tracking ratio
			</digest>
			<description>
				Sets the horizontal tracking ratio for movements of the <o>pictslider</o> object's knob. The default value is 1.0. Values greater than one cause the knob to move more quickly when dragged; values less than one cause it to move more slowly.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Tracking" />
				<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="Horizontal Tracking Amount" />
				<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="imagemask" get="1" set="1" type="int" size="1">
			<digest>
				Image mask flag
			</digest>
			<description>
				When set to 1, specifies that the graphics file used by the <o>pictslider</o> object contains image masks. This attribute is present for legacy support - it has been superseded by the use of alpha channels in images.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Image" />
				<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="Has Image Mask" />
				<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="inactiveimage" get="1" set="1" type="int" size="1">
			<digest>
				Inactive image flag
			</digest>
			<description>
				When set to non-zero, specifies that the graphics file used by the <o>pictslider</o> object contains additional images for the object's inactive state.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Image" />
				<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="Has Inactive Image" />
				<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="invisiblebkgnd" get="1" set="1" type="int" size="1">
			<digest>
				Surpress background display
			</digest>
			<description>
				When set to non-zero, the <o>pictslider</o> object will not draw any background image. The knob will appear to float above any objects underneath it.
			</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="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Transparent Background" />
				<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="jump" get="1" set="1" type="int" size="1">
			<digest>
				Jump to location flag
			</digest>
			<description>
				When set to non-zero, makes <o>pictslider</o> move the knob to the position of the cursor if you click in the object outside of the knob. <m>jump 0</m> disables this behavior; you must click in the knob itself to move it.
			</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="Knob Jumps to Click Location" />
				<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="knobpict" get="1" set="1" type="symbol" size="1">
			<digest>
				Knob image file
			</digest>
			<description>
				Designates the graphics file that the <o>pictslider</o> object will use for the control's knob image. By convention, the <o>pictslider</o> object uses images saved in Portable Network Graphics (.png) format. If you are using Max on Windows and want to to work with images other than PNG or PICT files, we recommend that you install QuickTime and choose a complete install of all optional components. The symbol used as a filename must either be the name of a file in Max's current search path, or an absolute pathname for the file (e.g. &quot; <m>MyDisk:/Documents/UI Pictures/CoolKnob.png</m>&quot;).
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Image" />
				<attribute name="default" get="1" set="1" type="symbol" size="1" value="&lt;default&gt;" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Knob Image File" />
				<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="imagefile" />
			</attributelist>
		</attribute>
		<attribute name="leftmargin" get="1" set="1" type="int" size="1">
			<digest>
				Left margin
			</digest>
			<description>
				Sets the left margin, in pixels, for the <o>pictslider</o>. The margin reduces the area in which the knob moves; if a margin is zero, the knob can move all the way to the left of the slider.
			</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="label" get="1" set="1" type="symbol" size="1" value="Left Margin" />
				<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="leftvalue" get="1" set="1" type="atom_long" size="1">
			<digest>
				Value at slider left
			</digest>
			<description>
				Sets the values emitted by the <o>pictslider</o> object when the knob is moved as far as possible to the left. The message <m>leftvalue 100</m> will cause the control to send 100 out of its left outlet when the knob is moved all the way to the left.
			</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="Value at Left Side" />
				<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="movehorizontal" get="1" set="1" type="int" size="1">
			<digest>
				Horizontal move mode
			</digest>
			<description>
				When set to non-zero, allows the knob to change when the mouse is moved horizontally. The message <m>movehorizontal 0</m> prevents the knob from moving when the mouse is moved horizontally.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Tracking" />
				<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="Track Horizontal Movement" />
				<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="movevertical" get="1" set="1" type="int" size="1">
			<digest>
				Vertical move mode
			</digest>
			<description>
				When set to non-zero, allows the knob to change when the mouse is moved vertically. The message <m>movevertical 0</m> prevents the knob from moving when the mouse is moved vertically.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Tracking" />
				<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="Track Vertical Movement" />
				<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="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="rightmargin" get="1" set="1" type="int" size="1">
			<digest>
				Right margin
			</digest>
			<description>
				Sets the right margin, in pixels, for the <o>pictslider</o>. The margin reduces the area in which the knob moves; if a margin is zero, the knob can move all the way to the right of the slider.
			</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="label" get="1" set="1" type="symbol" size="1" value="Right Margin" />
				<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="rightvalue" get="1" set="1" type="atom_long" size="1">
			<digest>
				Value at slider right
			</digest>
			<description>
				Sets the values emitted by the <o>pictslider</o> object when the knob is moved as far as possible to the right. The message <m>rightvalue 100</m> will cause the control to send 100 out of its left outlet when the knob is moved all the way to the right.
			</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="127" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Value at Right Side" />
				<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="scaleknob" get="1" set="1" type="int" size="1">
			<digest>
				Knob image stretch mode
			</digest>
			<description>
				When set to non-zero, tells the <o>pictslider</o> object to stretch or shrink the knob when you change the size of the entire object. <m>scaleknob 0</m> will result in the knob always being drawn at its original size.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Image" />
				<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="Scale Knob" />
				<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="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>
		<attribute name="topmargin" get="1" set="1" type="int" size="1">
			<digest>
				Top margin
			</digest>
			<description>
				Sets the top margin, in pixels, for the <o>pictslider</o>. The margin reduces the area in which the knob moves; if a margin is zero, the knob can move all the way to the top of the slider.
			</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="label" get="1" set="1" type="symbol" size="1" value="Top Margin" />
				<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="topvalue" get="1" set="1" type="atom_long" size="1">
			<digest>
				Value at slider top
			</digest>
			<description>
				Sets the values emitted by the <o>pictslider</o> object when the knob is moved as far as possible to the top. The message <m>topvalue 100</m> will cause the control to send 100 out of its left outlet when the knob is moved all the way to the top.
			</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="127" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Value at Top" />
				<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="verticaltracking" get="1" set="1" type="float" size="1">
			<digest>
				Vertical tracking ratio
			</digest>
			<description>
				Sets the vertical tracking ratio for movements of the <o>pictslider</o> object's knob. The default value is 1.0. Values greater than one cause the knob to move more quickly when dragged; values less than one cause it to move more slowly.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Tracking" />
				<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="Vertical Tracking Amount" />
				<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>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="pictslider.png" caption="pictslider lets you create both one- and two-dimensional UI elements" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="dial" />
		<seealso name="kslider" />
		<seealso name="multislider" />
		<seealso name="nslider" />
		<seealso name="pictctrl" />
		<seealso name="rslider" />
		<seealso name="slider" />
		<seealso name="tab" />
		<seealso name="textbutton" />
		<seealso name="ubutton" />
		<seealso name="basicchapter14" module="max" type="tutorial" />
		<seealso name="interfacechapter02" module="max" type="tutorial" />
	</seealsolist>
	<discussion>
		You can use the <o>pictslider</o> object to create horizontal or vertical sliders, as well as two-dimensional controllers (virtual trackpads or joysticks).
		<br />
		<br />
		Note: The <o>pictslider</o> object customarily uses images saved in Portable Network Graphics (.png) format. If you are using Max on Windows, we recommend that you install QuickTime and choose a complete install of all optional components to work with images other than PNG or PICT files.
	</discussion>
	<misc name="Picture File Format">
		<entry name="Specifications">
			<description>
				The <o>pictslider</o> object uses the two picture files: one for the background, and one for the knob that is moved over the background with the mouse.
				<br />
				<br />
				Background picture files can be in PICT format, or if QuickTime Version 3.0 or later is installed, one of the other graphics file formats listed in the QuickTime appendix. Background picture files must have the following layout:
				<br />
				<br />
				<img src="images/image190.png" />
				<br />
				<br />
				Only one image is required; if only one image is supplied, it will be used for drawing all states of the background. Additional images are placed to the right of the first image. You can add images for the inactive state of the control. The inactive image will be used after the control has received an <m>active 0</m> message.
				<br />
				<br />
				Knob files must be in PICT format with the following layout:
				<br />
				<br />
				<img src="images/image191.png" />
				<br />
				<br />
				The picture is made up of a grid of one or more images. All images have the same width and height.
				<br />
				<br />
				Only one image is required; if only one image is supplied, it will be used for drawing all states of the knob. Additional images are placed to the right of the first image. You can add images for either or both the &quot;clicked&quot; or inactive states of the control. The &quot;clicked&quot; image will be shown when the user is dragging the control's knob. The inactive image will be used after the control has received an <m>active 0</m> message.
				<br />
				<br />
				Image masks can be used to create knobs with non-rectangular outlines. These masks are directly below their corresponding images in the picture file. If you wish to use masks for any of the knob images, you must provide masks for all of them--each image will have a corresponding row of masks. Black pixels in the mask image create areas of the corresponding image that will be drawn, and white pixels create invisible areas.
			</description>
		</entry>
	</misc>
	<misc name="Output">
		<entry name="int">
			<description>
				Moving the slider's knob by clicking and dragging it with the mouse, or sending values to either of its inlets, causes its horizontal value to be emitted from the left outlet and its vertical value to be emitted from the right outlet. Incoming values are constrained to the ranges determined by the top/bottom and left/right values set in the inspector.
			</description>
		</entry>
	</misc>
</c74object>
