Formatting



use:  type type
eg:  type ITEM_TYPE_TEXT


ITEM_TYPE_TEXT				// simple text
ITEM_TYPE_OWNERDRAW			// owner draw, name specs what it is
ITEM_TYPE_BORDER			//


use:  textalign type
eg: textalign ITEM_ALIGN_RIGHT

ITEM_ALIGN_LEFT				// left alignment
ITEM_ALIGN_CENTER			// center alignment
ITEM_ALIGN_RIGHT			// right alignment
ITEM_ALIGN_AUTO				// auto right adjust


use:  textstyle type
eg: textstyle ITEM_TEXTSTYLE_SHADOWED

ITEM_TEXTSTYLE_NORMAL			// normal text
ITEM_TEXTSTYLE_BLINK			// fast blinking
ITEM_TEXTSTYLE_PULSE			// slow pulsing
ITEM_TEXTSTYLE_SHADOWED			// drop shadow ( need a color for this )
ITEM_TEXTSTYLE_SHADOWEDMORE		// drop shadow ( need a color for this )


use:  style type
eg: style WINDOW_BORDER_FULL

WINDOW_BORDER_NONE			// no border
WINDOW_BORDER_FULL			// full border based on border color ( single unit )
WINDOW_BORDER_HORZ			// horizontal borders only
WINDOW_BORDER_VERT			// vertical borders only
WINDOW_STYLE_EMPTY			// no background
WINDOW_STYLE_FILLED			// filled with background color
WINDOW_STYLE_GRADIENT			// gradient bar based on background color
WINDOW_STYLE_SHADER			// background shader
WINDOW_STYLE_TEAMCOLOR			// team color


use: anchor(axis) $evalint(type + type)
eg: anchory $evalint(ANCHOR_AUTOSIZE_HEIGHT + ANCHOR_BOTTOM)

for making text boxes (mm1 or mm2) grow in a direction other than top to bottom + left to right

ANCHOR_NONE				//
ANCHOR_AUTOSIZE_WIDTH			//Auto-size the item depending on the width of the text (anchorx)
ANCHOR_AUTOSIZE_HEIGHT			//Auto-size the item depending on the height of the text (anchory)
ANCHOR_RIGHT				//Anchor text to the right side of the area when it isn't the full width of the rectangle (anchorx)
ANCHOR_BOTTOM				//Anchor text to the bottom of the area when it isn't the full height of the rectangle (anchory)
ANCHOR_CENTER				//Center text in the width of the rectangle when it isn't the full width (anchorx)
ANCHOR_MIDDLE				//Center text in the middle of the rectangle when it isn't the full height (anchory)

document effective date: 22 jan 2005
document owner: shuriken
