All pastes #109332 Raw Edit

Mine

public text v1 · immutable
·published 2006-08-01 00:36 UTC
rendered paste body
<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"> 
	<Script file="oglc.lua" /> 

	<Frame name="OGLCBar" movable="true" enableMouse="true" parent="UIParent" frameStrata="HIGH" toplevel="true"> 
		<Scripts> 
			<OnLoad> 
				oglc_onLoad(); 
			</OnLoad>
		    <OnMouseUp>
				if ( this.isMoving ) then
					this:StopMovingOrSizing();
					this.isMoving = false;
				end
		    </OnMouseUp>
		    <OnMouseDown>
				if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
					this:StartMoving();
					this.isMoving = true;
				end
			</OnMouseDown>
		    <OnHide>
				if ( this.isMoving ) then
					this:StopMovingOrSizing();
					this.isMoving = false;
				end
		    </OnHide>
		</Scripts> 
		<Size> 
			<AbsDimension x="130" y="75" /> 
		</Size> 
		<Anchors> 
			<Anchor point="TOPRIGHT" /> 
		</Anchors>
		<Backdrop bgFile="Interface\TutorialFrame\TutorialFrameBackground.blp" edgeFile="Interface\Tooltips\UI-Tooltip-Border.blp" tile="true"> 
			<EdgeSize> 
				<AbsValue val="16" /> 
			</EdgeSize> 
			<TileSize> 
				<AbsValue val="32" /> 
			</TileSize> 
			<BackgroundInsets> 
				<AbsInset left="5" right="5" top="5" bottom="5"/> 
			</BackgroundInsets>
		</Backdrop>
		<Frames>
			<Button name="Button_Increase" inherits="OptionsButtonTemplate" text="+">
				<Size>
					<AbsDimension x="20" y="25" />
				</Size> 
				<Anchors> 
					<Anchor point="BOTTOM"> 
						<Offset> 
							<AbsDimension x="20" y="10"/>
						</Offset> 
					</Anchor> 
				</Anchors> 
			<Scripts>
				<OnClick> 
					oglc_increase(); 
				</OnClick> 
			</Scripts>
			</Button> 
			<Button name="Button_Decrease" inherits="OptionsButtonTemplate" text="-">
				<Size>
					<AbsDimension x="20" y="25" />
				</Size>
				<Anchors> 
					<Anchor point="BOTTOMRIGHT"> 
						<Offset>
							<AbsDimension x="-10" y="10"/>
						</Offset>
					</Anchor> 
				</Anchors> 
			<Scripts>
				<OnClick> 
					oglc_decrease(); 
				</OnClick> 
			</Scripts>
			</Button> 
			<Button name="Button_Reset" inherits="OptionsButtonTemplate" text="Reset">
				<Size>
					<AbsDimension x="55" y="25" />
				</Size>
				<Anchors> 
					<Anchor point="BOTTOMLEFT"> 
					<Offset>
						<AbsDimension x="10" y="10"/>
					</Offset>
					</Anchor> 
				</Anchors> 
			<Scripts>
				<OnClick> 
					oglc_reset_laps(); 
				</OnClick> 
			</Scripts>
			</Button>
		</Frames>
	</Frame> 
</Ui>