<?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="pictctrl" module="max" category="U/I">
	<digest>
		Picture-based control
	</digest>
	<description>
		Creating buttons, switches, knobs, and other controls using images from a picture file for its appearance.
	</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 (0-1) Sets Value, read Opens File
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Button or Dial Value
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<palette category="Buttons, Interface" action="pictctrl" pic="pictctrl.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>
				Sends the current value of the <o>pictctrl</o> to the outlet.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Set current value, cause output
			</digest>
			<description>
				Sets the value of the button or knob set by the control, and sends the current value out the outlet. In button and toggle mode, the value must be either 0 or 1. In dial mode, the range of values is determined by <o>pictctrl</o> object's Range attribute.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Set current value, cause output
			</digest>
			<description>
				Converted to <m>int</m>.
			</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>pictctrl</o> object, the image will be loaded.
			</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 using the Inspector.
			</description>
		</method>
		<method name="link">
			<arglist>
				<arg name="filename" optional="0" type="symbol" />
			</arglist>
			<digest>
				Link image to <o>pictctrl</o> 
			</digest>
			<description>
				The word <m>link</m>, followed by a filename to a file which has already been loaded into the <o>pictctrl</o> object will link the object with that file.
			</description>
		</method>
		<method name="picture">
			<arglist>
				<arg name="imagefile-name" optional="0" type="list" />
			</arglist>
			<digest>
				Read an image file from disk
			</digest>
			<description>
				The word <m>picture</m> followed by the name of an image file will read that file into the <o>pictctrl</o> object. The word with no name following opens a standard file dialog for choosing an image file.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Set current value with no output
			</digest>
			<description>
				The word <m>set</m>, followed by a number, sets the value of the button or knob to that number, without triggering output.
			</description>
		</method>
		<method name="read">
			<arglist>
				<arg name="filename" optional="1" type="list" />
			</arglist>
			<digest>
				Read an image file from disk
			</digest>
			<description>
				The word <m>read</m> followed by the name of an image file will read that file into the <o>pictctrl</o> object. The word with no name following opens a standard file dialog for choosing an image file.
			</description>
		</method>
		<method name="readany">
			<arglist>
				<arg name="filename" optional="0" type="list" />
			</arglist>
			<digest>
				Read any file as an image
			</digest>
			<description>
				The word <m>readany</m> followed by the name of a file will read any type of file into the <o>pictctrl</o> object and attempt to interpret it as a picture.
			</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>pictctrl</o> object. The default is 1 (enabled). If a separate set of inactive images is present in the <o>pictctrl</o> object's picture file and if the inactive images attribute is set, the <m>active</m> message will also change the appearance of the control.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" 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="clickedimage" get="1" set="1" type="int" size="1">
			<digest>
				Clicked control image flag
			</digest>
			<description>
				Toggles the use of an alternate set of image frames in your picture file to give the dial a different appearance when the user clicks on it and drags the mouse pointer. <m>clickedimage 0</m> disables this feature.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Dial" />
				<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="Dial 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="clickincrement" get="1" set="1" type="int" size="1">
			<digest>
				Click-to-increment mode
			</digest>
			<description>
				Sets the output value to increment by 1 each time the object is clicked (Click to Increment mode). Any movement of the mouse after clicking is ignored. When the uppermost value is reached, the value returns to zero with the next click. All other mouse tracking modes are disabled. <m>clickincrement 0</m> disables Click to Increment mode.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Dial" />
				<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="Dial Increment on Click" />
				<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="clip" get="1" set="1" type="int" size="1">
			<digest>
				Clip mouse movement
			</digest>
			<description>
				Causes pictctrl, while in dial-mode, to clip mouse-movement within the range of the dial. When followed by a 0, <o>pictctrl</o> will wrap around to the minimum when it surpasses the maximum value (within the range of the dial) and vice versa to the maximum when it surpasses the minimum value.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Dial" />
				<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="Clip Dial Value" />
				<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="degrees" get="1" set="1" type="int" size="1">
			<digest>
				Degrees of rotation
			</digest>
			<description>
				Specifies the degree-of-rotation <o>pictctrl</o> has while in dial-mode.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Dial" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="270" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Dial Tracking Degree Range" />
				<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="frames" get="1" set="1" type="int" size="1">
			<digest>
				Number of images (columns)
			</digest>
			<description>
				Specifies the number of images (columns) in the picture file. The number of frames does not have to be the same as the range of the control; the <o>pictctrl</o> object will use the nearest image for any given value.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Dial" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="10" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Dial Number of Images" />
				<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 non-zero, indicates that your picture file has an image mask. The default is 0 (no image mask). 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="symbol" 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 non-zero, indicates that your picture file has an additional row of images for its inactive state. The default is 0 (no inactive state).
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" 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 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="mode" get="1" set="1" type="int" size="1">
			<digest>
				Operation mode
			</digest>
			<description>
				Selects mode of operation for the <o>pictctrl</o> object.
				<br />
				<m>Button</m> (the default)
				<br />
				<m>Toggle</m> 				<br />
				<m>Dial mode</m> 
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<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="0" />
				<attribute name="enumvals" get="1" set="1" type="atom" size="3">
					<enumlist>
						<enum name="Button">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Toggle">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Dial">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
					</enumlist>
				</attribute>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Control Type" />
				<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="multiplier" get="1" set="1" type="int" size="1">
			<digest>
				Multiplier value
			</digest>
			<description>
				Sets a multiplier value. When <o>pictctrl</o> is in dial mode, the object's value is multiplied by this number before being sent out the outlet. The multiplication happens before the addition of the Offset value. The default multiplier value is 1.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Dial" />
				<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="Dial Output Multiplier" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="name" get="1" set="1" type="symbol" size="1">
			<digest>
				Image file pathname
			</digest>
			<description>
				Designates the graphics file that the <o>pictctrl</o> object will use will use for the control's button or dial file. 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/CoolButton.png</m>&quot;).
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="symbol" 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="Image File" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="1" />
				<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="offset" get="1" set="1" type="int" size="1">
			<digest>
				Offset value
			</digest>
			<description>
				Sets an offset value. When <o>pictctrl</o> is in dial mode, the offset value is added to the object's value before being sent out the outlet. The default offset value is 0.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Dial" />
				<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="Dial Minimum" />
				<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="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="range" get="1" set="1" type="int" size="1">
			<digest>
				Dial mode range
			</digest>
			<description>
				Sets the range of the <o>pictctrl</o> object when it is in dial mode. The default value is 128.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Dial" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="128" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Dial Range" />
				<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="ratio" get="1" set="1" type="int" size="1">
			<digest>
				Pixels/degrees for value change
			</digest>
			<description>
				Specifies how many pixels the mouse pointer must move before the value of the dial changes by one increment. If the <o>pictctrl</o> object is using Circular Tracking, the ratio message specifies how many degrees the cursor must move, relative to the center of the object, to increase the value by one.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Dial" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="2" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Dial Pixels Per Value Change" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="snap" get="1" set="1" type="int" size="1">
			<digest>
				Snap to image size
			</digest>
			<description>
				Sets <o>pictctrl</o> to snap to the image's original size. When followed by a 0, <o>pictctrl</o> will not snap to the image's original size.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" 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="Snap Size to Picture Size" />
				<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="threshold" get="1" set="1" type="float" size="1">
			<digest>
				Button mode alpha hit threshold
			</digest>
			<description>
				Sets the button Alpha hit threshold.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Behavior" />
				<attribute name="default" get="1" set="1" type="float" size="1" value="0." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Button Alpha Hit Threshold" />
				<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="trackcircular" get="1" set="1" type="int" size="1">
			<digest>
				Circular tracking mode
			</digest>
			<description>
				Sets the <o>pictctrl</o> object to respond when you click on it and drag the mouse in a circular arc relative to the control's center (Circular Tracking mode). Moving the mouse clockwise increases the control's value, and moving it counterclockwise decreases its value. Enabling circular tracking disables all other tracking modes. <m>trackcircular 0</m> disables circular tracking.
			</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="Dial" />
				<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="Dial Circular Tracking" />
				<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="trackhorizontal" get="1" set="1" type="int" size="1">
			<digest>
				Horizontal tracking mode
			</digest>
			<description>
				Sets the <o>pictctrl</o> object to respond when you click on it and drag the mouse horizontally; moving the mouse to the right increases the object's value, and moving it to the left decreases the value. Enabling this mode of operation disables the Circular Tracking and Click to Increment modes (see the <m>clickincrement</m> and <m>trackcircular</m> messages).
			</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="Dial" />
				<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="Dial Horizontal Tracking" />
				<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="tracking" get="1" set="1" type="int" size="1">
			<digest>
				Live tracking mode
			</digest>
			<description>
				Toggles live tracking. If live tracking is on, the <o>pictctrl</o> object will change its state if the mouse moves in and out of the rectangular border of the object with the mouse button held down. <m>tracking 0</m> disables live tracking
			</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="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Button Live Tracking" />
				<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="trackvertical" get="1" set="1" type="int" size="1">
			<digest>
				Vertical tracking mode
			</digest>
			<description>
				Sets the <o>pictctrl</o> object to respond when you click on it and drag the mouse vertically; moving the mouse up increases the object's value, and moving it down decreases the value. Enabling this mode of operation disables the Circular Tracking and Click to Increment modes (see the <m>clickincrement</m> and <m>trackcircular</m> messages).
			</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="Dial" />
				<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="Dial Vertical Tracking" />
				<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>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="pictctrl.png" caption="Create customized controls to create a more attractive user interface" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="dial" />
		<seealso name="kslider" />
		<seealso name="matrixctrl" />
		<seealso name="pictslider" />
		<seealso name="rslider" />
		<seealso name="slider" />
		<seealso name="tab" />
		<seealso name="textbutton" />
		<seealso name="ubutton" />
		<seealso name="interfacechapter02" module="max" type="tutorial" />
	</seealsolist>
	<discussion>
		Note: The <o>pictctrl</o> object 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>
				When you create a new <o>pictctrl</o> object in a patcher window, it has no associated picture file. Use the Open button in the Inspector to choose a picture file for the control. By convention, the <o>pictctrl</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 layout of the picture in the file varies depending on which mode of operation the <o>pictctrl</o> uses. All three modes require that the pictures be made up of a grid of images, in which all images have the same width and height.
				<br />
				<br />
				Button mode has the simplest layout:
				<br />
				<br />
				<img src="images/image186.png" />
				<br />
				<br />
				The first row of images is mandatory: these two images are used for the idle and clicked states (values zero and one, respectively) of the button. The next row of images, if present, is used for the control when it is in its inactive state. The next rows contain the masks for the top row of images, and the inactive images if present.
				<br />
				<br />
				Toggle mode has a similar layout:
				<br />
				<br />
				<img src="images/image187.png" />
				<br />
				<br />
				In this mode, the top two rows are mandatory. The first row of images are used when the control's value is zero, the next row when its value is one. The third row is optional; it is used for the control when it is in its inactive state. (Note that there are no &quot;clicked&quot; images for the inactive state, since when inactive, the control ignores mouse clicks.) The next rows contain masks for the images.
				<br />
				<br />
				The Dial mode layout varies in size depending on how many image frames it has, which must be the same as the Image Frames parameter as set in the inspector:
				<br />
				<br />
				<img src="images/image188.png" />
				<br />
				<br />
				The first row of images is mandatory: one image for each visually distinct state of the control. Dials need as many picts as you wish them to have visible states. Note that dials can receive and send a larger range of values than are represented by picts (e.g. your dial can have a range of 128 even if you only use eight pict frames to represent the range of the dial). The next row of images is optional, and is used when the user is clicking and dragging on the object to change its value. The next row is also optional; (Note that there are no &quot;clicked&quot; images for the inactive state, since when inactive, the control ignores mouse clicks.) The following rows contain masks for the images.
			</description>
		</entry>
	</misc>
	<misc name="Output">
		<entry name="int">
			<description>
				The current value of the <o>pictctrl</o> object. In toggle and button modes this will be a 0 or a 1. In dial mode, this value is specified by the range, offset, and multiplier that you set in the Inspector window.
			</description>
		</entry>
	</misc>
</c74object>
