<?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.arrows" module="m4l" category="M4L U/I">
	<digest>
		Vectorized arrow(s) user interface object
	</digest>
	<description>
		<o>live.arrows</o> displays a variable number of directional arrow buttons.
	</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 (colors...)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Selected Arrow Symbol
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<palette category="Live" action="live.arrows" pic="live.arrows.svg" />
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="OBJARG_NAME" type="OBJARG_TYPE" optional="0">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Select an arrow and send a message
			</digest>
			<description>
				Sending an integer value to the <o>live.arrows</o> object will cause the displayed arrow whose number corresponds to those arrow(w) currently displayed to flash and will send a corresponding message out the <o>live.arrows</o> object's outlet. Index numbering for arrows starts at 0 for the leftmost arrow. The indexing range will vary depending on the number of arrows displayed (using the <m>downarrow</m>, <m>leftarrow</m>, <m>rightarrow</m>, and <m>uparrow</m> attributes).
			</description>
		</method>
		<method name="down">
			<arglist />
			<digest>
				Flash the down arrow and send a message
			</digest>
			<description>
				When the <m>down</m> message is received, the down arrow will flash and the message <m>down</m> will be sent to the <o>live.arrows</o> object's outlet if the <m>downarrow</m> attribute is set to 1.
			</description>
		</method>
		<method name="(mouse)">
			<digest>
				Click to output the corresponding arrow symbol
			</digest>
			<description>
				Click to output the corresponding arrow symbol.
			</description>
		</method>
		<method name="left">
			<arglist />
			<digest>
				Flash the left arrow and send a message
			</digest>
			<description>
				When the <m>left</m> message is received, the left arrow will flash and the message <m>left</m> will be sent to the <o>live.arrows</o> object's outlet if the <m>leftarrow</m> attribute is set to 1.
			</description>
		</method>
		<method name="right">
			<arglist />
			<digest>
				Flash the right arrow and send a message
			</digest>
			<description>
				When the <m>right</m> message is received, the right arrow will flash and the message <m>right</m> will be sent to the <o>live.arrows</o> object's outlet if the <m>rightarrow</m> attribute is set to 1.
			</description>
		</method>
		<method name="up">
			<arglist />
			<digest>
				Flash the up arrow and send a message
			</digest>
			<description>
				When the <m>up</m> message is received, the up arrow will flash and the message <m>up</m> will be sent to the <o>live.arrows</o> object's outlet if the <m>uparrow</m> attribute is set to 1.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="arrowcolor" get="1" set="1" type="float" size="4">
			<digest>
				Arrow color
			</digest>
			<description>
				Sets the arrow color of the <o>live.arrows</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. 0. 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Arrow 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="blinkcolor" get="1" set="1" type="float" size="4">
			<digest>
				Blink color
			</digest>
			<description>
				Sets the blink color of the <o>live.arrows</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.788235 0.027451 1." />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Blink 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="blinktime" get="1" set="1" type="int" size="1">
			<digest>
				Blink time
			</digest>
			<description>
				Sets the blink time in milliseconds.
			</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="150" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Blink Time in Milliseconds" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
			</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.arrows</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="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="downarrow" get="1" set="1" type="int" size="1">
			<digest>
				Down arrow display toggle
			</digest>
			<description>
				Toggles the display of the down arrow. The default is 1 (on).
			</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 Down Arrow" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="3" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="leftarrow" get="1" set="1" type="int" size="1">
			<digest>
				Left arrow display toggle
			</digest>
			<description>
				Toggles the display of the left arrow. The default is 1 (on).
			</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 Left Arrow" />
				<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="onoff" />
			</attributelist>
		</attribute>
		<attribute name="rightarrow" get="1" set="1" type="int" size="1">
			<digest>
				Right arrow display toggle
			</digest>
			<description>
				Toggles the display of the right arrow. The default is 1 (on).
			</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 Right Arrow" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="4" />
				<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="uparrow" get="1" set="1" type="int" size="1">
			<digest>
				Up arrow display toggle
			</digest>
			<description>
				Toggles the display of the up arrow. The default is 1 (on).
			</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 Up Arrow" />
				<attribute name="order" get="1" set="1" type="int" size="1" value="2" />
				<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>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="live.arrows.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="live.button" />
	</seealsolist>
	<misc name="Output">
		<entry name="symbol">
			<description>
				When a left, up, down, or right arrow is clicked or selected using a message, a corresponding message (<m>left</m>, <m>up</m>, <m>down</m> or <m>right</m>) is sent to the outlet
			</description>
		</entry>
	</misc>
</c74object>
