Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <!--Autogenerated by wowuides, Version=1.0.300.0, Culture=neutral, PublicKeyToken=null-->
- <Frame name="RollinGame" movable="true" enableMouse="true">
- <!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508883-59c2-4f83-ae10-27aaad48391b" />-->
- <Size>
- <AbsDimension x="332" y="320" />
- </Size>
- <Anchors>
- <Anchor point="CENTER" relativeTo="UIParent">
- <Offset>
- <AbsDimension x="0" y="0" />
- </Offset>
- </Anchor>
- </Anchors>
- <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
- <BackgroundInsets>
- <AbsInset left="11" right="12" top="12" bottom="11" />
- </BackgroundInsets>
- <TileSize>
- <AbsValue val="32" />
- </TileSize>
- <EdgeSize>
- <AbsValue val="32" />
- </EdgeSize>
- </Backdrop>
- <Layers>
- <Layer>
- <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="RollinGame">
- <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>
- <ScrollFrame name="msg_box3">
- <!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="7f06b3a2-fe45-40e8-9284-4754c6a3c9fb" />-->
- <Size>
- <AbsDimension x="132" y="253" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="158" y="-22" />
- </Offset>
- </Anchor>
- </Anchors>
- <Frames>
- <Slider name="$parentScrollBar">
- <Size>
- <AbsDimension x="16" y="0" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
- <Offset>
- <AbsDimension x="6" y="-16" />
- </Offset>
- </Anchor>
- <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
- <Offset>
- <AbsDimension x="6" y="16" />
- </Offset>
- </Anchor>
- </Anchors>
- <Frames>
- <Button name="$parentScrollUpButton">
- <Size>
- <AbsDimension x="18" y="16" />
- </Size>
- <Anchors>
- <Anchor point="BOTTOM" relativePoint="TOP" />
- </Anchors>
- <Scripts>
- <OnClick>
- local parent = self:GetParent();
- local scrollStep = self:GetParent().scrollStep or (parent:GetHeight() / 2);
- parent:SetValue(parent:GetValue() - scrollStep);
- PlaySound("UChatScrollButton");
- </OnClick>
- </Scripts>
- <NormalTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Up">
- <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
- </NormalTexture>
- <PushedTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Down">
- <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
- </PushedTexture>
- <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Disabled">
- <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
- </DisabledTexture>
- <HighlightTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Highlight" alphaMode="ADD">
- <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
- </HighlightTexture>
- </Button>
- <Button name="$parentScrollDownButton">
- <Size>
- <AbsDimension x="18" y="16" />
- </Size>
- <Anchors>
- <Anchor point="TOP" relativePoint="BOTTOM" />
- </Anchors>
- <Scripts>
- <OnClick>
- local parent = self:GetParent();
- local scrollStep = self:GetParent().scrollStep or (parent:GetHeight() / 2);
- parent:SetValue(parent:GetValue() + scrollStep);
- PlaySound("UChatScrollButton");
- </OnClick>
- </Scripts>
- <NormalTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Up">
- <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
- </NormalTexture>
- <PushedTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Down">
- <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
- </PushedTexture>
- <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Disabled">
- <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
- </DisabledTexture>
- <HighlightTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Highlight" alphaMode="ADD">
- <TexCoords left="0.2" right="0.8" top="0.25" bottom="0.75" />
- </HighlightTexture>
- </Button>
- </Frames>
- <Scripts>
- <OnValueChanged>
- self:GetParent():SetVerticalScroll(value);
- </OnValueChanged>
- </Scripts>
- <ThumbTexture name="$parentThumbTexture" file="Interface\Buttons\UI-ScrollBar-Knob">
- <Size>
- <AbsDimension x="18" y="24" />
- </Size>
- <TexCoords left="0.2" right="0.8" top="0.125" bottom="0.875" />
- </ThumbTexture>
- </Slider>
- </Frames>
- <Scripts>
- <OnLoad>ScrollFrame_OnLoad(self);</OnLoad>
- <OnMouseWheel>ScrollFrameTemplate_OnMouseWheel(self, delta);</OnMouseWheel>
- <OnVerticalScroll>local scrollbar = _G[self:GetName().."ScrollBar"];
- scrollbar:SetValue(offset);
- local min;
- local max;
- min, max = scrollbar:GetMinMaxValues();
- if ( offset == 0 ) then
- _G[scrollbar:GetName().."ScrollUpButton"]:Disable();
- else
- _G[scrollbar:GetName().."ScrollUpButton"]:Enable();
- end
- if ((scrollbar:GetValue() - max) == 0) then
- _G[scrollbar:GetName().."ScrollDownButton"]:Disable();
- else
- _G[scrollbar:GetName().."ScrollDownButton"]:Enable();
- end</OnVerticalScroll>
- <OnScrollRangeChanged>ScrollFrame_OnScrollRangeChanged(self, xrange, yrange);</OnScrollRangeChanged>
- </Scripts>
- <ScrollChild>
- <EditBox name="$parentEdit" enableMouse="true" multiLine="true">
- <Size>
- <AbsDimension x="132" y="253" />
- </Size>
- <Scripts>
- <OnUpdate>
- ScrollingEdit_OnUpdate(null);
- </OnUpdate>
- <OnTextChanged>
- ScrollingEdit_OnTextChanged(null);
- </OnTextChanged>
- <OnCursorChanged>
- ScrollingEdit_OnCursorChanged(arg1,arg2,arg3,arg4);
- </OnCursorChanged>
- </Scripts>
- <FontString font="Fonts\ARIALN.TTF">
- <FontHeight>
- <AbsValue val="14" />
- </FontHeight>
- <Color r="1" g="1" b="1" />
- <Shadow>
- <Color r="0" g="0" b="0" />
- <Offset>
- <AbsDimension x="1" y="-1" />
- </Offset>
- </Shadow>
- </FontString>
- </EditBox>
- </ScrollChild>
- </ScrollFrame>
- <MessageFrame name="msg_box2" movable="true" enableMouse="true" fade="false">
- <!--<FrameSkin skinid="f15d4970-d66d-444e-bb2d-1ad102c87fed" frameid="07bef61d-ceb4-4cab-bd99-cc05653863c3" />-->
- <Size>
- <AbsDimension x="132" y="124" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="20" y="-151" />
- </Offset>
- </Anchor>
- </Anchors>
- <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
- <BackgroundInsets>
- <AbsInset left="5" right="5" top="5" bottom="5" />
- </BackgroundInsets>
- <TileSize>
- <AbsValue val="16" />
- </TileSize>
- <EdgeSize>
- <AbsValue val="16" />
- </EdgeSize>
- </Backdrop>
- <FontString font="Fonts\FRIZQT__.TTF">
- <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>
- <TextInsets>
- <AbsInset left="0" right="0" top="0" bottom="0" />
- </TextInsets>
- </MessageFrame>
- <ScrollingMessageFrame name="msg_box" movable="true" enableMouse="true" fade="false">
- <!--<FrameSkin skinid="f15d4970-d66d-444e-bb2d-1ad102c87fed" frameid="07bef61e-ceb4-4cab-bd99-cc05653863c3" />-->
- <Size>
- <AbsDimension x="132" y="123" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="20" y="-22" />
- </Offset>
- </Anchor>
- </Anchors>
- <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
- <BackgroundInsets>
- <AbsInset left="5" right="5" top="5" bottom="5" />
- </BackgroundInsets>
- <TileSize>
- <AbsValue val="16" />
- </TileSize>
- <EdgeSize>
- <AbsValue val="16" />
- </EdgeSize>
- </Backdrop>
- <FontString font="Fonts\FRIZQT__.TTF">
- <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>
- <TextInsets>
- <AbsInset left="0" right="0" top="0" bottom="0" />
- </TextInsets>
- </ScrollingMessageFrame>
- <Button name="btn_roll" text="Roll">
- <!--<FrameSkin skinid="f15d4970-d66d-444e-bb2d-1ad102c87fed" frameid="f15d4973-d66d-444e-bb2d-1ad102c87fed" />-->
- <Size>
- <AbsDimension x="100" y="22" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="20" y="-281" />
- </Offset>
- </Anchor>
- </Anchors>
- <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up">
- <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
- </NormalTexture>
- <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down">
- <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
- </PushedTexture>
- <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled">
- <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
- </DisabledTexture>
- <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD">
- <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
- </HighlightTexture>
- <ButtonText name="$parentText">
- <FontHeight>
- <AbsValue val="10" />
- </FontHeight>
- </ButtonText>
- <NormalFont style="GameFontNormal" />
- <HighlightFont style="GameFontHighlight" />
- <DisabledFont style="GameFontDisable" />
- <PushedTextOffset x="0" y="0" />
- </Button>
- <Button name="btn_hide" text="Hide">
- <!--<FrameSkin skinid="f15d4970-d66d-444e-bb2d-1ad102c87fed" frameid="f15d4973-d66d-444e-bb2d-1ad102c87fed" />-->
- <Size>
- <AbsDimension x="100" y="22" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="211" y="-281" />
- </Offset>
- </Anchor>
- </Anchors>
- <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up">
- <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
- </NormalTexture>
- <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down">
- <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
- </PushedTexture>
- <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled">
- <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
- </DisabledTexture>
- <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD">
- <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
- </HighlightTexture>
- <ButtonText name="$parentText">
- <FontHeight>
- <AbsValue val="10" />
- </FontHeight>
- </ButtonText>
- <NormalFont style="GameFontNormal" />
- <HighlightFont style="GameFontHighlight" />
- <DisabledFont style="GameFontDisable" />
- <PushedTextOffset x="0" y="0" />
- </Button>
- </Frames>
- <Scripts>
- <OnLoad>self:RegisterForDrag("LeftButton");
- self:RegisterEvent("CHAT_MSG_ADDON")
- self:RegisterEvent("PARTY_MEMBERS_CHANGED")
- DEFAULT_CHAT_FRAME:AddMessage("RollinGame v1.0 - Loaded!");
- DEFAULT_CHAT_FRAME:AddMessage("By Arawýn @Stormrage, Baltazhar @Killrog ");
- </OnLoad>
- <OnEvent>RollinGame_OnEvent(self, event, ...)
- </OnEvent>
- <OnDragStart>self:StartMoving();
- </OnDragStart>
- <OnDragStop>self:StopMovingOrSizing();
- </OnDragStop>
- </Scripts>
- </Frame>
- </Ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement