Advertisement
Guest User

Untitled

a guest
Jan 24th, 2011
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 14.27 KB | None | 0 0
  1. <Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  2.   <!--Autogenerated by wowuides, Version=1.0.300.0, Culture=neutral, PublicKeyToken=null-->
  3.   <Frame name="RollinGame" movable="true" enableMouse="true">
  4.     <!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508883-59c2-4f83-ae10-27aaad48391b" />-->
  5.     <Size>
  6.       <AbsDimension x="332" y="320" />
  7.     </Size>
  8.     <Anchors>
  9.       <Anchor point="CENTER" relativeTo="UIParent">
  10.         <Offset>
  11.           <AbsDimension x="0" y="0" />
  12.         </Offset>
  13.       </Anchor>
  14.     </Anchors>
  15.     <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  16.       <BackgroundInsets>
  17.         <AbsInset left="11" right="12" top="12" bottom="11" />
  18.       </BackgroundInsets>
  19.       <TileSize>
  20.         <AbsValue val="32" />
  21.       </TileSize>
  22.       <EdgeSize>
  23.         <AbsValue val="32" />
  24.       </EdgeSize>
  25.     </Backdrop>
  26.     <Layers>
  27.       <Layer>
  28.         <Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header">
  29.           <Size>
  30.             <AbsDimension x="160" y="32" />
  31.           </Size>
  32.           <Anchors>
  33.             <Anchor point="TOP">
  34.               <Offset>
  35.                 <AbsDimension x="0" y="5" />
  36.               </Offset>
  37.             </Anchor>
  38.           </Anchors>
  39.           <TexCoords left="0.2" right="0.8" top="0" bottom="0.6" />
  40.         </Texture>
  41.         <FontString name="$parentTitleString" font="Fonts\FRIZQT__.TTF" text="RollinGame">
  42.           <Size>
  43.             <AbsDimension x="140" y="0" />
  44.           </Size>
  45.           <Anchors>
  46.             <Anchor point="TOP">
  47.               <Offset>
  48.                 <AbsDimension x="0" y="-4" />
  49.               </Offset>
  50.             </Anchor>
  51.           </Anchors>
  52.           <FontHeight>
  53.             <AbsValue val="12" />
  54.           </FontHeight>
  55.           <Color r="1" g="0.8196079" b="0" />
  56.           <Shadow>
  57.             <Color r="0" g="0" b="0" />
  58.             <Offset>
  59.               <AbsDimension x="1" y="-1" />
  60.             </Offset>
  61.           </Shadow>
  62.         </FontString>
  63.       </Layer>
  64.     </Layers>
  65.     <Frames>
  66.       <ScrollFrame name="msg_box3">
  67.         <!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="7f06b3a2-fe45-40e8-9284-4754c6a3c9fb" />-->
  68.         <Size>
  69.           <AbsDimension x="132" y="253" />
  70.         </Size>
  71.         <Anchors>
  72.           <Anchor point="TOPLEFT">
  73.             <Offset>
  74.               <AbsDimension x="158" y="-22" />
  75.             </Offset>
  76.           </Anchor>
  77.         </Anchors>
  78.         <Frames>
  79.           <Slider name="$parentScrollBar">
  80.             <Size>
  81.               <AbsDimension x="16" y="0" />
  82.             </Size>
  83.             <Anchors>
  84.               <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
  85.                 <Offset>
  86.                   <AbsDimension x="6" y="-16" />
  87.                 </Offset>
  88.               </Anchor>
  89.               <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
  90.                 <Offset>
  91.                   <AbsDimension x="6" y="16" />
  92.                 </Offset>
  93.               </Anchor>
  94.             </Anchors>
  95.             <Frames>
  96.               <Button name="$parentScrollUpButton">
  97.                 <Size>
  98.                   <AbsDimension x="18" y="16" />
  99.                 </Size>
  100.                 <Anchors>
  101.                   <Anchor point="BOTTOM" relativePoint="TOP" />
  102.                 </Anchors>
  103.                 <Scripts>
  104.                   <OnClick>
  105.                         local parent = self:GetParent();
  106.                         local scrollStep = self:GetParent().scrollStep or (parent:GetHeight() / 2);
  107.                         parent:SetValue(parent:GetValue() - scrollStep);
  108.                         PlaySound("UChatScrollButton");
  109.                     </OnClick>
  110.                 </Scripts>
  111.                 <NormalTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Up">
  112.                   <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
  113.                 </NormalTexture>
  114.                 <PushedTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Down">
  115.                   <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
  116.                 </PushedTexture>
  117.                 <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Disabled">
  118.                   <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
  119.                 </DisabledTexture>
  120.                 <HighlightTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Highlight" alphaMode="ADD">
  121.                   <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
  122.                 </HighlightTexture>
  123.               </Button>
  124.               <Button name="$parentScrollDownButton">
  125.                 <Size>
  126.                   <AbsDimension x="18" y="16" />
  127.                 </Size>
  128.                 <Anchors>
  129.                   <Anchor point="TOP" relativePoint="BOTTOM" />
  130.                 </Anchors>
  131.                 <Scripts>
  132.                   <OnClick>
  133.                         local parent = self:GetParent();
  134.                         local scrollStep = self:GetParent().scrollStep or (parent:GetHeight() / 2);
  135.                         parent:SetValue(parent:GetValue() + scrollStep);
  136.                         PlaySound("UChatScrollButton");
  137.                     </OnClick>
  138.                 </Scripts>
  139.                 <NormalTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Up">
  140.                   <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
  141.                 </NormalTexture>
  142.                 <PushedTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Down">
  143.                   <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
  144.                 </PushedTexture>
  145.                 <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Disabled">
  146.                   <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
  147.                 </DisabledTexture>
  148.                 <HighlightTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Highlight" alphaMode="ADD">
  149.                   <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
  150.                 </HighlightTexture>
  151.               </Button>
  152.             </Frames>
  153.             <Scripts>
  154.               <OnValueChanged>
  155.                 self:GetParent():SetVerticalScroll(value);
  156.             </OnValueChanged>
  157.             </Scripts>
  158.             <ThumbTexture name="$parentThumbTexture" file="Interface\Buttons\UI-ScrollBar-Knob">
  159.               <Size>
  160.                 <AbsDimension x="18" y="24" />
  161.               </Size>
  162.               <TexCoords left="0.2" right="0.8" top="0.125" bottom="0.875" />
  163.             </ThumbTexture>
  164.           </Slider>
  165.         </Frames>
  166.         <Scripts>
  167.           <OnLoad>ScrollFrame_OnLoad(self);</OnLoad>
  168.           <OnMouseWheel>ScrollFrameTemplate_OnMouseWheel(self, delta);</OnMouseWheel>
  169.           <OnVerticalScroll>local scrollbar = _G[self:GetName().."ScrollBar"];
  170.                 scrollbar:SetValue(offset);
  171.                 local min;
  172.                 local max;
  173.                 min, max = scrollbar:GetMinMaxValues();
  174.                 if ( offset == 0 ) then
  175.                     _G[scrollbar:GetName().."ScrollUpButton"]:Disable();
  176.                 else
  177.                     _G[scrollbar:GetName().."ScrollUpButton"]:Enable();
  178.                 end
  179.                 if ((scrollbar:GetValue() - max) == 0) then
  180.                     _G[scrollbar:GetName().."ScrollDownButton"]:Disable();
  181.                 else
  182.                     _G[scrollbar:GetName().."ScrollDownButton"]:Enable();
  183.                 end</OnVerticalScroll>
  184.           <OnScrollRangeChanged>ScrollFrame_OnScrollRangeChanged(self, xrange, yrange);</OnScrollRangeChanged>
  185.         </Scripts>
  186.         <ScrollChild>
  187.           <EditBox name="$parentEdit" enableMouse="true" multiLine="true">
  188.             <Size>
  189.               <AbsDimension x="132" y="253" />
  190.             </Size>
  191.             <Scripts>
  192.               <OnUpdate>
  193.                         ScrollingEdit_OnUpdate(null);
  194.                     </OnUpdate>
  195.               <OnTextChanged>
  196.                         ScrollingEdit_OnTextChanged(null);
  197.                     </OnTextChanged>
  198.               <OnCursorChanged>
  199.                         ScrollingEdit_OnCursorChanged(arg1,arg2,arg3,arg4);
  200.                     </OnCursorChanged>
  201.             </Scripts>
  202.             <FontString font="Fonts\ARIALN.TTF">
  203.               <FontHeight>
  204.                 <AbsValue val="14" />
  205.               </FontHeight>
  206.               <Color r="1" g="1" b="1" />
  207.               <Shadow>
  208.                 <Color r="0" g="0" b="0" />
  209.                 <Offset>
  210.                   <AbsDimension x="1" y="-1" />
  211.                 </Offset>
  212.               </Shadow>
  213.             </FontString>
  214.           </EditBox>
  215.         </ScrollChild>
  216.       </ScrollFrame>
  217.       <MessageFrame name="msg_box2" movable="true" enableMouse="true" fade="false">
  218.         <!--<FrameSkin skinid="f15d4970-d66d-444e-bb2d-1ad102c87fed" frameid="07bef61d-ceb4-4cab-bd99-cc05653863c3" />-->
  219.         <Size>
  220.           <AbsDimension x="132" y="124" />
  221.         </Size>
  222.         <Anchors>
  223.           <Anchor point="TOPLEFT">
  224.             <Offset>
  225.               <AbsDimension x="20" y="-151" />
  226.             </Offset>
  227.           </Anchor>
  228.         </Anchors>
  229.         <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
  230.           <BackgroundInsets>
  231.             <AbsInset left="5" right="5" top="5" bottom="5" />
  232.           </BackgroundInsets>
  233.           <TileSize>
  234.             <AbsValue val="16" />
  235.           </TileSize>
  236.           <EdgeSize>
  237.             <AbsValue val="16" />
  238.           </EdgeSize>
  239.         </Backdrop>
  240.         <FontString font="Fonts\FRIZQT__.TTF">
  241.           <FontHeight>
  242.             <AbsValue val="12" />
  243.           </FontHeight>
  244.           <Color r="1" g="0.8196079" b="0" />
  245.           <Shadow>
  246.             <Color r="0" g="0" b="0" />
  247.             <Offset>
  248.               <AbsDimension x="1" y="-1" />
  249.             </Offset>
  250.           </Shadow>
  251.         </FontString>
  252.         <TextInsets>
  253.           <AbsInset left="0" right="0" top="0" bottom="0" />
  254.         </TextInsets>
  255.       </MessageFrame>
  256.       <ScrollingMessageFrame name="msg_box" movable="true" enableMouse="true" fade="false">
  257.         <!--<FrameSkin skinid="f15d4970-d66d-444e-bb2d-1ad102c87fed" frameid="07bef61e-ceb4-4cab-bd99-cc05653863c3" />-->
  258.         <Size>
  259.           <AbsDimension x="132" y="123" />
  260.         </Size>
  261.         <Anchors>
  262.           <Anchor point="TOPLEFT">
  263.             <Offset>
  264.               <AbsDimension x="20" y="-22" />
  265.             </Offset>
  266.           </Anchor>
  267.         </Anchors>
  268.         <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
  269.           <BackgroundInsets>
  270.             <AbsInset left="5" right="5" top="5" bottom="5" />
  271.           </BackgroundInsets>
  272.           <TileSize>
  273.             <AbsValue val="16" />
  274.           </TileSize>
  275.           <EdgeSize>
  276.             <AbsValue val="16" />
  277.           </EdgeSize>
  278.         </Backdrop>
  279.         <FontString font="Fonts\FRIZQT__.TTF">
  280.           <FontHeight>
  281.             <AbsValue val="12" />
  282.           </FontHeight>
  283.           <Color r="1" g="0.8196079" b="0" />
  284.           <Shadow>
  285.             <Color r="0" g="0" b="0" />
  286.             <Offset>
  287.               <AbsDimension x="1" y="-1" />
  288.             </Offset>
  289.           </Shadow>
  290.         </FontString>
  291.         <TextInsets>
  292.           <AbsInset left="0" right="0" top="0" bottom="0" />
  293.         </TextInsets>
  294.       </ScrollingMessageFrame>
  295.       <Button name="btn_roll" text="Roll">
  296.         <!--<FrameSkin skinid="f15d4970-d66d-444e-bb2d-1ad102c87fed" frameid="f15d4973-d66d-444e-bb2d-1ad102c87fed" />-->
  297.         <Size>
  298.           <AbsDimension x="100" y="22" />
  299.         </Size>
  300.         <Anchors>
  301.           <Anchor point="TOPLEFT">
  302.             <Offset>
  303.               <AbsDimension x="20" y="-281" />
  304.             </Offset>
  305.           </Anchor>
  306.         </Anchors>
  307.         <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up">
  308.           <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
  309.         </NormalTexture>
  310.         <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down">
  311.           <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
  312.         </PushedTexture>
  313.         <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled">
  314.           <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
  315.         </DisabledTexture>
  316.         <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD">
  317.           <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
  318.         </HighlightTexture>
  319.         <ButtonText name="$parentText">
  320.           <FontHeight>
  321.             <AbsValue val="10" />
  322.           </FontHeight>
  323.         </ButtonText>
  324.         <NormalFont style="GameFontNormal" />
  325.         <HighlightFont style="GameFontHighlight" />
  326.         <DisabledFont style="GameFontDisable" />
  327.         <PushedTextOffset x="0" y="0" />
  328.       </Button>
  329.       <Button name="btn_hide" text="Hide">
  330.         <!--<FrameSkin skinid="f15d4970-d66d-444e-bb2d-1ad102c87fed" frameid="f15d4973-d66d-444e-bb2d-1ad102c87fed" />-->
  331.         <Size>
  332.           <AbsDimension x="100" y="22" />
  333.         </Size>
  334.         <Anchors>
  335.           <Anchor point="TOPLEFT">
  336.             <Offset>
  337.               <AbsDimension x="211" y="-281" />
  338.             </Offset>
  339.           </Anchor>
  340.         </Anchors>
  341.         <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up">
  342.           <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
  343.         </NormalTexture>
  344.         <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down">
  345.           <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
  346.         </PushedTexture>
  347.         <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled">
  348.           <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
  349.         </DisabledTexture>
  350.         <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD">
  351.           <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
  352.         </HighlightTexture>
  353.         <ButtonText name="$parentText">
  354.           <FontHeight>
  355.             <AbsValue val="10" />
  356.           </FontHeight>
  357.         </ButtonText>
  358.         <NormalFont style="GameFontNormal" />
  359.         <HighlightFont style="GameFontHighlight" />
  360.         <DisabledFont style="GameFontDisable" />
  361.         <PushedTextOffset x="0" y="0" />
  362.       </Button>
  363.     </Frames>
  364.     <Scripts>
  365.       <OnLoad>self:RegisterForDrag("LeftButton");
  366. self:RegisterEvent("CHAT_MSG_ADDON")
  367. self:RegisterEvent("PARTY_MEMBERS_CHANGED")
  368. DEFAULT_CHAT_FRAME:AddMessage("RollinGame v1.0 - Loaded!");
  369. DEFAULT_CHAT_FRAME:AddMessage("By Arawýn @Stormrage, Baltazhar @Killrog ");
  370. </OnLoad>
  371.       <OnEvent>RollinGame_OnEvent(self, event, ...)
  372. </OnEvent>
  373.       <OnDragStart>self:StartMoving();
  374. </OnDragStart>
  375.       <OnDragStop>self:StopMovingOrSizing();
  376. </OnDragStop>
  377.     </Scripts>
  378.   </Frame>
  379. </Ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement