8017 lines
289 KiB
XML
8017 lines
289 KiB
XML
<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/
|
|
..\..\..\FrameXML\UI.xsd">
|
|
|
|
---------------------------------LACALIZATION----------------------------------------------------------------
|
|
|
|
<Script file="Interface\AddOns\VCB\localization\enUS.lua" />
|
|
<Script file="Interface\AddOns\VCB\localization\deDE.lua" />
|
|
<Script file="Interface\AddOns\VCB\localization\koKR.lua" />
|
|
|
|
---------------------------------GENERAL FRAMES----------------------------------------------------------------
|
|
|
|
<GameTooltip name="VCB_Tooltip" frameStrata="TOOLTIP" hidden="false" parent="UIParent" inherits="GameTooltipTemplate">
|
|
<Scripts>
|
|
<Onload>
|
|
this:SetOwner(WorldFrame, "ANCHOR_NONE")
|
|
</Onload>
|
|
</Scripts>
|
|
</GameTooltip>
|
|
|
|
<CheckButton name="VCB_BF_CheckTemplate" inherits="OptionsCheckButtonTemplate" virtual="true">
|
|
<HitRectInsets>
|
|
<AbsInset left="0" right="0" top="0" bottom="0"/>
|
|
</HitRectInsets>
|
|
</CheckButton>
|
|
|
|
<Button name = "VCB_CONSOLIDATED_BUFFS_ENTRY_TEMPLATE" virtual="true">
|
|
<Size x="350" y="40" />
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_CONSOLIDATED_SCROLLFRAME_ENTRY(this)
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalFont style="GameFontHighlightLeft" />
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
|
|
<Button name = "VCB_PM_FRAME_ENTRY_TEMPLATE" virtual="true">
|
|
<Size x="350" y="40" />
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_PM_SCROLLFRAME_ENTRY(this)
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalFont style="GameFontHighlightLeft" />
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
|
|
<Button name = "VCB_BANNED_BUFFS_ENTRY_TEMPLATE" virtual="true">
|
|
<Size x="350" y="40" />
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BANNED_SCROLLFRAME_ENTRY(this)
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalFont style="GameFontHighlightLeft" />
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
|
|
<Slider name="VCB_BF_SliderTemplate" inherits="OptionsSliderTemplate" virtual="true">
|
|
<Scripts>
|
|
<OnEnter>
|
|
if (this.aide) then
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(this.aide, nil, nil, nil, nil, 1)
|
|
end
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
</Slider>
|
|
|
|
---------------------------------MINIMAP FRAME----------------------------------------------------------------
|
|
<Button name="VCB_BF_MINIMAP_FRAME" movable="true" parent="UIParent" enableMouse="true" toplevel="true" frameStrata="LOW">
|
|
<Size x="33" y="33" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="Minimap" relativePoint="LEFT">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="ItemRack_IconFrame_Icon" file="Interface\AddOns\VCB\images\icon">
|
|
<Size x="21" y="21" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="7" y="-6" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.075" right="0.925" top="0.075" bottom="0.925" />
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<Texture file="Interface\Minimap\MiniMap-TrackingBorder">
|
|
<Size x="56" y="56" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" />
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight" />
|
|
<Scripts>
|
|
<OnLoad>
|
|
this:RegisterForClicks("LeftButtonUp","RightButtonUp")
|
|
this:RegisterForDrag("LeftButton")
|
|
this:SetClampedToScreen(true)
|
|
</OnLoad>
|
|
<OnDragStart>
|
|
this:LockHighlight()
|
|
this:StartMoving()
|
|
</OnDragStart>
|
|
<OnDragStop>
|
|
this:UnlockHighlight()
|
|
this:StopMovingOrSizing()
|
|
</OnDragStop>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_LEFT")
|
|
GameTooltip:AddLine(VCB_MINIMAP_TOOLTIP_NAME)
|
|
GameTooltip:AddLine(VCB_MINIMAP_TOOLTIP_LEFTCLICK, 0.5, 0.5, 0.5)
|
|
GameTooltip:AddLine(VCB_MINIMAP_TOOLTIP_RIGHTCLICK, 0.5, 0.5, 0.5)
|
|
GameTooltip:AddLine(VCB_MINIMAP_TOOLTIP_DRAG, 0.5, 0.5, 0.5)
|
|
GameTooltip:Show()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
<OnClick>
|
|
VCB_BF_MINIMAP_OnClick(arg1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
---------------------------------MAIN CONFIG FRAME----------------------------------------------------------------
|
|
<Frame name="VCB_BF_ConfigFrame" movable="true" parent="UIParent" frameStrata="HIGH" hidden="true" enableMouse="true" enableKeyboard="true">
|
|
<Size x="800" y="515" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativeTo="UIParent">
|
|
<Offset x="0" y="50" />
|
|
</Anchor>
|
|
</Anchors>
|
|
-- Border of the main frame
|
|
<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>
|
|
<Scripts>
|
|
<OnMouseDown>
|
|
this:StartMoving()
|
|
</OnMouseDown>
|
|
<OnMouseUp>
|
|
this:StopMovingOrSizing()
|
|
</OnMouseUp>
|
|
<OnShow>
|
|
VCB_BF_DummyConfigMode_Enable()
|
|
PlaySound("igCharacterInfoOpen")
|
|
</OnShow>
|
|
<OnHide>
|
|
VCB_BF_DummyConfigMode_Disable()
|
|
PlaySound("igCharacterInfoClose")
|
|
</OnHide>
|
|
<OnEvent>
|
|
VCB_OnEvent(event)
|
|
</OnEvent>
|
|
<OnLoad>
|
|
VCB_OnLoad()
|
|
this:SetClampedToScreen(true)
|
|
getglobal("VCB_BF_Header"):SetText(VCB_MAIN_NAME.." "..VCB_MAIN_VERSION)
|
|
</OnLoad>
|
|
</Scripts>
|
|
-- Title block
|
|
<Layers>
|
|
<Layer>
|
|
<Texture file="Interface\DialogFrame\UI-DialogBox-Header">
|
|
<Size x="285" y="32" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="0" y="8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.2" right="0.8" top="0" bottom="0.6" />
|
|
</Texture>
|
|
-- Title text
|
|
<FontString name="VCB_BF_Header" inherits="GameFontNormalSmall" text="Vanilla Consolidated Buff-Frames v2.5">
|
|
<Size x="285" y="0" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="0" y="-3" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
-- Close button
|
|
<Button name="VCB_BF_CloseButton">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" relativeTo="VCB_BF_ConfigFrame" relativePoint="TOPRIGHT">
|
|
<Offset x="-8" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
getglobal("VCB_BF_ConfigFrame"):Hide()
|
|
PlaySound("igMainMenuOptionCheckBoxOff")
|
|
</OnClick>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(VCB_TOP_BUTTON_CLOSE, nil, nil, nil, nil, 1)
|
|
GameTooltip:Show()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
-- Lock button
|
|
<Button name="VCB_BF_LockButton">
|
|
<Size x="20" y="20" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="VCB_BF_CloseButton" relativePoint="LEFT">
|
|
<Offset x="5" y="1" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_ToggleLock()
|
|
PlaySound("igMainMenuOptionCheckBoxOff")
|
|
</OnClick>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(VCB_TOP_BUTTON_LOCK, nil, nil, nil, nil, 1)
|
|
GameTooltip:Show()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-GroupLoot-Pass-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-GroupLoot-Pass-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-GroupLoot-Pass-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
-- Minimap button
|
|
<Button name="VCB_BF_MiniMapButton">
|
|
<Size x="20" y="20" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="VCB_BF_LockButton" relativePoint="LEFT">
|
|
<Offset x="0" y="-1" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
if VCB_BF_MINIMAP_FRAME:IsVisible() then
|
|
VCB_BF_MINIMAP_FRAME:Hide()
|
|
VCB_MM_ICON = true
|
|
else
|
|
VCB_BF_MINIMAP_FRAME:Show()
|
|
VCB_MM_ICON = false
|
|
end
|
|
PlaySound("igMainMenuOptionCheckBoxOff")
|
|
</OnClick>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(VCB_TOP_BUTTON_MINIMAP, nil, nil, nil, nil, 1)
|
|
GameTooltip:Show()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-GroupLoot-Dice-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-GroupLoot-Dice-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-GroupLoot-Dice-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
-- dummy button
|
|
<Button name="VCB_BF_DummyButton">
|
|
<Size x="20" y="20" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="VCB_BF_MiniMapButton" relativePoint="LEFT">
|
|
<Offset x="0" y="-2" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
if VCB_BF_DUMMY_MODE then
|
|
VCB_BF_DummyConfigMode_Disable()
|
|
else
|
|
if VCB_BF_CF_FRAME:IsVisible() or VCB_BF_CF_FRAME2:IsVisible() then
|
|
VCB_BF_CONSOLIDATED_BUFFFRAME:Show()
|
|
end
|
|
VCB_BF_DummyConfigMode_Enable()
|
|
end
|
|
PlaySound("igMainMenuOptionCheckBoxOff")
|
|
</OnClick>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(VCB_TOP_BUTTON_DUMMY, nil, nil, nil, nil, 1)
|
|
GameTooltip:Show()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-GroupLoot-Coin-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-GroupLoot-Coin-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-GroupLoot-Coin-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
-- Menu Head
|
|
<Frame name="VCB_BF_MENU_HEAD">
|
|
<Size x="160" y="60" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="15" y="215" />
|
|
</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>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal("VCB_BF_MENU_HEAD_TITLE"):SetText(VCB_MENU_HEAD)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Menu Head title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalLarge" text="MENU">
|
|
<Size x="160" y="60" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
-- Menu body
|
|
<Frame name="VCB_BF_MENU_BODY">
|
|
<Size x="160" y="435" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_MENU_HEAD" relativePoint="BOTTOM">
|
|
<Offset x="0" y="5" />
|
|
</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>
|
|
<Frames>
|
|
-- Button 1
|
|
<Button name="VCB_BF_MENU_BUTTON1">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="0" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_OPTIONS_HIDE_ALL()
|
|
VCB_OPTIONS_SHOW("VCB_BF_CONSOLIDATED_FRAME", VCB_MENU_BUTTON1_LINK)
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_MENU_BUTTON1_NAME)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="Consolidated Buffs">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
-- Button 2
|
|
<Button name="VCB_BF_MENU_BUTTON2">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_MENU_BUTTON1" relativePoint="BOTTOM">
|
|
<Offset x="0" y="10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_OPTIONS_HIDE_ALL()
|
|
VCB_OPTIONS_SHOW("VCB_BF_BANNED_FRAME", VCB_MENU_BUTTON2_LINK)
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_MENU_BUTTON2_NAME)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="Banned Buffs">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
-- Button 3
|
|
<Button name="VCB_BF_MENU_BUTTON3">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_MENU_BUTTON2" relativePoint="BOTTOM">
|
|
<Offset x="0" y="10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_OPTIONS_HIDE_ALL()
|
|
VCB_OPTIONS_SHOW("VCB_BF_TIMER_FRAME", VCB_MENU_BUTTON3_LINK)
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_MENU_BUTTON3_NAME)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="Timer">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
-- Button 4
|
|
<Button name="VCB_BF_MENU_BUTTON4">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_MENU_BUTTON3" relativePoint="BOTTOM">
|
|
<Offset x="0" y="10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_OPTIONS_HIDE_ALL()
|
|
VCB_OPTIONS_SHOW("VCB_BF_CF_FRAME", VCB_MENU_BUTTON4_LINK)
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_MENU_BUTTON4_NAME)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="Consolidated Frame">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
-- Button 5
|
|
<Button name="VCB_BF_MENU_BUTTON5">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_MENU_BUTTON4" relativePoint="BOTTOM">
|
|
<Offset x="0" y="10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_OPTIONS_HIDE_ALL()
|
|
VCB_OPTIONS_SHOW("VCB_BF_BF_FRAME", VCB_MENU_BUTTON5_LINK)
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_MENU_BUTTON5_NAME)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="Buff Frame">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
-- Button 6
|
|
<Button name="VCB_BF_MENU_BUTTON6">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_MENU_BUTTON5" relativePoint="BOTTOM">
|
|
<Offset x="0" y="10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_OPTIONS_HIDE_ALL()
|
|
VCB_OPTIONS_SHOW("VCB_BF_DBF_FRAME", VCB_MENU_BUTTON6_LINK)
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_MENU_BUTTON6_NAME)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="Debuff Frame">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
-- Button 7
|
|
<Button name="VCB_BF_MENU_BUTTON7">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_MENU_BUTTON6" relativePoint="BOTTOM">
|
|
<Offset x="0" y="10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_OPTIONS_HIDE_ALL()
|
|
VCB_OPTIONS_SHOW("VCB_BF_WP_FRAME", VCB_MENU_BUTTON7_LINK)
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_MENU_BUTTON7_NAME)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="Weapon Frame">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
-- Button8
|
|
<Button name="VCB_BF_MENU_BUTTON8">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_MENU_BUTTON7" relativePoint="BOTTOM">
|
|
<Offset x="0" y="10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_OPTIONS_HIDE_ALL()
|
|
VCB_OPTIONS_SHOW("VCB_BF_PM_FRAME", VCB_MENU_BUTTON8_LINK)
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_MENU_BUTTON8_NAME)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="Profile Manager">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
-- Button 9
|
|
<Button name="VCB_BF_MENU_BUTTON9">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_MENU_BUTTON8" relativePoint="BOTTOM">
|
|
<Offset x="0" y="10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_OPTIONS_HIDE_ALL()
|
|
VCB_OPTIONS_SHOW("VCB_BF_MISC_FRAME", VCB_MENU_BUTTON9_LINK)
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_MENU_BUTTON9_NAME)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="Miscellaneous">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
-- Button 10
|
|
<Button name="VCB_BF_MENU_BUTTON10">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_MENU_BUTTON9" relativePoint="BOTTOM">
|
|
<Offset x="0" y="10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_OPTIONS_HIDE_ALL()
|
|
VCB_OPTIONS_SHOW("VCB_BF_ABOUT_FRAME", VCB_MENU_BUTTON10_LINK)
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_MENU_BUTTON10_NAME)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="About">
|
|
<Size x="130" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
-- Title Frame
|
|
<Frame name="VCB_BF_CONFIG_FRAME_TITLE">
|
|
<Size x="610" y="60" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_MENU_HEAD" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_TEXT" font="Fonts\FRIZQT__.TTF" text="Consolidated Buffs" justifyH="LEFT">
|
|
<Size x="610" y="60" />
|
|
<Color r="1.0" g="0.82" b="0" />
|
|
<FontHeight val="92" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT">
|
|
<Offset x="5" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TEXT"):SetText(VCB_CONFIG_FRAME_TITLE_ONLOAD)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
-- Consolidated Frame
|
|
<Frame name="VCB_BF_CONSOLIDATED_FRAME">
|
|
<Size x="610" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_MENU_BODY" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnShow>
|
|
VCB_BF_CONSOLIDATED_FRAME_RIGHT_SCROLLFRAME_Update()
|
|
</OnShow>
|
|
</Scripts>
|
|
<Frames>
|
|
<Frame name="VCB_BF_CONSOLIDATED_FRAME_LEFT">
|
|
<Size x="220" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<FontString name="$parent_INSERT" font="Fonts\FRIZQT__.TTF" text="Insert a buff name:" justifyH="LEFT">
|
|
<Size x="220" y="60" />
|
|
<Color r="1.0" g="0.82" b="0" />
|
|
<FontHeight val="20" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="15" y="5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parent_DELETE" font="Fonts\FRIZQT__.TTF" text="Selected aura:" justifyH="LEFT">
|
|
<Size x="220" y="60" />
|
|
<Color r="1.0" g="0.82" b="0" />
|
|
<FontHeight val="20" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_INSERT" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-70" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_INSERT"):SetText(VCB_CB_BB_FRAME_LEFT_INSERT)
|
|
getglobal(this:GetName().."_DELETE"):SetText(VCB_CB_BB_FRAME_LEFT_DELETE)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<EditBox name="VCB_BF_CONSOLIDATED_FRAME_EditBox" letters="80">
|
|
<Size x="160" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_INSERT" relativePoint="BOTTOM">
|
|
<Offset x="-13" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
|
|
<Size x="100" y="40" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.2" top="0" bottom="1.0" />
|
|
</Texture>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
|
|
<Size x="100" y="40" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<FontString inherits="ChatFontNormal" />
|
|
</EditBox>
|
|
-- Button ADD
|
|
<Button name="VCB_BF_CONSOLIDATED_FRAME_ADD_BUTTON">
|
|
<Size x="180" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CONSOLIDATED_FRAME_EditBox" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_CONSOLIDATED_BUFFS_ADD()
|
|
PlaySound("igMainMenuOptionCheckBoxOff")
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_CB_BB_FRAME_LEFT_ADD)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="ADD">
|
|
<Size x="180" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
<Frame name="VCB_BF_CONSOLIDATED_FRAME_LEFT_DELETE_INBOX">
|
|
<Size x="195" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_DELETE" relativePoint="BOTTOM">
|
|
<Offset x="-15" y="15" />
|
|
</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>
|
|
<FontString name="$parent_TEXT" inherits="GameFontNormalSmall" text="">
|
|
<Size x="195" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="1" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
-- Button DELETE
|
|
<Button name="VCB_BF_CONSOLIDATED_FRAME_DELETE_BUTTON">
|
|
<Size x="180" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_DELETE_INBOX" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_CONSOLIDATED_BUFFS_DELETE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff")
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_CB_BB_FRAME_LEFT_DELETE_BUTTON)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="DELETE">
|
|
<Size x="180" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
-- Button Remove all
|
|
<Button name="VCB_BF_CONSOLIDATED_FRAME_RA_BUTTON">
|
|
<Size x="180" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CONSOLIDATED_FRAME_DELETE_BUTTON" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-140" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_CONSOLIDATED_BUFFS_REMOVE_ALL()
|
|
PlaySound("igMainMenuOptionCheckBoxOff")
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_CB_BB_FRAME_LEFT_RA)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="Remove all">
|
|
<Size x="180" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="VCB_BF_CONSOLIDATED_FRAME_RIGHT">
|
|
<Size x="390" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_CONSOLIDATED_FRAME_LEFT" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<Frames>
|
|
<ScrollFrame name="VCB_BF_CONSOLIDATED_FRAME_RIGHT_SCROLLFRAME" inherits="FauxScrollFrameTemplate">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="0" y="-5" />
|
|
</Anchor>
|
|
<Anchor point="BOTTOMRIGHT">
|
|
<Offset x="-30" y="8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnVerticalScroll>
|
|
FauxScrollFrame_OnVerticalScroll(40, VCB_BF_CONSOLIDATED_FRAME_RIGHT_SCROLLFRAME_Update)
|
|
</OnVerticalScroll>
|
|
<OnShow>
|
|
VCB_BF_CONSOLIDATED_FRAME_RIGHT_SCROLLFRAME_Update()
|
|
</OnShow>
|
|
</Scripts>
|
|
</ScrollFrame>
|
|
<Button name="VCB_CONSOLIDATED_BUFFS_ENTRY1" inherits="VCB_CONSOLIDATED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BF_CONSOLIDATED_FRAME_RIGHT_SCROLLFRAME" relativePoint="TOPLEFT">
|
|
<Offset x="15" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_CONSOLIDATED_BUFFS_ENTRY_TEXT1" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_CONSOLIDATED_BUFFS_ENTRY2" inherits="VCB_CONSOLIDATED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_CONSOLIDATED_BUFFS_ENTRY1" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_CONSOLIDATED_BUFFS_ENTRY_TEXT2" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_CONSOLIDATED_BUFFS_ENTRY3" inherits="VCB_CONSOLIDATED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_CONSOLIDATED_BUFFS_ENTRY2" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_CONSOLIDATED_BUFFS_ENTRY_TEXT3" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_CONSOLIDATED_BUFFS_ENTRY4" inherits="VCB_CONSOLIDATED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_CONSOLIDATED_BUFFS_ENTRY3" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_CONSOLIDATED_BUFFS_ENTRY_TEXT4" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_CONSOLIDATED_BUFFS_ENTRY5" inherits="VCB_CONSOLIDATED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_CONSOLIDATED_BUFFS_ENTRY4" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_CONSOLIDATED_BUFFS_ENTRY_TEXT5" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_CONSOLIDATED_BUFFS_ENTRY6" inherits="VCB_CONSOLIDATED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_CONSOLIDATED_BUFFS_ENTRY5" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_CONSOLIDATED_BUFFS_ENTRY_TEXT6" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_CONSOLIDATED_BUFFS_ENTRY7" inherits="VCB_CONSOLIDATED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_CONSOLIDATED_BUFFS_ENTRY6" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_CONSOLIDATED_BUFFS_ENTRY_TEXT7" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_CONSOLIDATED_BUFFS_ENTRY8" inherits="VCB_CONSOLIDATED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_CONSOLIDATED_BUFFS_ENTRY7" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_CONSOLIDATED_BUFFS_ENTRY_TEXT8" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_CONSOLIDATED_BUFFS_ENTRY9" inherits="VCB_CONSOLIDATED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_CONSOLIDATED_BUFFS_ENTRY8" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_CONSOLIDATED_BUFFS_ENTRY_TEXT9" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_CONSOLIDATED_BUFFS_ENTRY10" inherits="VCB_CONSOLIDATED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_CONSOLIDATED_BUFFS_ENTRY9" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_CONSOLIDATED_BUFFS_ENTRY_TEXT10" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
-- Banned Frame
|
|
<Frame name="VCB_BF_BANNED_FRAME" hidden="true">
|
|
<Size x="610" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_MENU_BODY" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnShow>
|
|
VCB_BF_BANNED_FRAME_RIGHT_SCROLLFRAME_Update()
|
|
</OnShow>
|
|
</Scripts>
|
|
<Frames>
|
|
<Frame name="VCB_BF_BANNED_FRAME_LEFT">
|
|
<Size x="220" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<FontString name="$parent_INSERT" font="Fonts\FRIZQT__.TTF" text="Insert a buff name:" justifyH="LEFT">
|
|
<Size x="220" y="60" />
|
|
<Color r="1.0" g="0.82" b="0" />
|
|
<FontHeight val="20" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="15" y="5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parent_DELETE" font="Fonts\FRIZQT__.TTF" text="Selected aura:" justifyH="LEFT">
|
|
<Size x="220" y="60" />
|
|
<Color r="1.0" g="0.82" b="0" />
|
|
<FontHeight val="20" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_INSERT" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-70" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_INSERT"):SetText(VCB_CB_BB_FRAME_LEFT_INSERT)
|
|
getglobal(this:GetName().."_DELETE"):SetText(VCB_CB_BB_FRAME_LEFT_DELETE)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<EditBox name="VCB_BF_BANNED_FRAME_EditBox" letters="80">
|
|
<Size x="160" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BANNED_FRAME_LEFT_INSERT" relativePoint="BOTTOM">
|
|
<Offset x="-13" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
|
|
<Size x="100" y="40" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.2" top="0" bottom="1.0" />
|
|
</Texture>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
|
|
<Size x="100" y="40" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
</OnLoad>
|
|
</Scripts>
|
|
<FontString inherits="ChatFontNormal" />
|
|
</EditBox>
|
|
-- Button ADD
|
|
<Button name="VCB_BF_BANNED_FRAME_ADD_BUTTON">
|
|
<Size x="180" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BANNED_FRAME_EditBox" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BANNED_BUFFS_ADD()
|
|
PlaySound("igMainMenuOptionCheckBoxOff")
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_CB_BB_FRAME_LEFT_ADD)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="ADD">
|
|
<Size x="180" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
<Frame name="VCB_BF_BANNED_FRAME_LEFT_DELETE_INBOX">
|
|
<Size x="195" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_DELETE" relativePoint="BOTTOM">
|
|
<Offset x="-15" y="15" />
|
|
</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>
|
|
<FontString name="$parent_TEXT" inherits="GameFontNormalSmall" text="">
|
|
<Size x="195" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="1" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
-- Button DELETE
|
|
<Button name="VCB_BF_BANNED_FRAME_DELETE_BUTTON">
|
|
<Size x="180" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_DELETE_INBOX" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BANNED_BUFFS_DELETE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff")
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_CB_BB_FRAME_LEFT_DELETE_BUTTON)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="DELETE">
|
|
<Size x="180" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
-- Button Remove all
|
|
<Button name="VCB_BF_BANNED_FRAME_RA_BUTTON">
|
|
<Size x="180" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BANNED_FRAME_DELETE_BUTTON" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-140" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BANNED_BUFFS_REMOVE_ALL()
|
|
PlaySound("igMainMenuOptionCheckBoxOff")
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_TITLE"):SetText(VCB_CB_BB_FRAME_LEFT_RA)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
-- Button Title
|
|
<FontString name="$parent_TITLE" inherits="GameFontNormalSmall" text="Remove all">
|
|
<Size x="180" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="VCB_BF_BANNED_FRAME_RIGHT">
|
|
<Size x="390" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_BANNED_FRAME_LEFT" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<Frames>
|
|
<ScrollFrame name="VCB_BF_BANNED_FRAME_RIGHT_SCROLLFRAME" inherits="FauxScrollFrameTemplate">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="0" y="-5" />
|
|
</Anchor>
|
|
<Anchor point="BOTTOMRIGHT">
|
|
<Offset x="-30" y="8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnVerticalScroll>
|
|
FauxScrollFrame_OnVerticalScroll(40, VCB_BF_BANNED_FRAME_RIGHT_SCROLLFRAME_Update)
|
|
</OnVerticalScroll>
|
|
<OnShow>
|
|
VCB_BF_BANNED_FRAME_RIGHT_SCROLLFRAME_Update()
|
|
</OnShow>
|
|
</Scripts>
|
|
</ScrollFrame>
|
|
<Button name="VCB_BANNED_BUFFS_ENTRY1" inherits="VCB_BANNED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BF_BANNED_FRAME_RIGHT_SCROLLFRAME" relativePoint="TOPLEFT">
|
|
<Offset x="15" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_BANNED_BUFFS_ENTRY_TEXT1" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_BANNED_BUFFS_ENTRY2" inherits="VCB_BANNED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BANNED_BUFFS_ENTRY1" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_BANNED_BUFFS_ENTRY_TEXT2" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_BANNED_BUFFS_ENTRY3" inherits="VCB_BANNED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BANNED_BUFFS_ENTRY2" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_BANNED_BUFFS_ENTRY_TEXT3" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_BANNED_BUFFS_ENTRY4" inherits="VCB_BANNED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BANNED_BUFFS_ENTRY3" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_BANNED_BUFFS_ENTRY_TEXT4" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_BANNED_BUFFS_ENTRY5" inherits="VCB_BANNED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BANNED_BUFFS_ENTRY4" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_BANNED_BUFFS_ENTRY_TEXT5" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_BANNED_BUFFS_ENTRY6" inherits="VCB_BANNED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BANNED_BUFFS_ENTRY5" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_BANNED_BUFFS_ENTRY_TEXT6" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_BANNED_BUFFS_ENTRY7" inherits="VCB_BANNED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BANNED_BUFFS_ENTRY6" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_BANNED_BUFFS_ENTRY_TEXT7" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_BANNED_BUFFS_ENTRY8" inherits="VCB_BANNED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BANNED_BUFFS_ENTRY7" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_BANNED_BUFFS_ENTRY_TEXT8" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_BANNED_BUFFS_ENTRY9" inherits="VCB_BANNED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BANNED_BUFFS_ENTRY8" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_BANNED_BUFFS_ENTRY_TEXT9" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_BANNED_BUFFS_ENTRY10" inherits="VCB_BANNED_BUFFS_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BANNED_BUFFS_ENTRY9" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="VCB_BANNED_BUFFS_ENTRY_TEXT10" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
-- Timer Frame
|
|
<Frame name="VCB_BF_TIMER_FRAME" hidden="true">
|
|
<Size x="610" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_MENU_BODY" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_FONT1" inherits="GameFontNormal" text="General" justifyH="LEFT">
|
|
<Size x="610" y="20" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="20" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<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>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT1"):SetText(VCB_CAT_GENERAL)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<Frame name="VCB_BF_TIMER_FRAME_GENERAL_FRAME">
|
|
<Size x="580" y="225" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="15" y="-25" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Frames>
|
|
<CheckButton name="VCB_BF_TIMER_FRAME_CHECKBUTTON1" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BF_TIMER_FRAME_GENERAL_FRAME" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_TIMER_FRAME_SHOW_HOURS_TOOLTIP
|
|
getglobal("VCB_BF_TIMER_FRAME_CHECKBUTTON1Text"):SetText(VCB_TIMER_FRAME_SHOW_HOURS)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CHECKBUTTON_TIMER_HOURS()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_TIMER_FRAME_CHECKBUTTON2" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_TIMER_FRAME_CHECKBUTTON1" relativePoint="RIGHT">
|
|
<Offset x="80" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_TIMER_FRAME_SHOW_HOURS_CONVERT_TOOLTIP
|
|
getglobal("VCB_BF_TIMER_FRAME_CHECKBUTTON2Text"):SetText(VCB_TIMER_FRAME_SHOW_HOURS_CONVERT)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CHECKBUTTON_TIMER_HOURS_CONVERT()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_TIMER_FRAME_CHECKBUTTON3" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_TIMER_FRAME_CHECKBUTTON1" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_TIMER_FRAME_SHOW_MINUTES_TOOLTIP
|
|
getglobal("VCB_BF_TIMER_FRAME_CHECKBUTTON3Text"):SetText(VCB_TIMER_FRAME_SHOW_MINUTES)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CHECKBUTTON_TIMER_MINUTES()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_TIMER_FRAME_CHECKBUTTON4" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_TIMER_FRAME_CHECKBUTTON3" relativePoint="RIGHT">
|
|
<Offset x="80" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_TIMER_FRAME_SHOW_MINUTES_CONVERT_TOOLTIP
|
|
getglobal("VCB_BF_TIMER_FRAME_CHECKBUTTON4Text"):SetText(VCB_TIMER_FRAME_SHOW_MINUTES_CONVERT)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CHECKBUTTON_TIMER_MINUTES_CONVERT()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_TIMER_FRAME_CHECKBUTTON5" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_TIMER_FRAME_CHECKBUTTON3" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_TIMER_FRAME_SHOW_TENTH_TOOLTIP
|
|
getglobal("VCB_BF_TIMER_FRAME_CHECKBUTTON5Text"):SetText(VCB_TIMER_FRAME_SHOW_TENTH)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CHECKBUTTON("Timer_tenth")
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_TIMER_FRAME_CHECKBUTTON6" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_TIMER_FRAME_CHECKBUTTON5" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_TIMER_FRAME_ROUND_DOWN_TOOLTIP
|
|
getglobal("VCB_BF_TIMER_FRAME_CHECKBUTTON6Text"):SetText(VCB_TIMER_FRAME_ROUND_DOWN)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CHECKBUTTON_ROUND()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_TIMER_FRAME_CHECKBUTTON7" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_TIMER_FRAME_CHECKBUTTON6" relativePoint="RIGHT">
|
|
<Offset x="80" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_TIMER_FRAME_ROUND_UP_TOOLTIP
|
|
getglobal("VCB_BF_TIMER_FRAME_CHECKBUTTON7Text"):SetText(VCB_TIMER_FRAME_ROUND_UP)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CHECKBUTTON_ROUND()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_TIMER_FRAME_CHECKBUTTON8" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_TIMER_FRAME_CHECKBUTTON6" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_TIMER_FRAME_FLASH_TOOLTIP
|
|
getglobal("VCB_BF_TIMER_FRAME_CHECKBUTTON8Text"):SetText(VCB_TIMER_FRAME_FLASH)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CHECKBUTTON("Timer_flash")
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_TIMER_FRAME_CHECKBUTTON9" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_TIMER_FRAME_CHECKBUTTON8" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_TIMER_FRAME_COLOR_BELOW_60_TOOLTIP
|
|
getglobal("VCB_BF_TIMER_FRAME_CHECKBUTTON9Text"):SetText(VCB_TIMER_FRAME_COLOR_BELOW_60)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CHECKBUTTON("Timer_below_60")
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<Button name="VCB_BF_TIMER_FRAME_Color">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_TIMER_FRAME_CHECKBUTTON9" relativePoint="RIGHT">
|
|
<Offset x="130" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "Timer_below_60_", nil, "NONE");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_FONTCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
<CheckButton name="VCB_BF_TIMER_FRAME_CHECKBUTTON_CUSTOMFONT" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_TIMER_FRAME_CHECKBUTTON9" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_CUSTOMFONT_TOOLTIP
|
|
getglobal("VCB_BF_TIMER_FRAME_CHECKBUTTON_CUSTOMFONTText"):SetText(VCB_COMMON_BUTTON_CUSTOMFONT)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_TIMER_FRAME_CHECKBUTTON_CUSTOMFONT_CLICK()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_TIMER_FRAME_CHECKBUTTON_DISABLE" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_TIMER_FRAME_CHECKBUTTON_CUSTOMFONT" relativePoint="RIGHT">
|
|
<Offset x="80" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_TIMER_FRAME_SHOW_DISABLEUNIT_TOOLTIP
|
|
getglobal("VCB_BF_TIMER_FRAME_CHECKBUTTON_DISABLEText"):SetText(VCB_TIMER_FRAME_SHOW_DISABLEUNIT)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CHECKBUTTON_TIMER_DISABLEUNIT()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<Slider name="VCB_BF_TIMER_FRAME_FontSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="180" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_TIMER_FRAME_CHECKBUTTON2" relativePoint="RIGHT">
|
|
<Offset x="220" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_TOOLTIP
|
|
this:SetMinMaxValues(1,15)
|
|
this:SetValue(1)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_TIMER_FRAME_FontSliderText"):SetText(VCB_COMMON_SLIDER_FONT)
|
|
getglobal("VCB_BF_TIMER_FRAME_FontSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_TIMER_FRAME_FontSliderHigh"):SetText("15")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_TIMER_FRAME_FontSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
<EditBox name="VCB_BF_TIMER_FRAME_EDITBOX_CUSTOMFONT" letters="200">
|
|
<Size x="130" y="36" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_TIMER_FRAME_FontSlider" relativePoint="BOTTOM">
|
|
<Offset x="1" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="$parent_FONT" inherits="GameFontNormalSmall" text="Custom border path:">
|
|
<Size x="130" y="20" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.2" top="0" bottom="1.0" />
|
|
</Texture>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnTextChanged>
|
|
VCB_BF_TIMER_FRAME_EDITBOX_CUSTOMFONT_CHANGE(this)
|
|
</OnTextChanged>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_COMMON_EDITBOX_CUSTOMFONT_PATH)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<FontString inherits="ChatFontNormal" />
|
|
</EditBox>
|
|
<Slider name="VCB_BF_TIMER_FRAME_YOffset" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="180" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_TIMER_FRAME_EDITBOX_CUSTOMFONT" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = "Move this to change the y offset of the timer"
|
|
this:SetMinMaxValues(0,50)
|
|
this:SetValue(0)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_TIMER_FRAME_YOffsetText"):SetText("Y Offset")
|
|
getglobal("VCB_BF_TIMER_FRAME_YOffsetLow"):SetText("0")
|
|
getglobal("VCB_BF_TIMER_FRAME_YOffsetHigh"):SetText("50")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_SAVE["Timer_yoffset"] = tonumber(this:GetValue()) or 0
|
|
for i=0,VCB_MAXINDEX.buff do
|
|
getglobal("VCB_BF_BUFF_BUTTON"..i.."Duration"):ClearAllPoints()
|
|
getglobal("VCB_BF_BUFF_BUTTON"..i.."Duration"):SetPoint("TOPLEFT", getglobal("VCB_BF_BUFF_BUTTON"..i), "BOTTOMLEFT", -2, VCB_SAVE["Timer_yoffset"])
|
|
getglobal("VCB_BF_BUFF_BUTTON"..i.."Duration"):SetPoint("TOPRIGHT", getglobal("VCB_BF_BUFF_BUTTON"..i), "BOTTOMRIGHT", 2, VCB_SAVE["Timer_yoffset"])
|
|
end
|
|
for i=0,15 do
|
|
getglobal("VCB_BF_DEBUFF_BUTTON"..i.."Duration"):ClearAllPoints()
|
|
getglobal("VCB_BF_DEBUFF_BUTTON"..i.."Duration"):SetPoint("TOPLEFT", getglobal("VCB_BF_DEBUFF_BUTTON"..i), "BOTTOMLEFT", -2, VCB_SAVE["Timer_yoffset"])
|
|
getglobal("VCB_BF_DEBUFF_BUTTON"..i.."Duration"):SetPoint("TOPRIGHT", getglobal("VCB_BF_DEBUFF_BUTTON"..i), "BOTTOMRIGHT", 2, VCB_SAVE["Timer_yoffset"])
|
|
end
|
|
for i=0,1 do
|
|
getglobal("VCB_BF_WEAPON_BUTTON"..i.."Duration"):ClearAllPoints()
|
|
getglobal("VCB_BF_WEAPON_BUTTON"..i.."Duration"):SetPoint("TOPLEFT", getglobal("VCB_BF_WEAPON_BUTTON"..i), "BOTTOMLEFT", -2, VCB_SAVE["Timer_yoffset"])
|
|
getglobal("VCB_BF_WEAPON_BUTTON"..i.."Duration"):SetPoint("TOPRIGHT", getglobal("VCB_BF_WEAPON_BUTTON"..i), "BOTTOMRIGHT", 2, VCB_SAVE["Timer_yoffset"])
|
|
end
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
</Frames>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
-- CF Frame
|
|
<Frame name="VCB_BF_CF_FRAME" hidden="true">
|
|
<Size x="610" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_MENU_BODY" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<FontString name="$parent_FONT1" inherits="GameFontNormal" text="Consolidate Icon" justifyH="LEFT">
|
|
<Size x="610" y="20" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="20" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parent_FONT2" inherits="GameFontNormal" text="Buff Frames" justifyH="LEFT">
|
|
<Size x="610" y="20" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="20" y="-180" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnShow>
|
|
VCB_BF_CONSOLIDATED_BUFFFRAME:Show()
|
|
</OnShow>
|
|
<OnHide>
|
|
VCB_BF_CONSOLIDATED_BUFFFRAME:Hide()
|
|
</OnHide>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT1"):SetText(VCB_CAT_CONSOLIDATED_ICON)
|
|
getglobal(this:GetName().."_FONT2"):SetText(VCB_CAT_BUFF_FRAME)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<Frame name="VCB_BF_CF_FRAME_CI_FRAME">
|
|
<Size x="580" y="153" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BF_CF_FRAME" relativePoint="TOPLEFT">
|
|
<Offset x="15" y="-25" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Frames>
|
|
-- COLOR PICKER
|
|
<Button name="VCB_BF_CF_FRAME_Color">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BF_CF_FRAME_CI_FRAME" relativePoint="TOPLEFT">
|
|
<Offset x="17" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select font color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_COLOR_FONTCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "CF_icon_", "VCB_BF_CONSOLIDATED_ICONCount", "font");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_FONTCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
<CheckButton name="VCB_BF_CF_FRAME_CHECKBUTTON2" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BF_CF_FRAME_CI_FRAME" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_CF_FRAME_POSSIBLE_BUFFS_TOOLTIP
|
|
getglobal("VCB_BF_CF_FRAME_CHECKBUTTON2Text"):SetText(VCB_CF_FRAME_POSSIBLE_BUFFS)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME_SHOW_POSSIBLE_BUFFS()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_CF_FRAME_CHECKBUTTON3" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_CHECKBUTTON2" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_CF_FRAME_SHOW_PB_GRAYED_OUT_TOOLTIP
|
|
getglobal("VCB_BF_CF_FRAME_CHECKBUTTON3Text"):SetText(VCB_CF_FRAME_SHOW_PB_GRAYED_OUT)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME_SHOW_BUFFS_GRAYED_OUT()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_CF_FRAME_CHECKBUTTON_BORDER" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_CHECKBUTTON3" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_FONT_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_CF_FRAME_CHECKBUTTON_BORDERText"):SetText(VCB_COMMON_BUTTON_ENABLE_FONT_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME_CHECKBUTTON_BORDER_CLICK()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_CF_FRAME_CHECKBUTTON_CUSTOMFONT" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_CF_FRAME_CHECKBUTTON_BORDER" relativePoint="RIGHT">
|
|
<Offset x="60" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_CUSTOMFONT_TOOLTIP
|
|
getglobal("VCB_BF_CF_FRAME_CHECKBUTTON_CUSTOMFONTText"):SetText(VCB_COMMON_BUTTON_CUSTOMFONT)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME_CHECKBUTTON_CUSTOMFONT_CLICK()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_CF_FRAME_CHECKBUTTON_ATTACH" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_CHECKBUTTON_BORDER" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_WP_FRAME_ATTACH_TO_BF_FRAME_TOOLTIP
|
|
getglobal("VCB_BF_CF_FRAME_CHECKBUTTON_ATTACHText"):SetText(VCB_WP_FRAME_ATTACH_TO_BF_FRAME)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME_CHECKBUTTON_ATTACH_CLICK()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<Slider name="VCB_BF_CF_FRAME_SizeSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_CI_FRAME" relativePoint="TOP">
|
|
<Offset x="20" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_SIZE_TOOLTIP
|
|
this:SetMinMaxValues(1,24)
|
|
this:SetValue(12)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_CF_FRAME_SizeSliderText"):SetText(VCB_COMMON_SLIDER_FONT_SIZE)
|
|
getglobal("VCB_BF_CF_FRAME_SizeSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_CF_FRAME_SizeSliderHigh"):SetText("24")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME_SizeSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="VCB_BF_CF_FRAME_FontSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_SizeSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_TOOLTIP
|
|
this:SetMinMaxValues(1,15)
|
|
this:SetValue(1)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_CF_FRAME_FontSliderText"):SetText(VCB_COMMON_SLIDER_FONT)
|
|
getglobal("VCB_BF_CF_FRAME_FontSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_CF_FRAME_FontSliderHigh"):SetText("15")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME_FontSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="VCB_BF_CF_FRAME_AlphaSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_CF_FRAME_SizeSlider" relativePoint="RIGHT">
|
|
<Offset x="20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_CF_FRAME_ICON_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_CF_FRAME_AlphaSliderText"):SetText(VCB_CF_FRAME_ICON_OPACITY)
|
|
getglobal("VCB_BF_CF_FRAME_AlphaSliderLow"):SetText("0")
|
|
getglobal("VCB_BF_CF_FRAME_AlphaSliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME_AlphaSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="VCB_BF_CF_FRAME_FontAlphaSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_AlphaSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_CF_FRAME_FontAlphaSliderText"):SetText(VCB_COMMON_SLIDER_FONT_OPACITY)
|
|
getglobal("VCB_BF_CF_FRAME_FontAlphaSliderLow"):SetText("0")
|
|
getglobal("VCB_BF_CF_FRAME_FontAlphaSliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME_FontAlphaSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="VCB_BF_CF_FRAME_TextureSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_FontAlphaSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_CF_FRAME_ICON_TEXTURE_TOOLTIP
|
|
this:SetMinMaxValues(1,1)
|
|
this:SetValue(1)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_CF_FRAME_TextureSliderText"):SetText(VCB_CF_FRAME_ICON_TEXTURE)
|
|
getglobal("VCB_BF_CF_FRAME_TextureSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_CF_FRAME_TextureSliderHigh"):SetText("1")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME_TextureSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
<EditBox name="VCB_BF_CF_FRAME_EDITBOX_CUSTOMFONT" letters="200">
|
|
<Size x="130" y="36" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_FontSlider" relativePoint="BOTTOM">
|
|
<Offset x="1" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="$parent_FONT" inherits="GameFontNormalSmall" text="Custom border path:">
|
|
<Size x="130" y="20" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.2" top="0" bottom="1.0" />
|
|
</Texture>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnTextChanged>
|
|
VCB_BF_CF_FRAME_EDITBOX_CUSTOMFONT_CHANGE(this)
|
|
</OnTextChanged>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_COMMON_EDITBOX_CUSTOMFONT_PATH)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<FontString inherits="ChatFontNormal" />
|
|
</EditBox>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="VCB_BF_CF_FRAME_BF_FRAME">
|
|
<Size x="580" y="195" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_CI_FRAME" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-18" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Frames>
|
|
-- COLOR PICKER
|
|
<Button name="VCB_BF_CF_FRAME_Color2">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BF_CF_FRAME_BF_FRAME" relativePoint="TOPLEFT">
|
|
<Offset x="17" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select border color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_COLOR_BORDERCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "CF_BF_border", "VCB_BF_CONSOLIDATED_BUFFFRAME", "border");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_BORDERCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- COLOR PICKER
|
|
<Button name="VCB_BF_CF_FRAME_Color3">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_Color2" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select background color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_COLOR_BACKGROUNDCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "CF_BF_bg", "VCB_BF_CONSOLIDATED_BUFFFRAME", "bg");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_BACKGROUNDCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
<CheckButton name="VCB_BF_CF_FRAME_CHECKBUTTON1" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BF_CF_FRAME_BF_FRAME" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-62" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_INVERT_ORDER_TOOLTIP
|
|
getglobal("VCB_BF_CF_FRAME_CHECKBUTTON1Text"):SetText(VCB_COMMON_BUTTON_INVERT_ORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME_INVERTBUTTON()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_CF_FRAME_CHECKBUTTON4" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_CF_FRAME_CHECKBUTTON1" relativePoint="RIGHT">
|
|
<Offset x="60" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_USE_CUSTOM_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_CF_FRAME_CHECKBUTTON4Text"):SetText(VCB_COMMON_BUTTON_USE_CUSTOM_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME_USE_CUSTOM_BORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_CF_FRAME_CHECKBUTTON_CBG" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_CHECKBUTTON1" relativePoint="BOTTOM">
|
|
<Offset x="0" y="3" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_USE_CUSTOM_BACKGROUND_TOOLTIP
|
|
getglobal("VCB_BF_CF_FRAME_CHECKBUTTON_CBGText"):SetText(VCB_COMMON_BUTTON_USE_CUSTOM_BACKGROUND)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME_USE_CUSTOM_BACKGROUND()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_CF_FRAME_CHECKBUTTON_IBO" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_CHECKBUTTON_CBG" relativePoint="BOTTOM">
|
|
<Offset x="0" y="3" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_INVERT_ORIENTATION_TOOLTIP
|
|
getglobal("VCB_BF_CF_FRAME_CHECKBUTTON_IBOText"):SetText(VCB_COMMON_BUTTON_INVERT_ORIENTATION)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME_INVERT_BUFF_ORIENTATION()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<Slider name="VCB_BF_CF_FRAME_AnchorSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" relativeTo="VCB_BF_CF_FRAME_BF_FRAME" relativePoint="TOPRIGHT">
|
|
<Offset x="-15" y="-21" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_CF_FRAME_BF_ANCHOR_TOOLTIP
|
|
this:SetMinMaxValues(1,4)
|
|
this:SetValue(1)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_CF_FRAME_AnchorSliderText"):SetText(VCB_CF_FRAME_BF_ANCHOR)
|
|
getglobal("VCB_BF_CF_FRAME_AnchorSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_CF_FRAME_AnchorSliderHigh"):SetText("4")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME_AnchorSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="VCB_BF_CF_FRAME_ScaleSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_AnchorSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_SCALE_TOOLTIP
|
|
this:SetMinMaxValues(0.1,3.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_CF_FRAME_ScaleSliderText"):SetText(VCB_COMMON_SLIDER_SCALE)
|
|
getglobal("VCB_BF_CF_FRAME_ScaleSliderLow"):SetText("0.1")
|
|
getglobal("VCB_BF_CF_FRAME_ScaleSliderHigh"):SetText("3.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME_ScaleSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="VCB_BF_CF_FRAME_NumPerRowSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_ScaleSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BUFFS_PER_ROW_TOOLTIP
|
|
this:SetMinMaxValues(1,10)
|
|
this:SetValue(5)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_CF_FRAME_NumPerRowSliderText"):SetText(VCB_COMMON_SLIDER_BUFFS_PER_ROW)
|
|
getglobal("VCB_BF_CF_FRAME_NumPerRowSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_CF_FRAME_NumPerRowSliderHigh"):SetText("10")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME_NumPerRowSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="VCB_BF_CF_FRAME_BackdropSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_NumPerRowSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_CF_FRAME_BF_BACKGROUND_TOOLTIP
|
|
this:SetMinMaxValues(1,3)
|
|
this:SetValue(1)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_CF_FRAME_BackdropSliderText"):SetText(VCB_CF_FRAME_BF_BACKGROUND)
|
|
getglobal("VCB_BF_CF_FRAME_BackdropSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_CF_FRAME_BackdropSliderHigh"):SetText("3")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME_BackdropSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="VCB_BF_CF_FRAME_BGOpaSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="VCB_BF_CF_FRAME_AnchorSlider" relativePoint="LEFT">
|
|
<Offset x="-22" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BACKGROUND_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(0.5)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_CF_FRAME_BGOpaSliderText"):SetText(VCB_COMMON_SLIDER_BACKGROUND_OPACITY)
|
|
getglobal("VCB_BF_CF_FRAME_BGOpaSliderLow"):SetText("0")
|
|
getglobal("VCB_BF_CF_FRAME_BGOpaSliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME_BGOpaSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="VCB_BF_CF_FRAME_BFBorderSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_BGOpaSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BORDER_TOOLTIP
|
|
this:SetMinMaxValues(1,2)
|
|
this:SetValue(5)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_CF_FRAME_BFBorderSliderText"):SetText(VCB_COMMON_SLIDER_BORDER)
|
|
getglobal("VCB_BF_CF_FRAME_BFBorderSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_CF_FRAME_BFBorderSliderHigh"):SetText("2")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME_BFBorderSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
<EditBox name="VCB_BF_CF_FRAME_EDITBOX_BORDER" letters="200">
|
|
<Size x="130" y="36" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_BFBorderSlider" relativePoint="BOTTOM">
|
|
<Offset x="1" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="$parent_FONT" inherits="GameFontNormalSmall" text="Custom border path:">
|
|
<Size x="130" y="20" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="VCB_BF_CF_FRAME_EDITBOX_BORDER" relativePoint="TOP">
|
|
<Offset x="0" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.2" top="0" bottom="1.0" />
|
|
</Texture>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnTextChanged>
|
|
VCB_BF_CF_FRAME_EDITBOX_BORDER_CHANGE(this)
|
|
</OnTextChanged>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_COMMON_EDITBOX_CUSTOM_BORDER_PATH)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<FontString inherits="ChatFontNormal" />
|
|
</EditBox>
|
|
<EditBox name="VCB_BF_CF_FRAME_EDITBOX_BACKGROUND" letters="200">
|
|
<Size x="130" y="36" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_EDITBOX_BORDER" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-13" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Custom background path:">
|
|
<Size x="140" y="20" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.2" top="0" bottom="1.0" />
|
|
</Texture>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnTextChanged>
|
|
VCB_BF_CF_FRAME_EDITBOX_BACKGROUND_CHANGE(this)
|
|
</OnTextChanged>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_CF_FRAME_BF_CUSTOM_BACKGROUND_PATH)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<FontString inherits="ChatFontNormal" />
|
|
</EditBox>
|
|
<Slider name="VCB_BF_CF_FRAME_BorderOpaSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME_CHECKBUTTON_IBO" relativePoint="BOTTOM">
|
|
<Offset x="90" y="-13" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BORDER_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(0.5)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_CF_FRAME_BorderOpaSliderText"):SetText(VCB_COMMON_SLIDER_BORDER_OPACITY)
|
|
getglobal("VCB_BF_CF_FRAME_BorderOpaSliderLow"):SetText("0")
|
|
getglobal("VCB_BF_CF_FRAME_BorderOpaSliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME_BorderOpaSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
</Frames>
|
|
</Frame>
|
|
<Button name="VCB_BF_CF_FRAME_previous_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="VCB_BF_CF_FRAME" relativePoint="BOTTOM">
|
|
<Offset x="-50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_COMMON_PAGE_1)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_FONT" inherits="GameFontNormalSmall" text="Page 1 of 2">
|
|
<Size x="100" y="30" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="-15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
<Button name="VCB_BF_CF_FRAME_next_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="VCB_BF_CF_FRAME" relativePoint="BOTTOM">
|
|
<Offset x="50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
-- CF Frame 2
|
|
<Frame name="VCB_BF_CF_FRAME2" hidden="true">
|
|
<Size x="610" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_MENU_BODY" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<FontString name="$parent_FONT1" inherits="GameFontNormal" text="Aura" justifyH="LEFT">
|
|
<Size x="610" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="20" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parent_FONT2" inherits="GameFontNormal" text="Aura Timer" justifyH="LEFT">
|
|
<Size x="610" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="20" y="-300" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnShow>
|
|
VCB_BF_CONSOLIDATED_BUFFFRAME:Show()
|
|
</OnShow>
|
|
<OnHide>
|
|
VCB_BF_CONSOLIDATED_BUFFFRAME:Hide()
|
|
</OnHide>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT1"):SetText(VCB_CAT_AURA)
|
|
getglobal(this:GetName().."_FONT2"):SetText(VCB_CAT_AURA_TIMER)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<Frame name="VCB_BF_CF_FRAME2_BUFF_FRAME">
|
|
<Size x="580" y="260" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Frames>
|
|
-- Checkbutton border
|
|
<CheckButton name="VCB_BF_CF_FRAME2_CHECKBUTTON1" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_CF_FRAME2_CHECKBUTTON1Text"):SetText(VCB_COMMON_BUTTON_ENABLE_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME2_ENABLEBORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Checkbutton aura color
|
|
<CheckButton name="VCB_BF_CF_FRAME2_CHECKBUTTON2" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_CHECKBUTTON1" relativePoint="BOTTOM">
|
|
<Offset x="0" y="5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_BACKGROUND_COLOR_TOOLTIP
|
|
getglobal("VCB_BF_CF_FRAME2_CHECKBUTTON2Text"):SetText(VCB_COMMON_BUTTON_ENABLE_BACKGROUND_COLOR)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME2_ENABLEBGCOLOR()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Checkbutton custom border
|
|
<CheckButton name="VCB_BF_CF_FRAME2_CHECKBUTTON3" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_CHECKBUTTON2" relativePoint="BOTTOM">
|
|
<Offset x="0" y="5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_USE_CUSTOM_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_CF_FRAME2_CHECKBUTTON3Text"):SetText(VCB_COMMON_BUTTON_USE_CUSTOM_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME2_USE_CUSTOMBORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- COLOR PICKER
|
|
<Button name="VCB_BF_CF_FRAME2_Color">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_CHECKBUTTON3" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select border color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_COLOR_BORDERCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "CF_AURA_border", nil, "buffsborder");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_BORDERCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- COLOR PICKER
|
|
<Button name="VCB_BF_CF_FRAME2_Color2">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_Color" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select background color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_COLOR_BACKGROUNDCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "CF_AURA_bg", "CF_AURA_enablebgcolor", "buffsbg");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_BACKGROUNDCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- COLOR PICKER font color
|
|
<Button name="VCB_BF_CF_FRAME2_Color_fontcolor">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_Color2" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select font color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_COLOR_FONTCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "CF_AURA_font", nil, "CFGFont");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_FONTCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- Checkbutton enable font border
|
|
<CheckButton name="VCB_BF_CF_FRAME2_CHECKBUTTON_FBorder" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_Color_fontcolor" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_FONT_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_CF_FRAME2_CHECKBUTTON_FBorderText"):SetText(VCB_COMMON_BUTTON_ENABLE_FONT_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME2_G_ENABLE_BORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Aura padding H Slider
|
|
<Slider name="VCB_BF_CF_FRAME2_AuraPaddingHSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_CF_FRAME2_CHECKBUTTON1" relativePoint="RIGHT">
|
|
<Offset x="155" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_PADDING_H_TOOLTIP
|
|
this:SetMinMaxValues(1,10)
|
|
this:SetValue(2)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_CF_FRAME2_AuraPaddingHSliderText"):SetText(VCB_COMMON_SLIDER_PADDING_H)
|
|
getglobal("VCB_BF_CF_FRAME2_AuraPaddingHSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_CF_FRAME2_AuraPaddingHSliderHigh"):SetText("10")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME2_AuraPaddingHSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura padding Y Slider
|
|
<Slider name="VCB_BF_CF_FRAME2_AuraPaddingVSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_AuraPaddingHSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_PADDING_V_TOOLTIP
|
|
this:SetMinMaxValues(1,10)
|
|
this:SetValue(2)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_CF_FRAME2_AuraPaddingVSliderText"):SetText(VCB_COMMON_SLIDER_PADDING_V)
|
|
getglobal("VCB_BF_CF_FRAME2_AuraPaddingVSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_CF_FRAME2_AuraPaddingVSliderHigh"):SetText("10")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME2_AuraPaddingVSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura font size Slider
|
|
<Slider name="VCB_BF_CF_FRAME2_GFontSizeSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_AuraPaddingVSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_SIZE_TOOLTIP
|
|
this:SetMinMaxValues(1,24)
|
|
this:SetValue(13)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_CF_FRAME2_GFontSizeSliderText"):SetText(VCB_COMMON_SLIDER_FONT_SIZE)
|
|
getglobal("VCB_BF_CF_FRAME2_GFontSizeSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_CF_FRAME2_GFontSizeSliderHigh"):SetText("24")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME2_GFontSizeSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura offset X Slider
|
|
<Slider name="VCB_BF_CF_FRAME2_GFontOffsetXSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_GFontSizeSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OFFSET_X_TOOLTIP
|
|
this:SetMinMaxValues(-28,28)
|
|
this:SetValue(5)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_CF_FRAME2_GFontOffsetXSliderText"):SetText(VCB_COMMON_SLIDER_FONT_OFFSET_X)
|
|
getglobal("VCB_BF_CF_FRAME2_GFontOffsetXSliderLow"):SetText("-28")
|
|
getglobal("VCB_BF_CF_FRAME2_GFontOffsetXSliderHigh"):SetText("28")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME2_GFontOffsetXSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura offset Y Slider
|
|
<Slider name="VCB_BF_CF_FRAME2_GFontOffsetYSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_GFontOffsetXSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OFFSET_Y_TOOLTIP
|
|
this:SetMinMaxValues(-28,28)
|
|
this:SetValue(5)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_CF_FRAME2_GFontOffsetYSliderText"):SetText(VCB_COMMON_SLIDER_FONT_OFFSET_Y)
|
|
getglobal("VCB_BF_CF_FRAME2_GFontOffsetYSliderLow"):SetText("-28")
|
|
getglobal("VCB_BF_CF_FRAME2_GFontOffsetYSliderHigh"):SetText("28")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME2_GFontOffsetYSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Border Slider
|
|
<Slider name="VCB_BF_CF_FRAME2_AuraBorderSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_CF_FRAME2_AuraPaddingHSlider" relativePoint="RIGHT">
|
|
<Offset x="45" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BORDER_TOOLTIP
|
|
this:SetMinMaxValues(1,1)
|
|
this:SetValue(1)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_CF_FRAME2_AuraBorderSliderText"):SetText(VCB_COMMON_SLIDER_BORDER)
|
|
getglobal("VCB_BF_CF_FRAME2_AuraBorderSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_CF_FRAME2_AuraBorderSliderHigh"):SetText("1")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME_AuraBorderSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Edit Box
|
|
<EditBox name="VCB_BF_CF_FRAME2_EDITBOX_BORDER" letters="200">
|
|
<Size x="130" y="36" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_AuraBorderSlider" relativePoint="BOTTOM">
|
|
<Offset x="1" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_FONT" inherits="GameFontNormalSmall" text="Custom border path:">
|
|
<Size x="130" y="20" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.2" top="0" bottom="1.0" />
|
|
</Texture>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<FontString inherits="ChatFontNormal" />
|
|
<Scripts>
|
|
<OnTextChanged>
|
|
VCB_BF_CF_FRAME2_EDITBOX_BORDER_CHANGE(this)
|
|
</OnTextChanged>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_COMMON_EDITBOX_CUSTOM_BORDER_PATH)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</EditBox>
|
|
-- Aura Font Slider
|
|
<Slider name="VCB_BF_CF_FRAME2_GFontSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_EDITBOX_BORDER" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-23" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_TOOLTIP
|
|
this:SetMinMaxValues(1,15)
|
|
this:SetValue(1)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_CF_FRAME2_GFontSliderText"):SetText(VCB_COMMON_SLIDER_FONT)
|
|
getglobal("VCB_BF_CF_FRAME2_GFontSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_CF_FRAME2_GFontSliderHigh"):SetText("15")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME2_GFontSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Font opacity Slider
|
|
<Slider name="VCB_BF_CF_FRAME2_GFontOpacitySlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_GFontSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_CF_FRAME2_GFontOpacitySliderText"):SetText(VCB_COMMON_SLIDER_FONT_OPACITY)
|
|
getglobal("VCB_BF_CF_FRAME2_GFontOpacitySliderLow"):SetText("0")
|
|
getglobal("VCB_BF_CF_FRAME2_GFontOpacitySliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME2_GFontOpacitySliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura BG opacity Slider
|
|
<Slider name="VCB_BF_CF_FRAME2_GBGOpacitySlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_GFontOpacitySlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BACKGROUND_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_CF_FRAME2_GBGOpacitySliderText"):SetText(VCB_COMMON_SLIDER_BACKGROUND_OPACITY)
|
|
getglobal("VCB_BF_CF_FRAME2_GBGOpacitySliderLow"):SetText("0")
|
|
getglobal("VCB_BF_CF_FRAME2_GBGOpacitySliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME2_GBGOpacitySliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Checkbutton Custom font
|
|
<CheckButton name="VCB_BF_CF_FRAME2_CHECKBUTTON_CUSTOMFONT" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_CHECKBUTTON_FBorder" relativePoint="BOTTOM">
|
|
<Offset x="0" y="5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_CUSTOMFONT_TOOLTIP
|
|
getglobal("VCB_BF_CF_FRAME2_CHECKBUTTON_CUSTOMFONTText"):SetText(VCB_COMMON_BUTTON_CUSTOMFONT)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME2_CHECKBUTTON_CUSTOMFONT_CLICK()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<EditBox name="VCB_BF_CF_FRAME2_EDITBOX_CUSTOMFONT" letters="200">
|
|
<Size x="130" y="36" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_CHECKBUTTON_CUSTOMFONT" relativePoint="BOTTOM">
|
|
<Offset x="75" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="$parent_FONT" inherits="GameFontNormalSmall" text="Custom border path:">
|
|
<Size x="130" y="20" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.2" top="0" bottom="1.0" />
|
|
</Texture>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnTextChanged>
|
|
VCB_BF_CF_FRAME2_EDITBOX_CUSTOMFONT_CHANGE(this)
|
|
</OnTextChanged>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_COMMON_EDITBOX_CUSTOMFONT_PATH)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<FontString inherits="ChatFontNormal" />
|
|
</EditBox>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="VCB_BF_CF_FRAME2_TIMER_FRAME">
|
|
<Size x="580" y="70" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_BUFF_FRAME" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Frames>
|
|
-- Checkbutton border
|
|
<CheckButton name="VCB_BF_CF_FRAME2_CHECKBUTTON4" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_FONT_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_CF_FRAME2_CHECKBUTTON4Text"):SetText(VCB_COMMON_BUTTON_ENABLE_FONT_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME2_TIMER_ENABLEBORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- COLOR PICKER
|
|
<Button name="VCB_BF_CF_FRAME2_Color3">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_CF_FRAME2_CHECKBUTTON4" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-3" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select font color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_COLOR_FONTCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "CF_TIMER_font", nil, "buffsfont");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_FONTCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- Aura Timer Font size Slider
|
|
<Slider name="VCB_BF_CF_FRAME2_AuraTimerFontSizeSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_CF_FRAME2_CHECKBUTTON4" relativePoint="RIGHT">
|
|
<Offset x="160" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_SIZE_TOOLTIP
|
|
this:SetMinMaxValues(1,24)
|
|
this:SetValue(10)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_CF_FRAME2_AuraTimerFontSizeSliderText"):SetText(VCB_COMMON_SLIDER_FONT_SIZE)
|
|
getglobal("VCB_BF_CF_FRAME2_AuraTimerFontSizeSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_CF_FRAME2_AuraTimerFontSizeSliderHigh"):SetText("24")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME_AuraTimerFontSizeSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Timer opacity Slider
|
|
<Slider name="VCB_BF_CF_FRAME2_AuraTimerOpacitySlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_CF_FRAME2_AuraTimerFontSizeSlider" relativePoint="RIGHT">
|
|
<Offset x="40" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_CF_FRAME2_AuraTimerOpacitySliderText"):SetText(VCB_COMMON_SLIDER_FONT_OPACITY)
|
|
getglobal("VCB_BF_CF_FRAME2_AuraTimerOpacitySliderLow"):SetText("0")
|
|
getglobal("VCB_BF_CF_FRAME2_AuraTimerOpacitySliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_CF_FRAME_AuraTimerOpacitySliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
</Frames>
|
|
</Frame>
|
|
<Button name="VCB_BF_CF_FRAME2_previous_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset x="-50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_COMMON_PAGE_2)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_FONT" inherits="GameFontNormalSmall" text="Page 2 of 2">
|
|
<Size x="100" y="30" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="-15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
<Button name="VCB_BF_CF_FRAME2_next_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset x="50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_CF_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
-- BF Frame
|
|
<Frame name="VCB_BF_BF_FRAME" hidden="true">
|
|
<Size x="610" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_MENU_BODY" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<FontString name="$parent_FONT1" inherits="GameFontNormal" text="General" justifyH="LEFT">
|
|
<Size x="610" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BF_BF_FRAME" relativePoint="TOPLEFT">
|
|
<Offset x="20" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT1"):SetText(VCB_CAT_GENERAL)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<Frame name="VCB_BF_BF_FRAME_GENERAL">
|
|
<Size x="580" y="290" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="15" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Frames>
|
|
-- Checkbutton vertical mode
|
|
<CheckButton name="VCB_BF_BF_FRAME_CHECKBUTTON1" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BF_BF_FRAME_GENERAL" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_VERTICAL_MODE_TOOLTIP
|
|
getglobal("VCB_BF_BF_FRAME_CHECKBUTTON1Text"):SetText(VCB_COMMON_BUTTON_VERTICAL_MODE)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_BF_FRAME_VERTICAL_MODE()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Checkbutton bg color
|
|
<CheckButton name="VCB_BF_BF_FRAME_CHECKBUTTON2" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_CHECKBUTTON1" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_BACKGROUND_COLOR_TOOLTIP
|
|
getglobal("VCB_BF_BF_FRAME_CHECKBUTTON2Text"):SetText(VCB_COMMON_BUTTON_ENABLE_BACKGROUND_COLOR)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_BF_FRAME_ENABLE_BGCOLOR()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Checkbutton invert buff order
|
|
<CheckButton name="VCB_BF_BF_FRAME_CHECKBUTTON3" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_CHECKBUTTON2" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_INVERT_ORDER_TOOLTIP
|
|
getglobal("VCB_BF_BF_FRAME_CHECKBUTTON3Text"):SetText(VCB_COMMON_BUTTON_INVERT_ORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_BF_FRAME_INVERTBUFFMODE()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- COLOR PICKER font color
|
|
<Button name="VCB_BF_BF_FRAME_Color_fontcolor">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_CHECKBUTTON3" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select font color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_COLOR_FONTCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "BF_GENERAL_font", nil, "BuffGFont");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_FONTCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- Checkbutton enable font border
|
|
<CheckButton name="VCB_BF_BF_FRAME_CHECKBUTTON_FBorder" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_Color_fontcolor" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_FONT_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_BF_FRAME_CHECKBUTTON_FBorderText"):SetText(VCB_COMMON_BUTTON_ENABLE_FONT_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_BF_FRAME_G_ENABLE_BORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Checkbutton invert aura orientation
|
|
<CheckButton name="VCB_BF_BF_FRAME_CHECKBUTTON_IBO" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_CHECKBUTTON_FBorder" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_INVERT_ORIENTATION_TOOLTIP
|
|
getglobal("VCB_BF_BF_FRAME_CHECKBUTTON_IBOText"):SetText(VCB_COMMON_BUTTON_INVERT_ORIENTATION)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_BF_FRAME_INVERT_AURA_ORIENTATION()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Checkbutton Custom font
|
|
<CheckButton name="VCB_BF_BF_FRAME_CHECKBUTTON_CUSTOMFONT" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_CHECKBUTTON_IBO" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_CUSTOMFONT_TOOLTIP
|
|
getglobal("VCB_BF_BF_FRAME_CHECKBUTTON_CUSTOMFONTText"):SetText(VCB_COMMON_BUTTON_CUSTOMFONT)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_BF_FRAME_CHECKBUTTON_CUSTOMFONT_CLICK()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- COLOR PICKER
|
|
<Button name="VCB_BF_BF_FRAME_Color1">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_CHECKBUTTON2" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select background color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_COLOR_BACKGROUNDCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "BF_GENERAL_bg", "BF_GENERAL_enablebgcolor", "BFbg");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_BACKGROUNDCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- Aura Buffs per row Slider
|
|
<Slider name="VCB_BF_BF_FRAME_NumPerRowSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_BF_FRAME_CHECKBUTTON1" relativePoint="RIGHT">
|
|
<Offset x="160" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BUFFS_PER_ROW_TOOLTIP
|
|
this:SetMinMaxValues(5,32)
|
|
this:SetValue(16)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_BF_FRAME_NumPerRowSliderText"):SetText(VCB_COMMON_SLIDER_BUFFS_PER_ROW)
|
|
getglobal("VCB_BF_BF_FRAME_NumPerRowSliderLow"):SetText("5")
|
|
getglobal("VCB_BF_BF_FRAME_NumPerRowSliderHigh"):SetText("32")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_BF_FRAME_NumPerRowSlider_CHANGE(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura padding Slider
|
|
<Slider name="VCB_BF_BF_FRAME_AuraPaddingHSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_NumPerRowSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_PADDING_H_TOOLTIP
|
|
this:SetMinMaxValues(1,10)
|
|
this:SetValue(5)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_BF_FRAME_AuraPaddingHSliderText"):SetText(VCB_COMMON_SLIDER_PADDING_H)
|
|
getglobal("VCB_BF_BF_FRAME_AuraPaddingHSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_BF_FRAME_AuraPaddingHSliderHigh"):SetText("10")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_BF_FRAME_AuraPaddingHChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura padding Slider
|
|
<Slider name="VCB_BF_BF_FRAME_AuraPaddingVSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_AuraPaddingHSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_PADDING_V_TOOLTIP
|
|
this:SetMinMaxValues(1,10)
|
|
this:SetValue(5)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_BF_FRAME_AuraPaddingVSliderText"):SetText(VCB_COMMON_SLIDER_PADDING_V)
|
|
getglobal("VCB_BF_BF_FRAME_AuraPaddingVSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_BF_FRAME_AuraPaddingVSliderHigh"):SetText("10")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_BF_FRAME_AuraPaddingVChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura font size Slider
|
|
<Slider name="VCB_BF_BF_FRAME_GFontSizeSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_AuraPaddingVSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_SIZE_TOOLTIP
|
|
this:SetMinMaxValues(1,24)
|
|
this:SetValue(13)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_BF_FRAME_GFontSizeSliderText"):SetText(VCB_COMMON_SLIDER_FONT_SIZE)
|
|
getglobal("VCB_BF_BF_FRAME_GFontSizeSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_BF_FRAME_GFontSizeSliderHigh"):SetText("24")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_BF_FRAME_GFontSizeSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura offset X Slider
|
|
<Slider name="VCB_BF_BF_FRAME_GFontOffsetXSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_GFontSizeSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OFFSET_X_TOOLTIP
|
|
this:SetMinMaxValues(-28,28)
|
|
this:SetValue(5)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_BF_FRAME_GFontOffsetXSliderText"):SetText(VCB_COMMON_SLIDER_FONT_OFFSET_X)
|
|
getglobal("VCB_BF_BF_FRAME_GFontOffsetXSliderLow"):SetText("-28")
|
|
getglobal("VCB_BF_BF_FRAME_GFontOffsetXSliderHigh"):SetText("28")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_BF_FRAME_GFontOffsetXSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura BGOpa Slider
|
|
<Slider name="VCB_BF_BF_FRAME_BGOpaSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_BF_FRAME_NumPerRowSlider" relativePoint="RIGHT">
|
|
<Offset x="40" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BACKGROUND_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_BF_FRAME_BGOpaSliderText"):SetText(VCB_COMMON_SLIDER_BACKGROUND_OPACITY)
|
|
getglobal("VCB_BF_BF_FRAME_BGOpaSliderLow"):SetText("0")
|
|
getglobal("VCB_BF_BF_FRAME_BGOpaSliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_BF_FRAME_BGOpaSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Scale Slider
|
|
<Slider name="VCB_BF_BF_FRAME_ScaleSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_BGOpaSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_SCALE_TOOLTIP
|
|
this:SetMinMaxValues(0.5,3.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_BF_FRAME_ScaleSliderText"):SetText(VCB_COMMON_SLIDER_SCALE)
|
|
getglobal("VCB_BF_BF_FRAME_ScaleSliderLow"):SetText("0.5")
|
|
getglobal("VCB_BF_BF_FRAME_ScaleSliderHigh"):SetText("3.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_BF_FRAME_ScaleSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Font Slider
|
|
<Slider name="VCB_BF_BF_FRAME_GFontSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_ScaleSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_TOOLTIP
|
|
this:SetMinMaxValues(1,15)
|
|
this:SetValue(1)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_BF_FRAME_GFontSliderText"):SetText(VCB_COMMON_SLIDER_FONT)
|
|
getglobal("VCB_BF_BF_FRAME_GFontSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_BF_FRAME_GFontSliderHigh"):SetText("15")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_BF_FRAME_GFontSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Font opacity Slider
|
|
<Slider name="VCB_BF_BF_FRAME_GFontOpacitySlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_GFontSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_BF_FRAME_GFontOpacitySliderText"):SetText(VCB_COMMON_SLIDER_FONT_OPACITY)
|
|
getglobal("VCB_BF_BF_FRAME_GFontOpacitySliderLow"):SetText("0")
|
|
getglobal("VCB_BF_BF_FRAME_GFontOpacitySliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_BF_FRAME_GFontOpacitySliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura offset Y Slider
|
|
<Slider name="VCB_BF_BF_FRAME_GFontOffsetYSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_GFontOpacitySlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OFFSET_Y_TOOLTIP
|
|
this:SetMinMaxValues(-28,28)
|
|
this:SetValue(5)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_BF_FRAME_GFontOffsetYSliderText"):SetText(VCB_COMMON_SLIDER_FONT_OFFSET_Y)
|
|
getglobal("VCB_BF_BF_FRAME_GFontOffsetYSliderLow"):SetText("-28")
|
|
getglobal("VCB_BF_BF_FRAME_GFontOffsetYSliderHigh"):SetText("28")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_BF_FRAME_GFontOffsetYSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
<EditBox name="VCB_BF_BF_FRAME_EDITBOX_CUSTOMFONT" letters="200">
|
|
<Size x="130" y="36" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_GFontOffsetXSlider" relativePoint="BOTTOM">
|
|
<Offset x="1" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="$parent_FONT" inherits="GameFontNormalSmall" text="Custom border path:">
|
|
<Size x="130" y="20" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.2" top="0" bottom="1.0" />
|
|
</Texture>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnTextChanged>
|
|
VCB_BF_BF_FRAME_EDITBOX_CUSTOMFONT_CHANGE(this)
|
|
</OnTextChanged>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_COMMON_EDITBOX_CUSTOMFONT_PATH)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<FontString inherits="ChatFontNormal" />
|
|
</EditBox>
|
|
</Frames>
|
|
</Frame>
|
|
<Button name="$parent_previous_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset x="-50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_BF_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_PAGE_1)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Page 1 of 2">
|
|
<Size x="100" y="30" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="-15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
<Button name="$parent_next_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset x="50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_BF_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
-- BF Frame 2
|
|
<Frame name="VCB_BF_BF_FRAME2" hidden="true">
|
|
<Size x="610" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_MENU_BODY" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<FontString name="$parentFont1" inherits="GameFontNormal" text="Border" justifyH="LEFT">
|
|
<Size x="610" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="20" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentFont2" inherits="GameFontNormal" text="Aura Timer" justifyH="LEFT">
|
|
<Size x="610" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="20" y="-140" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font1"):SetText(VCB_CAT_BORDER)
|
|
getglobal(this:GetName().."Font2"):SetText(VCB_CAT_AURA_TIMER)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<Frame name="VCB_BF_BF_FRAME_BORDER">
|
|
<Size x="580" y="100" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Frames>
|
|
-- Checkbutton enable border
|
|
<CheckButton name="VCB_BF_BF_FRAME_CHECKBUTTON5" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_BF_FRAME_CHECKBUTTON5Text"):SetText(VCB_COMMON_BUTTON_ENABLE_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_BF_FRAME_ENABLE_BORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Checkbutton use custom border
|
|
<CheckButton name="VCB_BF_BF_FRAME_CHECKBUTTON6" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_CHECKBUTTON5" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_USE_CUSTOM_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_BF_FRAME_CHECKBUTTON6Text"):SetText(VCB_COMMON_BUTTON_USE_CUSTOM_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_BF_FRAME_USE_CUSTOM_BORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- COLOR PICKER
|
|
<Button name="VCB_BF_BF_FRAME_Color4">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_BF_FRAME_CHECKBUTTON5" relativePoint="RIGHT">
|
|
<Offset x="165" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select border color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_COLOR_BORDERCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "BF_BORDER_border", "BF_BORDER_enableborder", "BFborder");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_BORDERCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- Edit Box
|
|
<EditBox name="VCB_BF_BF_FRAME_EDITBOX_BORDER" letters="200">
|
|
<Size x="130" y="36" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_Color4" relativePoint="BOTTOM">
|
|
<Offset x="70" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Custom border path:">
|
|
<Size x="130" y="20" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.2" top="0" bottom="1.0" />
|
|
</Texture>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<FontString inherits="ChatFontNormal" />
|
|
<Scripts>
|
|
<OnTextChanged>
|
|
VCB_BF_BF_FRAME_EDITBOX_BORDERCHANGE(this)
|
|
</OnTextChanged>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_EDITBOX_CUSTOM_BORDER_PATH)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</EditBox>
|
|
-- Aura Border opacity Slider
|
|
<Slider name="VCB_BF_BF_FRAME_BorderOpacitySlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_BF_FRAME_Color4" relativePoint="RIGHT">
|
|
<Offset x="175" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BORDER_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_BF_FRAME_BorderOpacitySliderText"):SetText(VCB_COMMON_SLIDER_BORDER_OPACITY)
|
|
getglobal("VCB_BF_BF_FRAME_BorderOpacitySliderLow"):SetText("0")
|
|
getglobal("VCB_BF_BF_FRAME_BorderOpacitySliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_BF_FRAME_BorderOpacityChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Border Slider
|
|
<Slider name="VCB_BF_BF_FRAME_BorderSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_BorderOpacitySlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BORDER_TOOLTIP
|
|
this:SetMinMaxValues(1,1)
|
|
this:SetValue(1)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_BF_FRAME_BorderSliderText"):SetText(VCB_COMMON_SLIDER_BORDER)
|
|
getglobal("VCB_BF_BF_FRAME_BorderSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_BF_FRAME_BorderSliderHigh"):SetText("1")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_BF_FRAME_BorderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="VCB_BF_BF_FRAME_TIMER">
|
|
<Size x="580" y="70" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_BORDER" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Frames>
|
|
-- Checkbutton border
|
|
<CheckButton name="VCB_BF_BF_FRAME_CHECKBUTTON4" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_FONT_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_BF_FRAME_CHECKBUTTON4Text"):SetText(VCB_COMMON_BUTTON_ENABLE_FONT_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_BF_FRAME_TIMER_ENABLE_BORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- COLOR PICKER
|
|
<Button name="VCB_BF_BF_FRAME_Color2">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_BF_FRAME_CHECKBUTTON4" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-2" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select font color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_COLOR_FONTCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "BF_TIMER_font", nil, "BFfont");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_FONTCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- Aura Font Size Slider
|
|
<Slider name="VCB_BF_BF_FRAME_FontSizeSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_BF_FRAME_CHECKBUTTON4" relativePoint="RIGHT">
|
|
<Offset x="165" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_SIZE_TOOLTIP
|
|
this:SetMinMaxValues(1,24)
|
|
this:SetValue(10)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_BF_FRAME_FontSizeSliderText"):SetText(VCB_COMMON_SLIDER_FONT_SIZE)
|
|
getglobal("VCB_BF_BF_FRAME_FontSizeSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_BF_FRAME_FontSizeSliderHigh"):SetText("24")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_BF_FRAME_FontSizeChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Font opacity Slider
|
|
<Slider name="VCB_BF_BF_FRAME_FontOpacitySlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_BF_FRAME_FontSizeSlider" relativePoint="RIGHT">
|
|
<Offset x="38" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_BF_FRAME_FontOpacitySliderText"):SetText(VCB_COMMON_SLIDER_FONT_OPACITY)
|
|
getglobal("VCB_BF_BF_FRAME_FontOpacitySliderLow"):SetText("0")
|
|
getglobal("VCB_BF_BF_FRAME_FontOpacitySliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_BF_FRAME_FontOpacityChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
</Frames>
|
|
</Frame>
|
|
<Button name="$parent_previous_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset x="-50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_BF_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font"):SetText(VCB_COMMON_PAGE_2)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parentFont" inherits="GameFontNormalSmall" text="Page 2 of 2">
|
|
<Size x="100" y="30" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="-15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
<Button name="$parent_next_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset x="50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_BF_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
-- DBF Frame
|
|
<Frame name="VCB_BF_DBF_FRAME" hidden="true">
|
|
<Size x="610" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_MENU_BODY" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<FontString name="$parent_FONT" inherits="GameFontNormal" text="General" justifyH="LEFT">
|
|
<Size x="610" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="20" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_CAT_GENERAL)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<Frame name="VCB_BF_DBF_FRAME_GENERAL">
|
|
<Size x="580" y="290" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="15" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Frames>
|
|
-- Checkbutton vertical mode
|
|
<CheckButton name="VCB_BF_DBF_FRAME_CHECKBUTTON1" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_VERTICAL_MODE_TOOLTIP
|
|
getglobal("VCB_BF_DBF_FRAME_CHECKBUTTON1Text"):SetText(VCB_COMMON_BUTTON_VERTICAL_MODE)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_DBF_FRAME_VERTICAL_MODE()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Checkbutton bg color
|
|
<CheckButton name="VCB_BF_DBF_FRAME_CHECKBUTTON2" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_CHECKBUTTON1" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_BACKGROUND_COLOR_TOOLTIP
|
|
getglobal("VCB_BF_DBF_FRAME_CHECKBUTTON2Text"):SetText(VCB_COMMON_BUTTON_ENABLE_BACKGROUND_COLOR)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_DBF_FRAME_ENABLE_BGCOLOR()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Checkbutton invert buff order
|
|
<CheckButton name="VCB_BF_DBF_FRAME_CHECKBUTTON3" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_CHECKBUTTON2" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_INVERT_ORDER_TOOLTIP
|
|
getglobal("VCB_BF_DBF_FRAME_CHECKBUTTON3Text"):SetText(VCB_COMMON_BUTTON_INVERT_ORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_DBF_FRAME_INVERTBUFFORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- COLOR PICKER font color
|
|
<Button name="VCB_BF_DBF_FRAME_Color_fontcolor">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_CHECKBUTTON3" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parentFont" inherits="GameFontNormalSmall" text="Select font color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font"):SetText(VCB_COMMON_COLOR_FONTCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "DBF_GENERAL_font", nil, "DebuffGFont");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_FONTCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- Checkbutton enable font border
|
|
<CheckButton name="VCB_BF_DBF_FRAME_CHECKBUTTON_FBorder" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_Color_fontcolor" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_FONT_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_DBF_FRAME_CHECKBUTTON_FBorderText"):SetText(VCB_COMMON_BUTTON_ENABLE_FONT_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_DBF_FRAME_G_ENABLE_BORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Checkbutton invert aura orientation
|
|
<CheckButton name="VCB_BF_DBF_FRAME_CHECKBUTTON_IBO" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_CHECKBUTTON_FBorder" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_INVERT_ORIENTATION_TOOLTIP
|
|
getglobal("VCB_BF_DBF_FRAME_CHECKBUTTON_IBOText"):SetText(VCB_COMMON_BUTTON_INVERT_ORIENTATION)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_DBF_FRAME_INVERT_AURA_ORIENTATION()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- COLOR PICKER
|
|
<Button name="VCB_BF_DBF_FRAME_Color1">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_CHECKBUTTON2" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select background color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_COLOR_BACKGROUNDCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "DBF_GENERAL_bg", "DBF_GENERAL_enablebgcolor", "DebuffBG");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_BACKGROUNDCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- Aura Buffs per row Slider
|
|
<Slider name="VCB_BF_DBF_FRAME_NumPerRowSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_DBF_FRAME_CHECKBUTTON1" relativePoint="RIGHT">
|
|
<Offset x="160" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BUFFS_PER_ROW_TOOLTIP
|
|
this:SetMinMaxValues(5,16)
|
|
this:SetValue(16)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_DBF_FRAME_NumPerRowSliderText"):SetText(VCB_COMMON_SLIDER_BUFFS_PER_ROW)
|
|
getglobal("VCB_BF_DBF_FRAME_NumPerRowSliderLow"):SetText("5")
|
|
getglobal("VCB_BF_DBF_FRAME_NumPerRowSliderHigh"):SetText("16")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_DBF_FRAME_NumPerRowSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura padding h Slider
|
|
<Slider name="VCB_BF_DBF_FRAME_AuraPaddingHSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_NumPerRowSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_PADDING_H_TOOLTIP
|
|
this:SetMinMaxValues(1,10)
|
|
this:SetValue(2)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_DBF_FRAME_AuraPaddingHSliderText"):SetText(VCB_COMMON_SLIDER_PADDING_H)
|
|
getglobal("VCB_BF_DBF_FRAME_AuraPaddingHSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_DBF_FRAME_AuraPaddingHSliderHigh"):SetText("10")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_DBF_FRAME_AuraPaddingHSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura padding v Slider
|
|
<Slider name="VCB_BF_DBF_FRAME_AuraPaddingVSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_AuraPaddingHSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_PADDING_V_TOOLTIP
|
|
this:SetMinMaxValues(1,10)
|
|
this:SetValue(2)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_DBF_FRAME_AuraPaddingVSliderText"):SetText(VCB_COMMON_SLIDER_PADDING_V)
|
|
getglobal("VCB_BF_DBF_FRAME_AuraPaddingVSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_DBF_FRAME_AuraPaddingVSliderHigh"):SetText("10")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_DBF_FRAME_AuraPaddingVSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura font size Slider
|
|
<Slider name="VCB_BF_DBF_FRAME_GFontSizeSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_AuraPaddingVSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_SIZE_TOOLTIP
|
|
this:SetMinMaxValues(1,24)
|
|
this:SetValue(13)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_DBF_FRAME_GFontSizeSliderText"):SetText(VCB_COMMON_SLIDER_FONT_SIZE)
|
|
getglobal("VCB_BF_DBF_FRAME_GFontSizeSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_DBF_FRAME_GFontSizeSliderHigh"):SetText("24")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_DBF_FRAME_GFontSizeSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura offset X Slider
|
|
<Slider name="VCB_BF_DBF_FRAME_GFontOffsetXSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_GFontSizeSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OFFSET_Y_TOOLTIP
|
|
this:SetMinMaxValues(-28,28)
|
|
this:SetValue(5)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_DBF_FRAME_GFontOffsetXSliderText"):SetText(VCB_COMMON_SLIDER_FONT_OFFSET_Y)
|
|
getglobal("VCB_BF_DBF_FRAME_GFontOffsetXSliderLow"):SetText("-28")
|
|
getglobal("VCB_BF_DBF_FRAME_GFontOffsetXSliderHigh"):SetText("28")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_DBF_FRAME_GFontOffsetXSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura BGOpa Slider
|
|
<Slider name="VCB_BF_DBF_FRAME_BGOpaSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_DBF_FRAME_NumPerRowSlider" relativePoint="RIGHT">
|
|
<Offset x="40" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BACKGROUND_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_DBF_FRAME_BGOpaSliderText"):SetText(VCB_COMMON_SLIDER_BACKGROUND_OPACITY)
|
|
getglobal("VCB_BF_DBF_FRAME_BGOpaSliderLow"):SetText("0")
|
|
getglobal("VCB_BF_DBF_FRAME_BGOpaSliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_DBF_FRAME_BGOpaSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Scale Slider
|
|
<Slider name="VCB_BF_DBF_FRAME_ScaleSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_BGOpaSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_SCALE_TOOLTIP
|
|
this:SetMinMaxValues(0.5,2.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_DBF_FRAME_ScaleSliderText"):SetText(VCB_COMMON_SLIDER_SCALE)
|
|
getglobal("VCB_BF_DBF_FRAME_ScaleSliderLow"):SetText("0.5")
|
|
getglobal("VCB_BF_DBF_FRAME_ScaleSliderHigh"):SetText("2.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_DBF_FRAME_ScaleSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura font Slider
|
|
<Slider name="VCB_BF_DBF_FRAME_GFontSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_ScaleSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_TOOLTIP
|
|
this:SetMinMaxValues(1,15)
|
|
this:SetValue(1)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_DBF_FRAME_GFontSliderText"):SetText(VCB_COMMON_SLIDER_FONT)
|
|
getglobal("VCB_BF_DBF_FRAME_GFontSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_DBF_FRAME_GFontSliderHigh"):SetText("15")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_DBF_FRAME_GFontSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura font opacity Slider
|
|
<Slider name="VCB_BF_DBF_FRAME_GFontOpacitySlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_GFontSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_DBF_FRAME_GFontOpacitySliderText"):SetText(VCB_COMMON_SLIDER_FONT_OPACITY)
|
|
getglobal("VCB_BF_DBF_FRAME_GFontOpacitySliderLow"):SetText("0")
|
|
getglobal("VCB_BF_DBF_FRAME_GFontOpacitySliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_DBF_FRAME_GFontOpacitySliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura offset Y Slider
|
|
<Slider name="VCB_BF_DBF_FRAME_GFontOffsetYSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_GFontOpacitySlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OFFSET_Y_TOOLTIP
|
|
this:SetMinMaxValues(-28,28)
|
|
this:SetValue(5)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_DBF_FRAME_GFontOffsetYSliderText"):SetText(VCB_COMMON_SLIDER_FONT_OFFSET_Y)
|
|
getglobal("VCB_BF_DBF_FRAME_GFontOffsetYSliderLow"):SetText("-28")
|
|
getglobal("VCB_BF_DBF_FRAME_GFontOffsetYSliderHigh"):SetText("28")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_DBF_FRAME_GFontOffsetYSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Checkbutton Custom font
|
|
<CheckButton name="VCB_BF_DBF_FRAME_CHECKBUTTON_CUSTOMFONT" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_CHECKBUTTON_IBO" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_CUSTOMFONT_TOOLTIP
|
|
getglobal("VCB_BF_DBF_FRAME_CHECKBUTTON_CUSTOMFONTText"):SetText(VCB_COMMON_BUTTON_CUSTOMFONT)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_DBF_FRAME_CHECKBUTTON_CUSTOMFONT_CLICK()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<EditBox name="VCB_BF_DBF_FRAME_EDITBOX_CUSTOMFONT" letters="200">
|
|
<Size x="130" y="36" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_GFontOffsetXSlider" relativePoint="BOTTOM">
|
|
<Offset x="1" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="$parent_FONT" inherits="GameFontNormalSmall" text="Custom border path:">
|
|
<Size x="130" y="20" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.2" top="0" bottom="1.0" />
|
|
</Texture>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnTextChanged>
|
|
VCB_BF_DBF_FRAME_EDITBOX_CUSTOMFONT_CHANGE(this)
|
|
</OnTextChanged>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_COMMON_EDITBOX_CUSTOMFONT_PATH)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<FontString inherits="ChatFontNormal" />
|
|
</EditBox>
|
|
</Frames>
|
|
</Frame>
|
|
<Button name="VCB_BF_DBF_FRAME_previous_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset x="-50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_DBF_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font"):SetText(VCB_COMMON_PAGE_1)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parentFont" inherits="GameFontNormalSmall" text="Page 1 of 2">
|
|
<Size x="100" y="30" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="-15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
<Button name="VCB_BF_DBF_FRAME_next_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset x="50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_DBF_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
-- DBF Frame 2
|
|
<Frame name="VCB_BF_DBF_FRAME2" hidden="true">
|
|
<Size x="610" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_MENU_BODY" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<FontString name="$parentFont1" inherits="GameFontNormal" text="Border" justifyH="LEFT">
|
|
<Size x="610" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="20" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentFont2" inherits="GameFontNormal" text="Aura Timer" justifyH="LEFT">
|
|
<Size x="610" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="20" y="-145" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font1"):SetText(VCB_CAT_BORDER)
|
|
getglobal(this:GetName().."Font2"):SetText(VCB_CAT_AURA_TIMER)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<Frame name="VCB_BF_DBF_FRAME_BORDER">
|
|
<Size x="580" y="100" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Frames>
|
|
-- Checkbutton enable border
|
|
<CheckButton name="VCB_BF_DBF_FRAME_CHECKBUTTON5" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_DBF_FRAME_CHECKBUTTON5Text"):SetText(VCB_COMMON_BUTTON_ENABLE_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_DBF_FRAME_ENABLE_BORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Checkbutton custom border
|
|
<CheckButton name="VCB_BF_DBF_FRAME_CHECKBUTTON6" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_CHECKBUTTON5" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_USE_CUSTOM_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_DBF_FRAME_CHECKBUTTON6Text"):SetText(VCB_COMMON_BUTTON_USE_CUSTOM_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_DBF_FRAME_USE_CUSTOM_BORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Edit Box
|
|
<EditBox name="VCB_BF_DBF_FRAME_EDITBOX_BORDER" letters="200">
|
|
<Size x="130" y="36" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_DBF_FRAME_CHECKBUTTON5" relativePoint="RIGHT">
|
|
<Offset x="175" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_FONT" inherits="GameFontNormalSmall" text="Custom border path:">
|
|
<Size x="130" y="20" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.2" top="0" bottom="1.0" />
|
|
</Texture>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<FontString inherits="ChatFontNormal" />
|
|
<Scripts>
|
|
<OnTextChanged>
|
|
VCB_BF_DBF_FRAME_EDITBOX_BORDER_CHANGE(this)
|
|
</OnTextChanged>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_COMMON_EDITBOX_CUSTOM_BORDER_PATH)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</EditBox>
|
|
-- Aura Border Slider
|
|
<Slider name="VCB_BF_DBF_FRAME_BorderSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_DBF_FRAME_EDITBOX_BORDER" relativePoint="RIGHT">
|
|
<Offset x="50" y="10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BORDER_TOOLTIP
|
|
this:SetMinMaxValues(1,1)
|
|
this:SetValue(1)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_DBF_FRAME_BorderSliderText"):SetText(VCB_COMMON_SLIDER_BORDER)
|
|
getglobal("VCB_BF_DBF_FRAME_BorderSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_DBF_FRAME_BorderSliderHigh"):SetText("1")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_DBF_FRAME_BorderSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Border opacity Slider
|
|
<Slider name="VCB_BF_DBF_FRAME_BorderOpacitySlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_BorderSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-25" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BORDER_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_DBF_FRAME_BorderOpacitySliderText"):SetText(VCB_COMMON_SLIDER_BORDER_OPACITY)
|
|
getglobal("VCB_BF_DBF_FRAME_BorderOpacitySliderLow"):SetText("0")
|
|
getglobal("VCB_BF_DBF_FRAME_BorderOpacitySliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_DBF_FRAME_BorderOpacitySliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- COLOR PICKER NONE
|
|
<Button name="VCB_BF_DBF_FRAME_Color_NONE">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_CHECKBUTTON6" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-3" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parentFont" inherits="GameFontNormalSmall" text="None" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font"):SetText(VCB_DBF_FRAME_COLOR_NONE)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "DBF_BORDER_none", "DBF_BORDER_enableborder", "DebuffBorderColor");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_DBF_FRAME_COLOR_NONE_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- COLOR PICKER POISON
|
|
<Button name="VCB_BF_DBF_FRAME_Color_POISON">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_DBF_FRAME_Color_NONE" relativePoint="RIGHT">
|
|
<Offset x="55" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parentFont" inherits="GameFontNormalSmall" text="Poison" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font"):SetText(VCB_DBF_FRAME_COLOR_POISON)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "DBF_BORDER_poison", "DBF_BORDER_enableborder", "DebuffBorderColor");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_DBF_FRAME_COLOR_POISON_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- COLOR PICKER MAGIC
|
|
<Button name="VCB_BF_DBF_FRAME_Color_MAGIC">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_DBF_FRAME_Color_POISON" relativePoint="RIGHT">
|
|
<Offset x="55" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parentFont" inherits="GameFontNormalSmall" text="Magic" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font"):SetText(VCB_DBF_FRAME_COLOR_MAGIC)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "DBF_BORDER_magic", "DBF_BORDER_enableborder", "DebuffBorderColor");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_DBF_FRAME_COLOR_MAGIC_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- COLOR PICKER CURSE
|
|
<Button name="VCB_BF_DBF_FRAME_Color_CURSE">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_DBF_FRAME_Color_MAGIC" relativePoint="RIGHT">
|
|
<Offset x="55" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parentFont" inherits="GameFontNormalSmall" text="Curse" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font"):SetText(VCB_DBF_FRAME_COLOR_CURSE)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "DBF_BORDER_curse", "DBF_BORDER_enableborder", "DebuffBorderColor");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_DBF_FRAME_COLOR_CURSE_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- COLOR PICKER DISEASE
|
|
<Button name="VCB_BF_DBF_FRAME_Color_DISEASE">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_DBF_FRAME_Color_CURSE" relativePoint="RIGHT">
|
|
<Offset x="55" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parentFont" inherits="GameFontNormalSmall" text="Disease" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font"):SetText(VCB_DBF_FRAME_COLOR_DISEASE)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "DBF_BORDER_disease", "DBF_BORDER_enableborder", "DebuffBorderColor");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_DBF_FRAME_COLOR_DISEASE_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="VCB_BF_DBF_FRAME_TIMER">
|
|
<Size x="580" y="70" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_BORDER" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-35" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Frames>
|
|
-- Checkbutton border
|
|
<CheckButton name="VCB_BF_DBF_FRAME_CHECKBUTTON4" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_FONT_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_DBF_FRAME_CHECKBUTTON4Text"):SetText(VCB_COMMON_BUTTON_ENABLE_FONT_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_DBF_FRAME_ENABLE_FONTBORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- COLOR PICKER
|
|
<Button name="VCB_BF_DBF_FRAME_Color2">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_DBF_FRAME_CHECKBUTTON4" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-3" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parentFont" inherits="GameFontNormalSmall" text="Select font color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font"):SetText(VCB_COMMON_COLOR_FONTCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "DBF_TIMER_font", nil, "DebuffFont");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_FONTCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- Aura Font Size Slider
|
|
<Slider name="VCB_BF_DBF_FRAME_FontSizeSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_DBF_FRAME_CHECKBUTTON4" relativePoint="RIGHT">
|
|
<Offset x="160" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_SIZE_TOOLTIP
|
|
this:SetMinMaxValues(1,24)
|
|
this:SetValue(10)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_DBF_FRAME_FontSizeSliderText"):SetText(VCB_COMMON_SLIDER_FONT_SIZE)
|
|
getglobal("VCB_BF_DBF_FRAME_FontSizeSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_DBF_FRAME_FontSizeSliderHigh"):SetText("24")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_DBF_FRAME_FontSizeSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Font Opacity Slider
|
|
<Slider name="VCB_BF_DBF_FRAME_FontOpacitySlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_DBF_FRAME_FontSizeSlider" relativePoint="RIGHT">
|
|
<Offset x="40" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_DBF_FRAME_FontOpacitySliderText"):SetText(VCB_COMMON_SLIDER_FONT_OPACITY)
|
|
getglobal("VCB_BF_DBF_FRAME_FontOpacitySliderLow"):SetText("0")
|
|
getglobal("VCB_BF_DBF_FRAME_FontOpacitySliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_DBF_FRAME_FontOpacitySliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
</Frames>
|
|
</Frame>
|
|
<Button name="VCB_BF_DBF_FRAME2_previous_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset x="-50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_DBF_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font"):SetText(VCB_COMMON_PAGE_2)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parentFont" inherits="GameFontNormalSmall" text="Page 2 of 2">
|
|
<Size x="100" y="30" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="-15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
<Button name="VCB_BF_DBF_FRAME2_next_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset x="50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_DBF_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
-- Weapon Frame
|
|
<Frame name="VCB_BF_WP_FRAME" hidden="true">
|
|
<Size x="610" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_MENU_BODY" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<FontString name="$parent_FONT" inherits="GameFontNormal" text="General" justifyH="LEFT">
|
|
<Size x="610" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="20" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_CAT_GENERAL)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<Frame name="VCB_BF_WP_FRAME_GENERAL">
|
|
<Size x="580" y="245" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="15" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Frames>
|
|
-- Checkbutton vertical mode
|
|
<CheckButton name="VCB_BF_WP_FRAME_CHECKBUTTON1" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_VERTICAL_MODE_TOOLTIP
|
|
getglobal("VCB_BF_WP_FRAME_CHECKBUTTON1Text"):SetText(VCB_COMMON_BUTTON_VERTICAL_MODE)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_WP_FRAME_VERTICAL_MODE()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Checkbutton bg color
|
|
<CheckButton name="VCB_BF_WP_FRAME_CHECKBUTTON2" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_CHECKBUTTON1" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_BACKGROUND_COLOR_TOOLTIP
|
|
getglobal("VCB_BF_WP_FRAME_CHECKBUTTON2Text"):SetText(VCB_COMMON_BUTTON_ENABLE_BACKGROUND_COLOR)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_WP_FRAME_ENABLEBGCOLOR()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Checkbutton attach to buff frame
|
|
<CheckButton name="VCB_BF_WP_FRAME_CHECKBUTTON7" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_CHECKBUTTON2" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_WP_FRAME_ATTACH_TO_BF_FRAME_TOOLTIP
|
|
getglobal("VCB_BF_WP_FRAME_CHECKBUTTON7Text"):SetText(VCB_WP_FRAME_ATTACH_TO_BF_FRAME)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_WP_FRAME_ATTACH()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- COLOR PICKER
|
|
<Button name="VCB_BF_WP_FRAME_Color1">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_CHECKBUTTON2" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select background color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_COLOR_BACKGROUNDCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "WP_GENERAL_bg", "WP_GENERAL_enablebgcolor", "WeaponBG");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_BACKGROUNDCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- COLOR PICKER
|
|
<Button name="VCB_BF_WP_FRAME_Color5">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_CHECKBUTTON7" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parentFont" inherits="GameFontNormalSmall" text="Select font color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font"):SetText(VCB_COMMON_COLOR_FONTCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "WP_GENERAL_font", nil, "WPFont");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_FONTCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- Checkbutton enable font border
|
|
<CheckButton name="VCB_BF_WP_FRAME_CHECKBUTTON8" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_Color5" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_FONT_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_WP_FRAME_CHECKBUTTON8Text"):SetText(VCB_COMMON_BUTTON_ENABLE_FONT_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_WP_FRAME_ENABLE_FONT_BORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Aura padding Slider
|
|
<Slider name="VCB_BF_WP_FRAME_AuraPaddingHSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_WP_FRAME_CHECKBUTTON1" relativePoint="RIGHT">
|
|
<Offset x="160" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_PADDING_H_TOOLTIP
|
|
this:SetMinMaxValues(1,10)
|
|
this:SetValue(5)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_WP_FRAME_AuraPaddingHSliderText"):SetText(VCB_COMMON_SLIDER_PADDING_H)
|
|
getglobal("VCB_BF_WP_FRAME_AuraPaddingHSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_WP_FRAME_AuraPaddingHSliderHigh"):SetText("10")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_WP_FRAME_AuraPaddingHSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura padding V Slider
|
|
<Slider name="VCB_BF_WP_FRAME_AuraPaddingVSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_AuraPaddingHSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_PADDING_H_TOOLTIP
|
|
this:SetMinMaxValues(1,10)
|
|
this:SetValue(5)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_WP_FRAME_AuraPaddingVSliderText"):SetText(VCB_COMMON_SLIDER_PADDING_H)
|
|
getglobal("VCB_BF_WP_FRAME_AuraPaddingVSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_WP_FRAME_AuraPaddingVSliderHigh"):SetText("10")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_WP_FRAME_AuraPaddingVSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Fontsize Slider
|
|
<Slider name="VCB_BF_WP_FRAME_FontSizeSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_AuraPaddingVSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_SIZE_TOOLTIP
|
|
this:SetMinMaxValues(1,24)
|
|
this:SetValue(10)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_WP_FRAME_FontSizeSliderText"):SetText(VCB_COMMON_SLIDER_FONT_SIZE)
|
|
getglobal("VCB_BF_WP_FRAME_FontSizeSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_WP_FRAME_FontSizeSliderHigh"):SetText("24")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_WP_FRAME_FontSizeSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Offset X Slider
|
|
<Slider name="VCB_BF_WP_FRAME_OffsetXSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_FontSizeSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OFFSET_X_TOOLTIP
|
|
this:SetMinMaxValues(-28,28)
|
|
this:SetValue(-5)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_WP_FRAME_OffsetXSliderText"):SetText(VCB_COMMON_SLIDER_FONT_OFFSET_X)
|
|
getglobal("VCB_BF_WP_FRAME_OffsetXSliderLow"):SetText("-28")
|
|
getglobal("VCB_BF_WP_FRAME_OffsetXSliderHigh"):SetText("28")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_WP_FRAME_OffsetXSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Offset Y Slider
|
|
<Slider name="VCB_BF_WP_FRAME_OffsetYSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_OffsetXSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OFFSET_Y_TOOLTIP
|
|
this:SetMinMaxValues(-28,28)
|
|
this:SetValue(-5)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_WP_FRAME_OffsetYSliderText"):SetText(VCB_COMMON_SLIDER_FONT_OFFSET_Y)
|
|
getglobal("VCB_BF_WP_FRAME_OffsetYSliderLow"):SetText("-28")
|
|
getglobal("VCB_BF_WP_FRAME_OffsetYSliderHigh"):SetText("28")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_WP_FRAME_OffsetYSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura BGOpa Slider
|
|
<Slider name="VCB_BF_WP_FRAME_BGOpaSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_WP_FRAME_AuraPaddingHSlider" relativePoint="RIGHT">
|
|
<Offset x="40" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BACKGROUND_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_WP_FRAME_BGOpaSliderText"):SetText(VCB_COMMON_SLIDER_BACKGROUND_OPACITY)
|
|
getglobal("VCB_BF_WP_FRAME_BGOpaSliderLow"):SetText("0")
|
|
getglobal("VCB_BF_WP_FRAME_BGOpaSliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_WP_FRAME_BGOpaSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Scale Slider
|
|
<Slider name="VCB_BF_WP_FRAME_ScaleSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_BGOpaSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_SCALE_TOOLTIP
|
|
this:SetMinMaxValues(0.5,2.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_WP_FRAME_ScaleSliderText"):SetText(VCB_COMMON_SLIDER_SCALE)
|
|
getglobal("VCB_BF_WP_FRAME_ScaleSliderLow"):SetText("0.5")
|
|
getglobal("VCB_BF_WP_FRAME_ScaleSliderHigh"):SetText("2.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_WP_FRAME_ScaleSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Font Slider
|
|
<Slider name="VCB_BF_WP_FRAME_FontSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_ScaleSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_TOOLTIP
|
|
this:SetMinMaxValues(1,15)
|
|
this:SetValue(1)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_WP_FRAME_FontSliderText"):SetText(VCB_COMMON_SLIDER_FONT)
|
|
getglobal("VCB_BF_WP_FRAME_FontSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_WP_FRAME_FontSliderHigh"):SetText("15")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_WP_FRAME_FontSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Font opacity Slider
|
|
<Slider name="VCB_BF_WP_FRAME_FontOpacitySlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_FontSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_WP_FRAME_FontOpacitySliderText"):SetText(VCB_COMMON_SLIDER_FONT_OPACITY)
|
|
getglobal("VCB_BF_WP_FRAME_FontOpacitySliderLow"):SetText("0")
|
|
getglobal("VCB_BF_WP_FRAME_FontOpacitySliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_WP_FRAME_FontOpacitySliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Checkbutton Custom font
|
|
<CheckButton name="VCB_BF_WP_FRAME_CHECKBUTTON_CUSTOMFONT" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_CHECKBUTTON8" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_CUSTOMFONT_TOOLTIP
|
|
getglobal("VCB_BF_WP_FRAME_CHECKBUTTON_CUSTOMFONTText"):SetText(VCB_COMMON_BUTTON_CUSTOMFONT)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_WP_FRAME_CHECKBUTTON_CUSTOMFONT_CLICK()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="VCB_BF_WP_FRAME_CHECKBUTTON_INVERTORDER" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_CHECKBUTTON_CUSTOMFONT" relativePoint="BOTTOM">
|
|
<Offset x="0" y="4" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_INVERT_ORDER_TOOLTIP
|
|
getglobal("VCB_BF_WP_FRAME_CHECKBUTTON_INVERTORDERText"):SetText(VCB_COMMON_BUTTON_INVERT_ORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_SAVE["WP_GENERAL_invert"] = not VCB_SAVE["WP_GENERAL_invert"]
|
|
VCB_BF_WEAPON_BUTTON_OnEvent(false)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<EditBox name="VCB_BF_WP_FRAME_EDITBOX_CUSTOMFONT" letters="200">
|
|
<Size x="130" y="36" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_FontOpacitySlider" relativePoint="BOTTOM">
|
|
<Offset x="1" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="$parent_FONT" inherits="GameFontNormalSmall" text="Custom border path:">
|
|
<Size x="130" y="20" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.2" top="0" bottom="1.0" />
|
|
</Texture>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnTextChanged>
|
|
VCB_BF_WP_FRAME_EDITBOX_CUSTOMFONT_CHANGE(this)
|
|
</OnTextChanged>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_COMMON_EDITBOX_CUSTOMFONT_PATH)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<FontString inherits="ChatFontNormal" />
|
|
</EditBox>
|
|
</Frames>
|
|
</Frame>
|
|
<Button name="VCB_BF_WP_FRAME_previous_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset x="-50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_WP_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font"):SetText(VCB_COMMON_PAGE_1)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parentFont" inherits="GameFontNormalSmall" text="Page 1 of 2">
|
|
<Size x="100" y="30" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="-15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
<Button name="VCB_BF_WP_FRAME_next_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset x="50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_WP_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
-- Weapon Frame 2
|
|
<Frame name="VCB_BF_WP_FRAME2" hidden="true">
|
|
<Size x="610" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_MENU_BODY" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<FontString name="$parentFont1" inherits="GameFontNormal" text="Border" justifyH="LEFT">
|
|
<Size x="610" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="20" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentFont2" inherits="GameFontNormal" text="Aura Timer" justifyH="LEFT">
|
|
<Size x="610" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="20" y="-145" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font1"):SetText(VCB_CAT_BORDER)
|
|
getglobal(this:GetName().."Font2"):SetText(VCB_CAT_AURA_TIMER)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<Frame name="VCB_BF_WP_FRAME_BORDER">
|
|
<Size x="580" y="105" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Frames>
|
|
-- Checkbutton enable border
|
|
<CheckButton name="VCB_BF_WP_FRAME_CHECKBUTTON5" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_WP_FRAME_CHECKBUTTON5Text"):SetText(VCB_COMMON_BUTTON_ENABLE_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_WP_FRAME_ENABLE_BORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Checkbutton use custom border
|
|
<CheckButton name="VCB_BF_WP_FRAME_CHECKBUTTON6" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_CHECKBUTTON5" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_USE_CUSTOM_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_WP_FRAME_CHECKBUTTON6Text"):SetText(VCB_COMMON_BUTTON_USE_CUSTOM_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_WP_FRAME_USE_CUSTOM_BORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- COLOR PICKER
|
|
<Button name="VCB_BF_WP_FRAME_Color4">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_WP_FRAME_CHECKBUTTON5" relativePoint="RIGHT">
|
|
<Offset x="165" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select border color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_COLOR_BORDERCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "WP_BORDER_border", "WP_BORDER_enableborder", "WPBorder");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_BORDERCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- Edit Box
|
|
<EditBox name="VCB_BF_WP_FRAME_EDITBOX_BORDER" letters="200">
|
|
<Size x="130" y="36" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_Color4" relativePoint="BOTTOM">
|
|
<Offset x="70" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_FONT" inherits="GameFontNormalSmall" text="Custom border path:">
|
|
<Size x="130" y="20" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.2" top="0" bottom="1.0" />
|
|
</Texture>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
|
|
<Size x="90" y="36" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<FontString inherits="ChatFontNormal" />
|
|
<Scripts>
|
|
<OnTextChanged>
|
|
VCB_BF_WP_FRAME_EDITBOX_BORDER_CHANGE(this)
|
|
</OnTextChanged>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_COMMON_EDITBOX_CUSTOM_BORDER_PATH)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</EditBox>
|
|
-- Aura Border Slider
|
|
<Slider name="VCB_BF_WP_FRAME_BorderSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_WP_FRAME_Color4" relativePoint="RIGHT">
|
|
<Offset x="175" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BORDER_TOOLTIP
|
|
this:SetMinMaxValues(1,1)
|
|
this:SetValue(1)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_WP_FRAME_BorderSliderText"):SetText(VCB_COMMON_SLIDER_BORDER)
|
|
getglobal("VCB_BF_WP_FRAME_BorderSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_WP_FRAME_BorderSliderHigh"):SetText("1")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_WP_FRAME_BorderSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Border opacity Slider
|
|
<Slider name="VCB_BF_WP_FRAME_BorderOpacitySlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_BorderSlider" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_BORDER_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_WP_FRAME_BorderOpacitySliderText"):SetText(VCB_COMMON_SLIDER_BORDER_OPACITY)
|
|
getglobal("VCB_BF_WP_FRAME_BorderOpacitySliderLow"):SetText("0")
|
|
getglobal("VCB_BF_WP_FRAME_BorderOpacitySliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_WP_FRAME_BorderOpacitySliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="VCB_BF_WP_FRAME_TIMER">
|
|
<Size x="580" y="70" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_BORDER" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Frames>
|
|
-- Checkbutton border
|
|
<CheckButton name="VCB_BF_WP_FRAME_CHECKBUTTON4" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BF_WP_FRAME_TIMER" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_COMMON_BUTTON_ENABLE_FONT_BORDER_TOOLTIP
|
|
getglobal("VCB_BF_WP_FRAME_CHECKBUTTON4Text"):SetText(VCB_COMMON_BUTTON_ENABLE_FONT_BORDER)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_WP_FRAME_TIMER_ENABLE_BORDER()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- COLOR PICKER
|
|
<Button name="VCB_BF_WP_FRAME_Color2">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_WP_FRAME_CHECKBUTTON4" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-3" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select font color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(VCB_COMMON_COLOR_FONTCOLOR)
|
|
getglobal(this:GetName().."_SwatchBg").r = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").g = 1.0;
|
|
getglobal(this:GetName().."_SwatchBg").b = 1.0;
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_OpenColorPicker(this, "WP_TIMER_font", nil, "WPTimer");
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
|
GameTooltip:SetText(VCB_COMMON_COLOR_FONTCOLOR_TOOLTIP, nil, nil, nil, nil, 1);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
|
|
GameTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch" />
|
|
</Button>
|
|
-- Aura Font size Slider
|
|
<Slider name="VCB_BF_WP_FRAME_TIMER_FontSizeSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_WP_FRAME_CHECKBUTTON4" relativePoint="RIGHT">
|
|
<Offset x="165" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_SIZE_TOOLTIP
|
|
this:SetMinMaxValues(1,24)
|
|
this:SetValue(1)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_WP_FRAME_TIMER_FontSizeSliderText"):SetText(VCB_COMMON_SLIDER_FONT_SIZE)
|
|
getglobal("VCB_BF_WP_FRAME_TIMER_FontSizeSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_WP_FRAME_TIMER_FontSizeSliderHigh"):SetText("24")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_WP_FRAME_TIMER_FontSizeSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
-- Aura Font opacity Slider
|
|
<Slider name="VCB_BF_WP_FRAME_TIMER_FontOpacitySlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_WP_FRAME_TIMER_FontSizeSlider" relativePoint="RIGHT">
|
|
<Offset x="40" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_COMMON_SLIDER_FONT_OPACITY_TOOLTIP
|
|
this:SetMinMaxValues(0,1.0)
|
|
this:SetValue(1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal("VCB_BF_WP_FRAME_TIMER_FontOpacitySliderText"):SetText(VCB_COMMON_SLIDER_FONT_OPACITY)
|
|
getglobal("VCB_BF_WP_FRAME_TIMER_FontOpacitySliderLow"):SetText("0")
|
|
getglobal("VCB_BF_WP_FRAME_TIMER_FontOpacitySliderHigh"):SetText("1.0")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_WP_FRAME_TIMER_FontOpacitySliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
</Frames>
|
|
</Frame>
|
|
<Button name="VCB_BF_WP_FRAME2_previous_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset x="-50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_WP_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Font"):SetText(VCB_COMMON_PAGE_2)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parentFont" inherits="GameFontNormalSmall" text="Page 2 of 2">
|
|
<Size x="100" y="30" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="-15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
<Button name="VCB_BF_WP_FRAME2_next_page">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset x="50" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_WP_FRAME_CHANGE_PAGE()
|
|
PlaySound("igMainMenuOptionCheckBoxOff");
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
-- PM Frame
|
|
<Frame name="VCB_BF_PM_FRAME" hidden="true">
|
|
<Size x="610" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_MENU_BODY" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnShow>
|
|
VCB_BF_PM_FRAME_RIGHT_SCROLLFRAME_Update()
|
|
getglobal("VCB_BF_PM_FRAME_LEFT_CURRENT_INBOX_TEXT"):SetText("Unknown")
|
|
</OnShow>
|
|
</Scripts>
|
|
<Frames>
|
|
<Frame name="VCB_BF_PM_FRAME_LEFT">
|
|
<Size x="220" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<FontString name="$parent_INSERT" font="Fonts\FRIZQT__.TTF" text="Insert name:" justifyH="LEFT">
|
|
<Size x="220" y="60" />
|
|
<Color r="1.0" g="0.82" b="0" />
|
|
<FontHeight val="20" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="15" y="5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parent_SELECT" font="Fonts\FRIZQT__.TTF" text="Selected profile:" justifyH="LEFT">
|
|
<Size x="220" y="60" />
|
|
<Color r="1.0" g="0.82" b="0" />
|
|
<FontHeight val="20" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="15" y="-125" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parent_CURRENT" font="Fonts\FRIZQT__.TTF" text="Current profile:" justifyH="LEFT">
|
|
<Size x="220" y="60" />
|
|
<Color r="1.0" g="0.82" b="0" />
|
|
<FontHeight val="20" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="15" y="-285" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_INSERT"):SetText(VCB_PM_FRAME_LEFT_INSERT_TEXT)
|
|
getglobal(this:GetName().."_SELECT"):SetText(VCB_PM_FRAME_LEFT_SELECT_TEXT)
|
|
getglobal(this:GetName().."_CURRENT"):SetText(VCB_PM_FRAME_LEFT_CURRENT_TEXT)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<EditBox name="VCB_BF_PM_FRAME_EditBox" letters="80">
|
|
<Size x="160" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_PM_FRAME_LEFT_INSERT" relativePoint="BOTTOM">
|
|
<Offset x="-15" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
|
|
<Size x="100" y="40" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.2" top="0" bottom="1.0" />
|
|
</Texture>
|
|
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
|
|
<Size x="100" y="40" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.7" right="1.0" top="0" bottom="1.0" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<FontString inherits="ChatFontNormal" />
|
|
</EditBox>
|
|
<Button name="VCB_PM_FRAME_LEFT_SAVE">
|
|
<Size x="190" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_PM_FRAME_EditBox" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" text="Save">
|
|
<Size x="190" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_PM_FRAME_SAVE()
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Text"):SetText(VCB_PM_FRAME_LEFT_SAVE_TEXT)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Frame name="VCB_BF_PM_FRAME_LEFT_SELECTED_INBOX">
|
|
<Size x="195" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_PM_FRAME_LEFT_SAVE" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-50" />
|
|
</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>
|
|
<FontString name="$parent_TEXT" inherits="GameFontNormalSmall" text="">
|
|
<Size x="195" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="1" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
<Button name="VCB_PM_FRAME_LEFT_DELETE">
|
|
<Size x="190" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_PM_FRAME_LEFT_SELECTED_INBOX" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" text="Delete">
|
|
<Size x="190" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_PM_FRAME_DELETE()
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Text"):SetText(VCB_PM_FRAME_LEFT_DELETE_TEXT)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="VCB_PM_FRAME_LEFT_LOAD">
|
|
<Size x="190" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_PM_FRAME_LEFT_DELETE" relativePoint="BOTTOM">
|
|
<Offset x="0" y="10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" text="Load">
|
|
<Size x="190" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_PM_FRAME_LOAD()
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Text"):SetText(VCB_COMMON_BUTTON_LOAD_TEXT)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Frame name="VCB_BF_PM_FRAME_LEFT_CURRENT_INBOX">
|
|
<Size x="195" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_PM_FRAME_LEFT_CURRENT" relativePoint="BOTTOM">
|
|
<Offset x="-15" y="15" />
|
|
</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>
|
|
<FontString name="$parent_TEXT" inherits="GameFontNormalSmall" text="">
|
|
<Size x="195" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="1" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="VCB_BF_PM_FRAME_RIGHT">
|
|
<Size x="390" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_PM_FRAME_LEFT" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<Frames>
|
|
<ScrollFrame name="VCB_BF_PM_FRAME_RIGHT_SCROLLFRAME" inherits="FauxScrollFrameTemplate">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="0" y="-5" />
|
|
</Anchor>
|
|
<Anchor point="BOTTOMRIGHT">
|
|
<Offset x="-30" y="8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnVerticalScroll>
|
|
FauxScrollFrame_OnVerticalScroll(40, VCB_BF_PM_FRAME_RIGHT_SCROLLFRAME_Update)
|
|
</OnVerticalScroll>
|
|
<OnShow>
|
|
</OnShow>
|
|
</Scripts>
|
|
</ScrollFrame>
|
|
<Button name="VCB_PM_ENTRY1" inherits="VCB_PM_FRAME_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BF_PM_FRAME_RIGHT_SCROLLFRAME" relativePoint="TOPLEFT">
|
|
<Offset x="15" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_PM_ENTRY2" inherits="VCB_PM_FRAME_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_PM_ENTRY1" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_PM_ENTRY3" inherits="VCB_PM_FRAME_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_PM_ENTRY2" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_PM_ENTRY4" inherits="VCB_PM_FRAME_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_PM_ENTRY3" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_PM_ENTRY5" inherits="VCB_PM_FRAME_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_PM_ENTRY4" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_PM_ENTRY6" inherits="VCB_PM_FRAME_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_PM_ENTRY5" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_PM_ENTRY7" inherits="VCB_PM_FRAME_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_PM_ENTRY6" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_PM_ENTRY8" inherits="VCB_PM_FRAME_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_PM_ENTRY7" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_PM_ENTRY9" inherits="VCB_PM_FRAME_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_PM_ENTRY8" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
<Button name="VCB_PM_ENTRY10" inherits="VCB_PM_FRAME_ENTRY_TEMPLATE">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_PM_ENTRY9" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" text="" justifyH="LEFT">
|
|
<Size x="350" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="20" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
-- MISC Frame
|
|
<Frame name="VCB_BF_MISC_FRAME" hidden="true">
|
|
<Size x="610" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_MENU_BODY" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<Frames>
|
|
<Frame name="VCB_BF_MISC_FRAME_GENERAL">
|
|
<Size x="580" y="80" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="15" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_FONT" inherits="GameFontNormal" text="General" justifyH="LEFT">
|
|
<Size x="580" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="5" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_CAT_GENERAL)
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
-- Checkbutton Disable Consolidate Mechanic
|
|
<CheckButton name="VCB_BF_MISC_FRAME_CHECKBUTTON1" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="VCB_BF_MISC_FRAME_GENERAL" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_MISC_FRAME_TEXT_DISABLE_CF_TOOLTIP
|
|
getglobal("VCB_BF_MISC_FRAME_CHECKBUTTON1Text"):SetText(VCB_MISC_FRAME_TEXT_DISABLE_CF)
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_MISC_FRAME_DISABLE_CF()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Checkbutton Disable Banning Mechanic
|
|
<CheckButton name="VCB_BF_MISC_FRAME_CHECKBUTTON2" inherits="VCB_BF_CheckTemplate">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_MISC_FRAME_CHECKBUTTON1" relativePoint="BOTTOM">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.tooltipText = VCB_MISC_FRAME_TEXT_DISABLE_BB_TOOLTIP
|
|
getglobal("VCB_BF_MISC_FRAME_CHECKBUTTON2Text"):SetText("Disable banning mechanic")
|
|
</OnLoad>
|
|
<OnClick>
|
|
VCB_BF_CHECKBUTTON("MISC_disable_BB")
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
-- Aura Theme Slider
|
|
<Slider name="VCB_BF_MISC_FRAME_ThemeSlider" inherits="VCB_BF_SliderTemplate">
|
|
<Size x="155" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_MISC_FRAME_CHECKBUTTON1" relativePoint="RIGHT">
|
|
<Offset x="175" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = VCB_MISC_FRAME_TEXT_THEME_TOOLTIP
|
|
this:SetMinMaxValues(1,1)
|
|
this:SetValue(1)
|
|
this:SetValueStep(1)
|
|
getglobal("VCB_BF_MISC_FRAME_ThemeSliderText"):SetText(VCB_MISC_FRAME_TEXT_THEME)
|
|
getglobal("VCB_BF_MISC_FRAME_ThemeSliderLow"):SetText("1")
|
|
getglobal("VCB_BF_MISC_FRAME_ThemeSliderHigh"):SetText("1")
|
|
</OnLoad>
|
|
<OnValueChanged>
|
|
if VCB_IS_LOADED then
|
|
VCB_BF_MISC_FRAME_ThemeSliderChange(this)
|
|
end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
</Slider>
|
|
<Button name="VCB_BF_MISC_FRAME_LOAD">
|
|
<Size x="155" y="40" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VCB_BF_MISC_FRAME_ThemeSlider" relativePoint="RIGHT">
|
|
<Offset x="30" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" text="Load">
|
|
<Size x="190" y="40" />
|
|
<Anchors>
|
|
<Anchor point="CENTER">
|
|
<Offset x="0" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up" />
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down" />
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD" />
|
|
<Scripts>
|
|
<OnClick>
|
|
VCB_BF_MISC_FRAME_LOAD()
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Text"):SetText(VCB_COMMON_BUTTON_LOAD_TEXT)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
-- About Frame
|
|
<Frame name="VCB_BF_ABOUT_FRAME" hidden="true">
|
|
<Size x="610" y="435" />
|
|
<Anchors>
|
|
<Anchor point="Left" relativeTo="VCB_BF_MENU_BODY" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</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>
|
|
<Frames>
|
|
<Frame name="VCB_BF_ABOUT_FRAME1">
|
|
<Size x="580" y="60" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="15" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_FONT" inherits="GameFontNormal" text="What is VCB?" justifyH="LEFT">
|
|
<Size x="580" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="5" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parent_FONT2" inherits="GameFontDisable" text="" justifyH="LEFT">
|
|
<Size x="560" y="50" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_CAT_ABOUT_1)
|
|
getglobal(this:GetName().."_FONT2"):SetText(VCB_ABOUT_TEXT_1)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="VCB_BF_ABOUT_FRAME2">
|
|
<Size x="580" y="50" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_ABOUT_FRAME1" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_FONT" inherits="GameFontNormal" text="Who created VCB?" justifyH="LEFT">
|
|
<Size x="580" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="5" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parent_FONT2" inherits="GameFontDisable" text="" justifyH="LEFT">
|
|
<Size x="560" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_CAT_ABOUT_2)
|
|
getglobal(this:GetName().."_FONT2"):SetText(VCB_ABOUT_TEXT_2)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="VCB_BF_ABOUT_FRAME3">
|
|
<Size x="580" y="60" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_ABOUT_FRAME2" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_FONT" inherits="GameFontNormal" text="Special thanks to:" justifyH="LEFT">
|
|
<Size x="580" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="5" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parent_FONT2" inherits="GameFontDisable" text="" justifyH="LEFT">
|
|
<Size x="560" y="50" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_CAT_ABOUT_3)
|
|
getglobal(this:GetName().."_FONT2"):SetText(VCB_ABOUT_TEXT_3)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="VCB_BF_ABOUT_FRAME4">
|
|
<Size x="580" y="60" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="VCB_BF_ABOUT_FRAME3" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="16" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="16" />
|
|
</EdgeSize>
|
|
<Color r="0" g="0" b="0" a="0.5" />
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer>
|
|
<FontString name="$parent_FONT" inherits="GameFontNormal" text="Thanks for supporting!" justifyH="LEFT">
|
|
<Size x="580" y="16" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="5" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parent_FONT2" inherits="GameFontDisable" text="" justifyH="LEFT" justifyV="TOP">
|
|
<Size x="280" y="50" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parent_FONT3" inherits="GameFontDisable" text="" justifyH="LEFT" justifyV="TOP">
|
|
<Size x="270" y="50" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="290" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_FONT"):SetText(VCB_CAT_ABOUT_4)
|
|
getglobal(this:GetName().."_FONT2"):SetText(VCB_ABOUT_TEXT_4)
|
|
getglobal(this:GetName().."_FONT3"):SetText(VCB_ABOUT_TEXT_5)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
</Ui> |