<?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.grid" module="m4l" category="M4L U/I">
	<digest>
		A UI grid of steps, with constraints and directions
	</digest>
	<description>
		<o>live.grid</o> is a user interfaces object designed for use with the <o>chucker~</o> object. It provides a display grid of steps, constraints for transposition, and playback direction for use in controlling the <o>chucker~</o> object.
	</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="INLET_TYPE">
			<digest>
				Message in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				Sync Messages
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="list">
			<digest>
				Current Step Value (y value, direction)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="list">
			<digest>
				Steps Values
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="2" type="list">
			<digest>
				Directions Values
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="3" type="list">
			<digest>
				Mouse Over Information
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="4" type="list">
			<digest>
				dumpout
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="5" type="anything">
			<digest>
				Synchronisation Messages (if Linked)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<palette category="Live" action="live.grid" pic="live.grid.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="int">
			<arglist>
				<arg name="step-index" optional="0" type="int" />
			</arglist>
			<digest>
				Set, display, and output the current step
			</digest>
			<description>
				Sets, displays and outputs the current step. The list sent out the left outlet of the <o>live.grid</o> object takes the form <m>step(s)</m>  <m>direction (optional, depending on the visibility of the directions panel)</m>. When the <o>live.grid</o> object is in Matrix Mode and there is no value selected in the column, a 0 is sent as the step value.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="input-list" optional="0" type="list" />
			</arglist>
			<digest>
				Function depends on the <m>direction</m> or <m>matrixmode</m> attributes
			</digest>
			<description>
				When the <m>direction</m> attribute is set to 0, a list of 2 values sets the step index and value.
				<br />
				When the <m>direction</m> attribute is set to 1, a <m>list</m> of 3 values sets the step index, value and direction.
				<br />
				When the <m>matrixmode</m> attribute is set to 1, a list of 3 values sets the object's behavior: <m>x</m>, <m>y</m>, and <m>state (0/1)</m>. An optional fourth value can be used to set direction (-1/0/1).
				<br />
			</description>
		</method>
		<method name="dictionary">
			<arglist>
				<arg name="ARG_NAME_0" type="symbol" optional="0" />
			</arglist>
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</method>
		<method name="clear">
			<arglist />
			<digest>
				Deselect all currently set rows and columns
			</digest>
			<description>
				The <m>clear</m> message is only used when the <m>matrixmode</m> attribute is enabled, and will deselect all currently set rows and columns.
			</description>
		</method>
		<method name="constraint">
			<arglist>
				<arg name="constraint of the step" optional="0" type="list" />
			</arglist>
			<digest>
				Set the constraint for a step
			</digest>
			<description>
				Sets the constraint for a specific step. For instance, the message <m>constraint 3 0 0 1 1</m> sets the constraints of the third step (column numbering starts at 1) to 0 0 1 1.
			</description>
		</method>
		<method name="directions">
			<arglist>
				<arg name="directions" optional="0" type="list" />
			</arglist>
			<digest>
				Set a step's playback direction
			</digest>
			<description>
				Sets the grid directions, used to indicate the direction of playback of a step:
				<br />
				<m>-1</m>: Backward
				<br />
				<m>0</m>: Stop
				<br />
				<m>1</m>: Forward
			</description>
		</method>
		<method name="down">
			<arglist />
			<digest>
				Decrease all step values
			</digest>
			<description>
				Decreases (lowers) the current values of all the steps by one. New step values are sent out the second outlet.
				<br />
				<br />
				Note: The current constraints, if any, are also taken into account when altering current step values; the resulting shift might be &quot;rounded&quot; to the closest step.
			</description>
		</method>
		<method name="freeze">
			<arglist>
				<arg name="step-index" optional="0" type="int" />
			</arglist>
			<digest>
				Display/hide a frozen step
			</digest>
			<description>
				Set the index to 0 to hide the overlay used to indicate frozen values. Any index greater than zero sets and displays the frozen step.
			</description>
		</method>
		<method name="getcolumn">
			<arglist>
				<arg name="column" optional="0" type="int" />
			</arglist>
			<digest>
				Report the values for a specified column
			</digest>
			<description>
				The word <m>getcolumn</m>, followed by a number that specifies a column in the <o>live.grid</o> display, will send a list consisting of the word <m>column</m>, a number that specifies the column index, and a list of the current column values out the fourth (dumpout) outlet (column numbering starts at 1).
			</description>
		</method>
		<method name="getconstraint">
			<arglist>
				<arg name="column" optional="0" type="int" />
			</arglist>
			<digest>
				Report the constraint values for a specified column
			</digest>
			<description>
				The word <m>getconstraint</m>, followed by a number that specifies a column in the <o>live.grid</o> display, will send a list consisting of the column number followed by a list indicating the constrain state of each cell in the column, from bottom to top (column numbering starts at 1). Constraints are indicated as follows:
				<br />
				<m>0</m>: Constraint
				<br />
				<m>1</m>: No constraint
			</description>
		</method>
		<method name="getdirections">
			<arglist>
				<arg name="column" optional="0" type="int" />
			</arglist>
			<digest>
				Report the direction for a specified column
			</digest>
			<description>
				The word <m>getdirections</m>, followed by a number that specifies a column in the <o>live.grid</o> display, will send a list consisting of the column number followed by the direction out the fourth (dumpout) outlet (column numbering starts at 1). The direction is indicated as follows:
				<br />
				<m>-1</m>: Backward
				<br />
				<m>0</m>: Stop
				<br />
				<m>1</m>: Forward
			</description>
		</method>
		<method name="getcell">
			<arglist>
				<arg name="x-index" optional="0" type="int" />
				<arg name="y-index" optional="0" type="int" />
			</arglist>
			<digest>
				Report the value of a specified cell
			</digest>
			<description>
				The word <m>cell</m>, followed by a pair of numbers that specifies the <i>x</i> and <i>y</i> indices of a cell in the <o>live.grid</o> display, will send a list consisting of the word <m>cell</m>, a number pair that specifies the <i>x</i> and <i>y</i> indices, and the value of the cell (column numbering starts at 1).
			</description>
		</method>
		<method name="getrow">
			<arglist>
				<arg name="row" optional="0" type="int" />
			</arglist>
			<digest>
				Report the values for a specified row
			</digest>
			<description>
				The word <m>getrow</m>, followed by a number that specifies a row in the <o>live.grid</o> display, will send a list consisting of the word <m>row</m>, a number that specifies the row index, and a list of the current row values out the fourth (dumpout) outlet (row numbering starts at 1).
			</description>
		</method>
		<method name="init">
			<arglist />
			<digest>
				Restore and output the initial values
			</digest>
			<description>
				Restores and outputs the initial values.
			</description>
		</method>
		<method name="left">
			<arglist />
			<digest>
				Left-shift values of all steps
			</digest>
			<description>
				Rotate the values of all steps to the left. New steps values are sent out the second outlet.
				<br />
				<br />
				Note: The current constraints, if any, are also taken into account when altering current step values; the resulting shift might be &quot;rounded&quot; to the closest step.
			</description>
		</method>
		<method name="linkdump">
			<arglist />
			<digest>
				Synchronize a <o>live.grid</o> object to another
			</digest>
			<description>
				When the <m>link</m> attribute is set to 1, the <m>linkdump</m> message sends all messages required to synchronize one <o>live.grid</o> object to another <o>live.grid</o> object out the object's right outlet.
			</description>
		</method>
		<method name="(mouse)">
			<digest>
				Click and drag to edit step values or constraints
			</digest>
			<description>
				Click and drag to edit the step values or constraints, depending on the current display mode.
				<br />
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="step-index" optional="0" type="int" />
			</arglist>
			<digest>
				Set and display an output step without causing output
			</digest>
			<description>
				Sets and displays the current output step without causing output.
			</description>
		</method>
		<method name="random">
			<arglist>
				<arg name="type (optional)" optional="0" type="list" />
			</arglist>
			<digest>
				Generate new step values or step constraints
			</digest>
			<description>
				The word <m>random</m> generates new step values or step constraints, depending on the current <m>mode</m>. An optional second argument can be used to select a portion of the UI object to randomize:
				<br />
				<m>steps</m>: Randomize the steps values
				<br />
				<m>constraint</m>: Randomize constraints and make sure that the steps values are correct with respect to the new constraints grid
				<br />
				<m>directions</m>: Randomize directions if the <m>direction</m> attribute is set to 1.
			</description>
		</method>
		<method name="reset">
			<arglist>
				<arg name="type (optional)" optional="0" type="list" />
			</arglist>
			<digest>
				Set the default values or clear constraints
			</digest>
			<description>
				The word <m>reset</m> sets the default values or clears the constraints, depending on the current <m>mode</m>. An optional second argument can be used to select a portion of the UI object to reset:
				<br />
				<m>steps</m>: Reset the steps values (Note: since the reset may interact with the current constraints, a given step value may not be completely reset)
				<br />
				<m>constraint</m>: Clear all constraints
				<br />
				<m>directions</m>: Set all the directions to <m>forward</m> if the <m>direction</m> attribute is set to 1.
			</description>
		</method>
		<method name="setcell">
			<arglist>
				<arg name="x-index" optional="0" type="int" />
				<arg name="y-index" optional="0" type="int" />
				<arg name="value" optional="0" type="int" />
			</arglist>
			<digest>
				Set the value of the specified cell
			</digest>
			<description>
				The word <m>setcell</m>, followed by a pair of numbers that specifies the <i>x</i> and <i>y</i> indices of a cell in the <o>live.grid</o> display and a number value, will set the value of the specified cell (column numbering starts at 1).
			</description>
		</method>
		<method name="steps">
			<arglist>
				<arg name="step values" optional="0" type="list" />
			</arglist>
			<digest>
				Set the values of all the steps at once
			</digest>
			<description>
				Sets the values of all the steps at once. Value numbering starts at 1.
			</description>
		</method>
		<method name="right">
			<arglist />
			<digest>
				Right-shift all step values
			</digest>
			<description>
				Rotate the values of all the steps to the right. New steps values are sent out the second outlet.
				<br />
				<br />
				Note: The current constraints, if any, are also taken into account when altering current step values; the resulting shift might be &quot;rounded&quot; to the closest step.
			</description>
		</method>
		<method name="up">
			<arglist />
			<digest>
				Increase all step values
			</digest>
			<description>
				Increases (raises) the values of all steps. New steps values are sent out the second outlet.
				<br />
				<br />
				Note: The current constraints, if any, are also taken into account when altering current step values; the resulting shift might be &quot;rounded&quot; to the closest step.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="amountcolor" get="1" set="1" type="float" size="4">
			<digest>
				Amount Slider Color
			</digest>
			<description>
				Defines the color of the overlay 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.18 1. 0.63 0.25" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Amount Slider 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="bgstepcolor" get="1" set="1" type="float" size="4">
			<digest>
				Background step color
			</digest>
			<description>
				Sets the background step color of the <o>live.grid</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.196078 0.196078 0.196078 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Background Step 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="bgstepcolor2" get="1" set="1" type="float" size="4">
			<digest>
				Second background step color
			</digest>
			<description>
				Sets the second background step color of the <o>live.grid</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.552941 0.552941 0.552941 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Second Background Step 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="bordercolor" get="1" set="1" type="float" size="4">
			<digest>
				Border color
			</digest>
			<description>
				Sets the border color of the <o>live.grid</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. 0.019608 0.078431 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Border 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="bordercolor2" get="1" set="1" type="float" size="4">
			<digest>
				Second border color
			</digest>
			<description>
				Sets the second border color of the <o>live.grid</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.196078 0.196078 0.196078 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Second Border 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="columns" get="1" set="1" type="int" size="1">
			<digest>
				Number of columns
			</digest>
			<description>
				Sets the number of columns in the <o>live.grid</o> object's display
			</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="16" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Number of Columns" />
				<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="direction" get="1" set="1" type="int" size="1">
			<digest>
				Direction arrow display enable
			</digest>
			<description>
				Toggles the display of the directions arrows.
			</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 Directions Panel" />
				<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="direction_height" get="1" set="1" type="float" size="1">
			<digest>
				Direction Panel Height
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Appearance" />
				<attribute name="default" get="1" set="1" type="float" size="1" value="15." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Direction Panel Height" />
				<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="directioncolor" get="1" set="1" type="float" size="4">
			<digest>
				Direction color
			</digest>
			<description>
				Sets the color of the direction's arrows 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.196078 0.196078 0.196078 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Direction 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="displayamount" get="1" set="1" type="int" size="1">
			<digest>
				Display Slider Amount
			</digest>
			<description>
				Enables the display the of the <m>amountcolor</m> attribute color over <o>live.grid</o> steps. This is only available in non-matrix 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="Display Slider 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" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="freezecolor" get="1" set="1" type="float" size="4">
			<digest>
				Frozen background color
			</digest>
			<description>
				Sets the color of all frozen steps 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.18 0.63 1. 0.25" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Frozen 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="hbgcolor" get="1" set="1" type="float" size="4">
			<digest>
				Highlighted background color
			</digest>
			<description>
				Sets the highlighted background color of the <o>live.grid</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="1. 0.3 0.3 0.25" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Highlighted 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="link" get="1" set="1" type="int" size="1">
			<digest>
				Link
			</digest>
			<description>
				Toggles <m>link</m> mode. When activated, all the necessary messages to synchronize two <o>live.grid</o> objects are sent out the right outlet.
			</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="Link" />
				<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="marker_horizontal" get="1" set="1" type="int" size="1">
			<digest>
				Column marker
			</digest>
			<description>
				Defines the &quot;first beat&quot; indicator on the <o>live.grid</o> object's horizontal axis. The <m>bgstepcolor</m> attribute sets the display color for this indicator. To hide the indicator, set the attribute value to zero.
			</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="4" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Column Marker" />
				<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="marker_vertical" get="1" set="1" type="int" size="1">
			<digest>
				Row marker
			</digest>
			<description>
				Defines the &quot;first beat&quot; indicator on the <o>live.grid</o> object's vertical axis. The <m>bgstepcolor</m> attribute sets the display color for this indicator. To hide the indicator, set the attribute value to zero.
			</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="4" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Row Marker" />
				<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="matrixmode" get="1" set="1" type="int" size="1">
			<digest>
				Matrix mode enable
			</digest>
			<description>
				Toggles matrix mode for the object's display. In matrix mode, multiple cells in a row or column may be selected.
				<br />
				Note: The <m>list</m> and <m>steps</m> messages change their syntax slightly when used in conjunction with this attribute. See the listing for these messages for more details.
			</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="Matrix Mode" />
				<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>
				Display Mode
			</digest>
			<description>
				Defines the current display mode.
			</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="enumvals" get="1" set="1" type="atom" size="2">
					<enumlist>
						<enum name="Step Edit">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Step constraint">
							<digest>
								TEXT_HERE
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
					</enumlist>
				</attribute>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Display Mode" />
				<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="rounded" get="1" set="1" type="float" size="1">
			<digest>
				Roundness of grid units
			</digest>
			<description>
				Defines the roundness of the grid in pixels.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Appearance" />
				<attribute name="default" get="1" set="1" type="float" size="1" value="4." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Roundness of the Grid" />
				<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="rows" get="1" set="1" type="int" size="1">
			<digest>
				Number of rows
			</digest>
			<description>
				Sets the number of rows in the <o>live.grid</o> object's display. The minimum number of rows is 2 when the <m>matrixmode</m> attribute is not set, and 1 if it is.
			</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="16" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Number of Rows" />
				<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="spacing" get="1" set="1" type="float" size="1">
			<digest>
				Grid spacing
			</digest>
			<description>
				Defines the grid spacing in pixels.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Appearance" />
				<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="Grid Spacing" />
				<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="stepcolor" get="1" set="1" type="float" size="4">
			<digest>
				Step color
			</digest>
			<description>
				Sets the step color of the <o>live.grid</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="Step 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>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="live.grid.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="live.step" />
		<seealso name="multislider" />
		<seealso name="itable" />
		<seealso name="matrixctrl" />
		<seealso name="chucker~" />
	</seealsolist>
	<misc name="Output">
		<entry name="list">
			<description>
				<br />
				Out the leftmost outlet: Current step value: y value, direction (optional, depending on the visibility of the directions pane).
				<br />
				Out second outlet: The steps values are sent out this outlet whenever they are changed via the mouse or a message. If the <o>live.grid</o> object is in Matrix Mode, the step value/y value coordinates of all &quot;on&quot; points are sent out the outlet.
				<br />
				Out third outlet: The directions values are sent out this outlet whenever they are changed via the mouse or a message. Note that this outlet does not output anything when the <m>direction</m> attribute is set to 0.
				<br />
				Out the fourth outlet: Mouseover information: x, y, direction (optional, depending on the visibility of the directions panel). Also when the mouse is used to change a setting, the message <m>mousechange <i>N</i> </m> is sent, where <i>N</i> indicates the type of change (0 = steps, 1 = directions, 2 = constraints).
			</description>
		</entry>
		<entry name="anything">
			<description>
				<br />
				Out the fifth outlet: dumpout message used to query the <o>live.grid</o> object.
				<br />
				Out the rightmost outlet: Synchronization messages are sent through this outlet when the <m>link</m> attribute is set to 1.
			</description>
		</entry>
	</misc>
</c74object>
