<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
	<Frame name="AuroraObjectTemplate" virtual="true">
		<Scripts>
			<OnLoad>
				--[[ Hehe, this will probably never work! ]]
				if( this.onLoad ) then
					this.onLoad();
				end
			</OnLoad>
			<OnUpdate>
				if( this.onUpdate ) then
					this.onUpdate();
				end
			</OnUpdate>
			<OnEvent>
				if( this.onEvent ) then
					this.onEvent();
				end
			</OnEvent>
			<OnShow>
				if( this.onShow ) then
					this.onShow();
				end
			</OnShow>
            <OnClick>
				if( this.onClick ) then
					this.onClick();
				end
			</OnClick>
			<OnHide>
				if( this.onHide ) then
					this.onHide();
				end
			</OnHide>
			<OnEnter>
				if( this.onEnter ) then
					this.onEnter();
				end
			</OnEnter>
			<OnLeave>
				if( this.onLeave ) then
					this.onLeave();
				end
			</OnLeave>
		</Scripts>
	</Frame>
	<Frame name="AuroraObjectTemplateOld" virtual="true">
		<Scripts>
			<OnLoad>
				--[[ Hehe, this will probably never work! ]]
				if( this.onLoad ) then
					this.onLoad();
				end
			</OnLoad>
			<OnSizeChanged>
				if( this.onSizeChanged ) then
					this.onSizeChanged();
				end
			</OnSizeChanged>
			<OnUpdate>
				if( this.onUpdate ) then
					this.onUpdate();
				end
			</OnUpdate>
			<OnEvent>
				if( this.onEvent ) then
					this.onEvent();
				end
			</OnEvent>
			<OnShow>
				if( this.onShow ) then
					this.onShow();
				end
			</OnShow>
			<OnHide>
				if( this.onHide ) then
					this.onHide();
				end
			</OnHide>
			<OnEnter>
				if( this.onEnter ) then
					this.onEnter();
				end
			</OnEnter>
			<OnLeave>
				if( this.onLeave ) then
					this.onLeave();
				end
			</OnLeave>
			<OnMouseDown>
				if( this.onMouseDown ) then
					this.onMouseDown();
				end
			</OnMouseDown>
			<OnMouseUp>
				if( this.onMouseUp ) then
					this.onMouseUp();
				end
			</OnMouseUp>
			<OnMouseWheel>
				if( this.onMouseWheel ) then
					this.onMouseWheel(arg1);
				end
			</OnMouseWheel>
			<OnDragStart>
				if( this.onDragStart ) then
					this.onDragStart();
				end
			</OnDragStart>
			<OnDragStop>
				if( this.onDragStop ) then
					this.onDragStop();
				end
			</OnDragStop>
			<OnRecieveDrag>
				if( this.onRecieveDrag ) then
					this.onRecieveDrag();
				end
			</OnRecieveDrag>
			<OnClick>
				if( this.onClick ) then
					this.onClick();
				end
			</OnClick>
			<OnDoubleClick>
				if( this.onDoubleClick ) then
					this.onDoubleClick();
				end
			</OnDoubleClick>
			<OnValueChanged>
				if( this.onValueChanged) then
					this.onValueChanged();
				end
			</OnValueChanged>
			<OnUpdateModel>
				if( this.onLoad ) then
					this.onLoad();
				end
			</OnUpdateModel>
			<OnAnimFinished>
				if( this.onAnimFinished ) then
					this.onAnimFinished();
				end
			</OnAnimFinished>
			<OnEnterPressed>
				if( this.onEnterPressed ) then
					this.onEnterPressed();
				end
			</OnEnterPressed>
			<OnEscapePressed>
				if( this.onEscapePressed ) then
					this.onEscapePressed();
				end
			</OnEscapePressed>
			<OnSpacePressed>
				if( this.onSpacePressed ) then
					this.onSpacePressed();
				end
			</OnSpacePressed>
			<OnTabPressed>
				if( this.onTabPressed ) then
					this.onTabPressed();
				end
			</OnTabPressed>
			<OnTextChanged>
				if( this.onTextChanged ) then
					this.onTextChanged();
				end
			</OnTextChanged>
			<OnTextSet>
				if( this.onTextSet ) then
					this.onTextSet();
				end
			</OnTextSet>
			<OnCursorChanged>
				if( this.onCursorChanged ) then
					this.onCursorChanged();
				end
			</OnCursorChanged>
			<OnInputLanguageChanged>
				if( this.onInputLanguageChanged ) then
					this.onInputLanguageChanged();
				end
			</OnInputLanguageChanged>
			<OnEditFocusGained>
				if( this.onEditFocusGained ) then
					this.onEditFocusGained();
				end
			</OnEditFocusGained>
			<OnHorizontalScroll>
				if( this.onHorizontalScroll ) then
					this.onHorizontalScroll();
				end
			</OnHorizontalScroll>
			<OnVerticalScroll>
				if( this.onVerticalScroll ) then
					this.onVerticalScroll();
				end
			</OnVerticalScroll>
			<OnScrollRangeChanged>
				if( this.onScrollRangeChanged ) then
					this.onScrollRangeChanged();
				end
			</OnScrollRangeChanged>
			
<!--	Temporarily disabled, otherwise Aurora objects gobble up keypresses
			and don't allow bindings to trigger.

			<OnChar>
				if( this.onChar ) then
					this.onChar();
				end
			</OnChar>

			<OnKeyDown>
				if( this.onKeyDown ) then
					this.onKeyDown();
				end
			</OnKeyDown>
-->
			<OnColorSelect>
				if( this.onColorSelect ) then
					this.onColorSelect();
				end
			</OnColorSelect>
			<OnHyperlinkEnter>
				if( this.onHyperlinkEnter ) then
					this.onHyperlinkEnter();
				end
			</OnHyperlinkEnter>
			<OnHyperlinkLeave>
				if( this.onHyperlinkLeave ) then
					this.onHyperlinkLeave();
				end
			</OnHyperlinkLeave>
			<OnHyperlinkClick>
				if( this.onHyperlinkClick ) then
					this.onHyperlinkClick();
				end
			</OnHyperlinkClick>
			<OnMessageScrollChanged>
				if( this.onMessageScrollChanged ) then
					this.onMessageScrollChanged();
				end
			</OnMessageScrollChanged>
		</Scripts>
	</Frame>
</Ui>	
