All pastes #194531 Raw Edit

Untitled

public text v1 · immutable
·published 2006-10-07 23:44 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/">
  <Script file="firstchoice.lua"/>
  <!-- THIS IS OUR MAIN FRAME TEMPLATE -->

   <Frame name="FCRCSFrame" hidden="true" toplevel="false" virtual="true" frameStrata="BACKGROUND" parent="UIParent">
        <Size> 
      <AbsDimension x="400" y="400"/> 
    </Size> 
        <Anchors>
                <Anchor point="CENTER"/>
        </Anchors>
        <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
                <TileSize>
                        <AbsValue val="32"/>
                </TileSize>
                <EdgeSize>
                        <AbsValue val="32"/>
                </EdgeSize>
                <BackgroundInsets>
                        <AbsInset left="11" right="12" top="12" bottom="11"/>
                </BackgroundInsets>
        </Backdrop>
  </Frame>
  
  <Button name="FCRCS_FRAME_TEMPLATE" inherits="CharacterFrameTabButtonTemplate" virtual="true">
		<Scripts>
			<OnClick>
				PanelTemplates_Tab_OnClick(myFrame);
				myButtonHandler(this:GetName());
			</OnClick>
		</Scripts>
  </Button>

<!-- THIS IS THE ANNOUNCE DUMMY FRAME -->

  <Frame name="FCRCS_ANNOUNCE" hidden="true" frameStrata="BACKGROUND" parent="UIParent">
  <Scripts>
	  <OnUpdate>AnnounceRaids(arg1);</OnUpdate>
  </Scripts>
  </Frame>

<!-- THIS IS THE MAIN UI FRAME -->

  <Frame name="FCRCSMain" inherits="FCRCSFrame" movable="true" enableMouse="true">
	<Layers>
		<Layer Level="ARTWORK">
		<Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header">
          <Size>
            <AbsDimension x="160" y="32" />
          </Size>
          <Anchors>
            <Anchor point="TOP">
              <Offset>
                <AbsDimension x="0" y="5" />
              </Offset>
            </Anchor>
          </Anchors>
          <TexCoords left="0.2" right="0.8" top="0" bottom="0.6" />
        </Texture>
        <FontString name="$parentTitleString" font="Fonts\FRIZQT__.TTF" text="FCRCS v.1.0">
          <Size>
            <AbsDimension x="140" y="0" />
          </Size>
          <Anchors>
            <Anchor point="TOP">
              <Offset>
                <AbsDimension x="0" y="-4" />
              </Offset>
            </Anchor>
          </Anchors>
          <FontHeight>
            <AbsValue val="12" />
          </FontHeight>
          <Color r="1" g="0.8196079" b="0" />
          <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
              <AbsDimension x="1" y="-1" />
            </Offset>
          </Shadow>
        </FontString>
		</Layer>
    </Layers>
	<Frames>
	    <!-- UIPanelCloseButton  -->
        <Button name="$parent_Button3" inherits="UIPanelCloseButton">
          <Anchors> 
             <Anchor point="TOPRIGHT">
                <Offset><AbsDimension x="-4" y="-4"/></Offset>
             </Anchor>
          </Anchors> 
        </Button>
        <!-- UIPanelButtonTemplate is just the normal Button -->
        <Button name="$parent_Button1" inherits="UIPanelButtonTemplate" text="Target Management" id="1">
             <Size><AbsDimension x="160" y="24"/></Size> 
                <Anchors>
				     <Anchor point="TOPLEFT">
                        <Offset><AbsDimension x="15" y="-30"/></Offset>
                     </Anchor>
                </Anchors> 
                        <Scripts>
                                <OnClick>ShowUIPanel(CT_RATargetFrame)</OnClick>
                        </Scripts>
       </Button>   
        <Button name="$parent_Button2" inherits="UIPanelButtonTemplate" text="Reload UI" id="2">
             <Size><AbsDimension x="160" y="24"/></Size> 
                <Anchors>
				     <Anchor point="BOTTOMRIGHT">
                        <Offset><AbsDimension x="-15" y="15"/></Offset>
                     </Anchor>
                </Anchors> 
                        <Scripts>
                                <OnClick>ConsoleExec("reloadui")</OnClick>
                        </Scripts>
       </Button>   
        <Button name="$parent_Button3" inherits="UIPanelButtonTemplate" text="Readycheck" id="2">
             <Size><AbsDimension x="160" y="24"/></Size> 
                <Anchors>
				     <Anchor point="TOPRIGHT">
                        <Offset><AbsDimension x="-15" y="-30"/></Offset>
                     </Anchor>
                </Anchors> 
                        <Scripts>
                                <OnClick>DoReadyCheck();PlaySound("ReadyCheck");</OnClick>
                        </Scripts>
       </Button>
       <EditBox name="$parent_InputBox" inherits="InputBoxTemplate" id="15" autoFocus="false">
         <Size><AbsDimension x="240" y="26"/></Size> 
            <Anchors> 
               <Anchor point="TOPLEFT">
                  <Offset><AbsDimension x="22" y="-60"/></Offset>
               </Anchor>
            </Anchors>           
			<Scripts>
				<OnEscapePressed>$parent_InputBox:ClearFocus()</OnEscapePressed>
			</Scripts>
       </EditBox>
       <Button name="$parent_Announce" inherits="UIPanelButtonTemplate" text="Announce" id="3">
         <Size><AbsDimension x="80" y="24"/></Size> 
             <Anchors> 
                <Anchor point="TOPLEFT">
                   <Offset><AbsDimension x="275" y="-60"/></Offset>
                </Anchor>
              </Anchors> 
                 <Scripts>
                   <OnClick>Announce_Active()</OnClick>
				 </Scripts>
       </Button>
       <Button name="$parent_Mkraid" inherits="UIPanelButtonTemplate" text="Convert to Raid" id="4">
         <Size><AbsDimension x="110" y="24"/></Size> 
             <Anchors> 
                <Anchor point="TOPLEFT">
                   <Offset><AbsDimension x="22" y="-100"/></Offset>
                </Anchor>
              </Anchors> 
                 <Scripts>
                   <OnClick>ConvertToRaid();</OnClick>
				 </Scripts>
       </Button>
	   <Button name="$parent_MT" inherits="UIPanelButtonTemplate" text="MT" id="4">
         <Size><AbsDimension x="80" y="24"/></Size> 
             <Anchors> 
                <Anchor point="TOPLEFT">
                   <Offset><AbsDimension x="22" y="-135"/></Offset>
                </Anchor>
              </Anchors> 
                 <Scripts>
                   <OnClick>CreateCB();</OnClick>
				 </Scripts>
       </Button>

   	</Frames>
        <Scripts>
	      <OnLoad>
		  this:RegisterForDrag("LeftButton");
		  tinsert(UISpecialFrames,"FCRCSMain");		  
		  </OnLoad>
          <OnDragStart>  this:StartMoving(); </OnDragStart>
          <OnDragStop> this:StopMovingOrSizing(); </OnDragStop>
        </Scripts> 
   </Frame>
</Ui>