<?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="comment" module="max" category="U/I">
	<digest>
		Explanatory note or label
	</digest>
	<description>
		<o>comment</o> displays text which is typed into it in order to serve as a label or explanatory text.
	</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>
				Messages in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<palette category="Basic" action="comment" order="3" pic="comment.svg" />
	<!--OUTLETS-->
	<!--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="append">
			<arglist>
				<arg name="message" optional="0" type="list" />
			</arglist>
			<digest>
				Add text at end of current contents
			</digest>
			<description>
				The word <m>append</m> followed by any message will set the <o>comment</o> object to display that message after any text which it already contains.
			</description>
		</method>
		<method name="prepend">
			<arglist>
				<arg name="message" optional="0" type="list" />
			</arglist>
			<digest>
				Add text in front of current contents
			</digest>
			<description>
				The word <m>prepend</m> followed by any message will set the <o>comment</o> object to display that message before any text which it already contains.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="message" optional="0" type="list" />
			</arglist>
			<digest>
				Displays a message
			</digest>
			<description>
				The word <m>set</m> followed by any message will set the <o>comment</o> object to display that message.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="bgcolor" get="1" set="1" type="float" size="4">
			<digest>
				Background color
			</digest>
			<description>
				Sets the background color of the comment box in RGBA format. The <m>bgcolor</m> attribute is mapped to the <m>clearcolor</m>  <link module="core" name="maxcolor" type="vignette">style color</link>.
			</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="Color" />
				<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" />
				<attribute name="stylemap" get="1" set="1" type="symbol" size="1" value="clearcolor" />
			</attributelist>
		</attribute>
		<attribute name="bubble" get="1" set="1" type="int" size="1">
			<digest>
				Enable bubble comments
			</digest>
			<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="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="Bubble" />
				<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="bubblepoint" get="1" set="1" type="float" size="1">
			<digest>
				Bubble Arrow Point (0-1)
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Appearance" />
				<attribute name="default" get="1" set="1" type="float" size="1" value="0.5" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Bubble Arrow Point (0-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" />
			</attributelist>
		</attribute>
		<attribute name="bubbleside" get="1" set="1" type="int" size="1">
			<digest>
				Bubble Arrow Side
			</digest>
			<description>
				Sets the side from which the arrow will originate on bubble comments.
			</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="enumvals" get="1" set="1" type="atom" size="4">
					<enumlist>
						<enum name="Top">
							<digest>
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Left">
							<digest>
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Bottom">
							<digest>
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
						<enum name="Right">
							<digest>
							</digest>
							<description>
								TEXT_HERE
							</description>
						</enum>
					</enumlist>
				</attribute>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Bubble Arrow 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" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="enumindex" />
			</attributelist>
		</attribute>
		<attribute name="bubbletextmargin" get="1" set="1" type="int" size="1">
			<digest>
				Bubble Text Margin
			</digest>
			<description>
				TEXT_HERE
			</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="5" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Bubble Text 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="style" get="1" set="1" type="symbol" size="1">
			<digest>
				Style
			</digest>
			<description>
				TEXT_HERE
			</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="suppressinlet" get="1" set="1" type="int" size="1">
			<digest>
				Suppress Inlet
			</digest>
			<description>
				TEXT_HERE
			</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="introduced" get="1" set="1" type="symbol" size="1" value="7.1.0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Suppress Inlet" />
				<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="underline" get="1" set="1" type="int" size="1">
			<digest>
				Underline text
			</digest>
			<description>
				Toggles underlining the comment's text. This value can only be set using the Underline setting in the <o>comment</o> object's Inspector.
			</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="Underline" />
				<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>
	<!--MENU ITEMS-->
	<menuitemlist>
		<menuitem name="Color">
			<digest>
				Color... menu item
			</digest>
			<description>
				Choosing the <b>Color...</b> menu item from the <b>Object</b> menu when the object is selected opens a <link type="vignette" module="core" name="color_palette">color picker</link>, permitting adjustment to the appearance of the <o>comment</o> object.
			</description>
		</menuitem>
	</menuitemlist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="comment.png" caption="Elucidate.......... Label......... Make functional (covered with a ubutton)" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="ubutton" />
		<seealso name="textedit" />
		<seealso name="message" />
		<seealso name="textbutton" />
		<seealso name="datachapter01" module="max" type="tutorial" />
	</seealsolist>
	<misc name="Output">
		<entry name="(visual)">
			<description>
				<o>comment</o> has no outlets, sends no output, and does not affect patch functionality.
			</description>
		</entry>
	</misc>
</c74object>
