Advertisement
Kuipo

WarmUp 5.0.5 XML file

Nov 3rd, 2012
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.94 KB | None | 0 0
  1. <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/
  2. ..\FrameXML\UI.xsd">
  3.   <Script file="Warmup.lua"/>
  4.  
  5.     <Frame name="WarmupOutputFrame" enableMouse="true" movable="true" parent="UIParent" hidden="true">
  6.         <Anchors>
  7.             <Anchor point="LEFT"/>
  8.         </Anchors>
  9.         <Size>
  10.             <AbsDimension x="430" y="480"/>
  11.         </Size>
  12.         <TitleRegion setAllPoints="true"/>
  13.         <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
  14.             <EdgeSize>
  15.                 <AbsValue val="16"/>
  16.             </EdgeSize>
  17.             <TileSize>
  18.                 <AbsValue val="16"/>
  19.             </TileSize>
  20.             <BackgroundInsets>
  21.                 <AbsInset left="5" right="5" top="5" bottom="5"/>
  22.             </BackgroundInsets>
  23.         </Backdrop>
  24.         <Frames>
  25.             <ScrollingMessageFrame name="WarmupChatFrame" displayDuration="604800.0" maxLines="500">
  26.                 <Anchors>
  27.                     <Anchor point="TOPLEFT">
  28.                         <Offset>
  29.                             <AbsDimension x="7" y="-7"/>
  30.                         </Offset>
  31.                     </Anchor>
  32.                     <Anchor point="BOTTOMRIGHT">
  33.                         <Offset>
  34.                             <AbsDimension x="-8" y="9"/>
  35.                         </Offset>
  36.                     </Anchor>
  37.                 </Anchors>
  38.                 <Scripts>
  39.                     <OnLoad>
  40.                         self:EnableMouseWheel(1)
  41.                     </OnLoad>
  42.                     <OnMouseWheel>
  43.                         if delta > 0 then
  44.                             if IsShiftKeyDown() then
  45.                                 for i = 1, 20 do
  46.                                     self:ScrollUp()
  47.                                 end
  48.                             else
  49.                                 self:ScrollUp()
  50.                             end
  51.                         elseif 0 > delta then
  52.                             if IsShiftKeyDown() then
  53.                                 for i = 1, 20 do
  54.                                     self:ScrollDown()
  55.                                 end
  56.                             else
  57.                                 self:ScrollDown()
  58.                             end
  59.                         end
  60.                     </OnMouseWheel>
  61.                 </Scripts>
  62.                 <FontString inherits="ChatFontNormal" justifyH="LEFT"/>
  63.             </ScrollingMessageFrame>
  64.         </Frames>
  65.  
  66.         <Scripts>
  67.             <OnLoad>
  68.                 -- set our default colors
  69.                 self:SetBackdropBorderColor(0.9, 0.82, 0.0);
  70.                 self:SetBackdropColor(0, 0, 0);
  71.             </OnLoad>
  72.         </Scripts>
  73.     </Frame>
  74. </Ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement