<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--> |
<Script file="BattleCryGen.lua"/> |
<Frame name="frmBCG" parent="UIParent" movable="true" enableMouse="true"> |
<!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508883-59c2-4f83-ae10-27aaad48391b" />--> |
<Size> |
<AbsDimension x="345" y="84" /> |
</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" hidden="true" 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" hidden="true" font="Fonts\FRIZQT__.TTF"> |
<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> |
<Button name="$parentButton1" text="O"> |
<!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508884-59c2-4f83-ae10-27aaad48391b" />--> |
<Size> |
<AbsDimension x="17" y="18" /> |
</Size> |
<Anchors> |
<Anchor point="TOPLEFT"> |
<Offset> |
<AbsDimension x="264" y="-17" /> |
</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" /> |
</Button> |
<Frame name="$parentLabel2"> |
<!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508885-59c2-4f83-ae10-27aaad48391b" />--> |
<Size> |
<AbsDimension x="73" y="18" /> |
</Size> |
<Anchors> |
<Anchor point="TOPLEFT"> |
<Offset> |
<AbsDimension x="18" y="-38" /> |
</Offset> |
</Anchor> |
</Anchors> |
<Layers> |
<Layer> |
<FontString name="$parentLabel" font="Fonts\FRIZQT__.TTF" text="Channel:" justifyH="LEFT"> |
<Anchors> |
<Anchor point="TOPLEFT" /> |
<Anchor point="BOTTOMRIGHT" /> |
</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> |
</Frame> |
<Button name="cboGen"> |
<!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d50888b-59c2-4f83-ae10-27aaad48391b"><Property name="Items"><?xml version="1.0"?> |
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
<string>Say</string> |
<string>Yell</string> |
<string>Party</string> |
<string>Battleground</string> |
<string>Raid</string> |
<string>Guild</string> |
</ArrayOfString></Property><Property name="OnSelectionChanged"><?xml version="1.0"?> |
<string /></Property></FrameSkin>--> |
<Size> |
<AbsDimension x="151" y="32" /> |
</Size> |
<Anchors> |
<Anchor point="TOPLEFT"> |
<Offset> |
<AbsDimension x="90" y="-33" /> |
</Offset> |
</Anchor> |
</Anchors> |
<Layers> |
<Layer> |
<Texture name="$parentLeft" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame"> |
<Size> |
<AbsDimension x="25" y="64" /> |
</Size> |
<Anchors> |
<Anchor point="TOPLEFT"> |
<Offset> |
<AbsDimension x="0" y="17" /> |
</Offset> |
</Anchor> |
</Anchors> |
<TexCoords left="0" right="0.1953125" top="0" bottom="1" /> |
</Texture> |
<Texture name="$parentMiddle" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame"> |
<Size> |
<AbsDimension x="101" y="64" /> |
</Size> |
<Anchors> |
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" /> |
</Anchors> |
<TexCoords left="0.1953125" right="0.8046875" top="0" bottom="1" /> |
</Texture> |
<Texture name="$parentRight" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame"> |
<Size> |
<AbsDimension x="25" y="64" /> |
</Size> |
<Anchors> |
<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT" /> |
</Anchors> |
<TexCoords left="0.8046875" right="1" top="0" bottom="1" /> |
</Texture> |
<FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Say" justifyH="RIGHT"> |
<Size> |
<AbsDimension x="126" y="10" /> |
</Size> |
<Anchors> |
<Anchor point="RIGHT" relativeTo="$parentRight"> |
<Offset> |
<AbsDimension x="-43" y="2" /> |
</Offset> |
</Anchor> |
</Anchors> |
<FontHeight> |
<AbsValue val="10" /> |
</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> |
</Layer> |
</Layers> |
<Frames> |
<Button name="$parentButton"> |
<Size> |
<AbsDimension x="24" y="24" /> |
</Size> |
<Anchors> |
<Anchor point="TOPRIGHT" relativeTo="$parentRight"> |
<Offset> |
<AbsDimension x="-16" y="-18" /> |
</Offset> |
</Anchor> |
</Anchors> |
<Scripts> |
<OnClick> |
ToggleDropDownMenu(nil, nil, self:GetParent()); |
PlaySound("igMainMenuOptionCheckBoxOn"); |
</OnClick> |
</Scripts> |
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up"> |
<Size> |
<AbsDimension x="24" y="24" /> |
</Size> |
<Anchors> |
<Anchor point="RIGHT" /> |
</Anchors> |
</NormalTexture> |
<PushedTexture name="$parentPushedTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down"> |
<Size> |
<AbsDimension x="24" y="24" /> |
</Size> |
<Anchors> |
<Anchor point="RIGHT" /> |
</Anchors> |
</PushedTexture> |
<DisabledTexture name="$parentDisabledTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled"> |
<Size> |
<AbsDimension x="24" y="24" /> |
</Size> |
<Anchors> |
<Anchor point="RIGHT" /> |
</Anchors> |
</DisabledTexture> |
<HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"> |
<Size> |
<AbsDimension x="24" y="24" /> |
</Size> |
<Anchors> |
<Anchor point="RIGHT" /> |
</Anchors> |
</HighlightTexture> |
</Button> |
</Frames> |
<Scripts> |
<OnLoad>-- START AUTOGENERATED, DO NOT EDIT |
local cb_init_fn = function() |
local info |
info = {} |
info.text = "Say" |
info.func = function() UIDropDownMenu_SetSelectedID(cboGen, this:GetID(), 0); end |
UIDropDownMenu_AddButton(info); |
info = {} |
info.text = "Yell" |
info.func = function() UIDropDownMenu_SetSelectedID(cboGen, this:GetID(), 0); end |
UIDropDownMenu_AddButton(info); |
info = {} |
info.text = "Party" |
info.func = function() UIDropDownMenu_SetSelectedID(cboGen, this:GetID(), 0); end |
UIDropDownMenu_AddButton(info); |
info = {} |
info.text = "Battleground" |
info.func = function() UIDropDownMenu_SetSelectedID(cboGen, this:GetID(), 0); end |
UIDropDownMenu_AddButton(info); |
info = {} |
info.text = "Raid" |
info.func = function() UIDropDownMenu_SetSelectedID(cboGen, this:GetID(), 0); end |
UIDropDownMenu_AddButton(info); |
info = {} |
info.text = "Guild" |
info.func = function() UIDropDownMenu_SetSelectedID(cboGen, this:GetID(), 0); end |
UIDropDownMenu_AddButton(info); |
end |
UIDropDownMenu_Initialize(this, cb_init_fn) |
-- END AUTOGENERATED |
</OnLoad> |
<OnHide>CloseDropDownMenus(); |
</OnHide> |
<OnTextChanged>cboGen_OnTextChanged(); |
</OnTextChanged> |
</Scripts> |
</Button> |
<Frame name="$parentLabel1"> |
<!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508885-59c2-4f83-ae10-27aaad48391b" />--> |
<Size> |
<AbsDimension x="240" y="18" /> |
</Size> |
<Anchors> |
<Anchor point="TOPLEFT"> |
<Offset> |
<AbsDimension x="18" y="-17" /> |
</Offset> |
</Anchor> |
</Anchors> |
<Layers> |
<Layer> |
<FontString name="$parentLabel" font="Fonts\FRIZQT__.TTF" text="Ult. Warcraft Battlecry Generator v0.41" justifyH="LEFT"> |
<Anchors> |
<Anchor point="TOPLEFT" /> |
<Anchor point="BOTTOMRIGHT" /> |
</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> |
</Frame> |
<Button name="btnGenUsage" text="?"> |
<!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508884-59c2-4f83-ae10-27aaad48391b" />--> |
<Size> |
<AbsDimension x="17" y="18" /> |
</Size> |
<Anchors> |
<Anchor point="TOPLEFT"> |
<Offset> |
<AbsDimension x="287" y="-17" /> |
</Offset> |
</Anchor> |
</Anchors> |
<Scripts> |
<OnClick>btnUsage_Click(); |
</OnClick> |
</Scripts> |
<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" /> |
</Button> |
<Button name="btnClose" text="X"> |
<!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508884-59c2-4f83-ae10-27aaad48391b" />--> |
<Size> |
<AbsDimension x="17" y="18" /> |
</Size> |
<Anchors> |
<Anchor point="TOPLEFT"> |
<Offset> |
<AbsDimension x="310" y="-17" /> |
</Offset> |
</Anchor> |
</Anchors> |
<Scripts> |
<OnClick>frmBCG_Close(); |
</OnClick> |
</Scripts> |
<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" /> |
</Button> |
<Button name="btnGenSay" text="Generate!"> |
<!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508884-59c2-4f83-ae10-27aaad48391b" />--> |
<Size> |
<AbsDimension x="80" y="33" /> |
</Size> |
<Anchors> |
<Anchor point="TOPLEFT"> |
<Offset> |
<AbsDimension x="247" y="-37" /> |
</Offset> |
</Anchor> |
</Anchors> |
<Scripts> |
<OnClick>btnGenSay_Click(); |
</OnClick> |
</Scripts> |
<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" /> |
</Button> |
</Frames> |
<Scripts> |
<OnLoad> |
frmBCG_OnLoad(); |
|
</OnLoad> |
<OnEvent>frmBCG_OnEvent(); |
</OnEvent> |
<OnHide> |
if ( self.isMoving ) then |
self:StopMovingOrSizing(); |
self.isMoving = false; |
end |
</OnHide> |
<OnMouseDown> |
if ( ( ( not self.isLocked ) or ( self.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then |
self:StartMoving(); |
self.isMoving = true; |
end |
</OnMouseDown> |
<OnMouseUp> |
if ( self.isMoving ) then |
self:StopMovingOrSizing(); |
self.isMoving = false; |
end |
</OnMouseUp> |
</Scripts> |
</Frame> |
</Ui> |