You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2709 lines
75 KiB

<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">
<Script file="VuhDoLookAndFeel.lua" />
<Script file="VuhDoLocalization_en.lua" />
<Script file="VuhDoLocalization_de.lua" />
<Script file="VuhDoLocalization_fr.lua" />
<Script file="VuhDoLocalization_es.lua" />
<Script file="VuhDoLocalization_ko.lua" />
<Script file="VuhDoLocalization_ru.lua" />
<Script file="VuhDoLocalization_zhCN.lua" />
<Script file="VuhDoLocalization_zhTW.lua" />
<Script file="VuhDoDemo.lua" />
<Script file="VuhDoComms.lua" />
<Script file="VuhDoPanelConfigTools.lua" />
<Script file="VuhDoPanelConfigEventHandler.lua" />
<FontString name="VuDoDefaultFontTemplate" inherits="GameFontNormal" font="Interface\AddOns\VuhDo\Fonts\ariblk.ttf" virtual="true">
<FontHeight>
<AbsValue val="8" />
</FontHeight>
<Color r="0.4" g="0.4" b="1" />
<Shadow>
<Color r="0.4" g="0.4" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</FontString>
<Font name="VuDoButtonFont" inherits="GameFontNormal" font="Interface\AddOns\VuhDo\Fonts\ariblk.ttf" virtual="true">
<FontHeight>
<AbsValue val="8" />
</FontHeight>
<Color r="0.4" g="0.4" b="1" />
<Shadow>
<Color r="0.4" g="0.4" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</Font>
<Font name="VuDoButtonFontLight" inherits="GameFontNormal" font="Interface\AddOns\VuhDo\Fonts\ariblk.ttf" virtual="true">
<FontHeight>
<AbsValue val="8" />
</FontHeight>
<Color r="0.6" g="0.6" b="1" />
<Shadow>
<Color r="0.4" g="0.4" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</Font>
<Font name="VuDoButtonFontDark" inherits="GameFontNormal" font="Interface\AddOns\VuhDo\Fonts\ariblk.ttf" virtual="true">
<FontHeight>
<AbsValue val="8" />
</FontHeight>
<Color r="0.2" g="0.2" b="1" />
<Shadow>
<Color r="0.4" g="0.4" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</Font>
<Font name="VuDoMacroEditFont" inherits="GameFontHighlightSmall" virtual="true">
<FontHeight>
<AbsValue val="8" />
</FontHeight>
<Color r="0" g="0" b="0" />
<Shadow>
<Color r="0.5" g="0.5" b="0.5" a="0" />
<Offset>
<AbsDimension x="0.2" y="-0.2" />
</Offset>
</Shadow>
</Font>
<FontString name="VuDoWhiteFontTemplate" inherits="VuDoDefaultFontTemplate" virtual="true">
<FontHeight>
<AbsValue val="8"/>
</FontHeight>
<Color r="1" g="1" b="1" />
<Shadow>
<Color r="0.4" g="0.4" b="0.4"/>
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
</Shadow>
</FontString>
<FontString name="VuDoBigFontTemplate" inherits="GameFontNormal" font="Interface\AddOns\VuhDo\Fonts\ariblk.ttf" virtual="true">
<FontHeight>
<AbsValue val="10" />
</FontHeight>
<Color r="0.4" g="0.4" b="1" />
<Shadow>
<Color r="0.4" g="0.4" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</FontString>
<FontString name="VuDoBigWhiteFontTemplate" inherits="GameFontNormal" font="Interface\AddOns\VuhDo\Fonts\ariblk.ttf" virtual="true">
<FontHeight>
<AbsValue val="12" />
</FontHeight>
<Color r="1" g="1" b="1" />
<Shadow>
<Color r="1" g="1" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</FontString>
<FontString name="VuDoBigWhiteFontShadedTemplate" inherits="GameFontNormal" font="Interface\AddOns\VuhDo\Fonts\ariblk.ttf" virtual="true">
<FontHeight>
<AbsValue val="12" />
</FontHeight>
<Color r="1" g="1" b="1" />
<Shadow>
<Color r="0" g="0" b="0" a="1" />
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
</Shadow>
</FontString>
<FontString name="VuDoDefaultTitleFontTemplate" inherits="GameFontNormal" font="Interface\AddOns\VuhDo\Fonts\ariblk.ttf" justifyH="LEFT" virtual="true">
<FontHeight>
<AbsValue val="12" />
</FontHeight>
<Color r="0.6" g="0.6" b="1" />
<Shadow>
<Color r="0.6" g="0.6" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</FontString>
<FontString name="VuDoDarkTitleFontTemplate" inherits="GameFontNormal" font="Interface\AddOns\VuhDo\Fonts\ariblk.ttf" justifyH="LEFT" virtual="true">
<FontHeight>
<AbsValue val="12" />
</FontHeight>
<Color r="0.4" g="0.4" b="1" />
<Shadow>
<Color r="0.4" g="0.4" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</FontString>
<FontString name="VuDoHostileFontTemplate" inherits="GameFontNormal" font="Interface\AddOns\VuhDo\Fonts\ariblk.ttf" justifyH="LEFT" virtual="true">
<FontHeight>
<AbsValue val="20" />
</FontHeight>
<Color r="1" g="0.4" b="0.4" />
<Shadow>
<Color r="1" g="0.4" b="0.4" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</FontString>
<Frame name="VuhDoLabelFrameTemplate" virtual="true">
<Size>
<AbsDimension x="10" y="18" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="13" y="-7" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>VUHDO_lnfPatchFont(self, "Label");</OnShow>
</Scripts>
</Frame>
<Frame name="VuhDoBarExampleTexture" virtual="true">
<Size>
<AbsDimension x="100" y="32" />
</Size>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDo\Images\bar15">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnEnter>VUHDO_lnfShowTooltip(self)</OnEnter>
<OnLeave>VUHDO_lnfHideTooltip(self)</OnLeave>
</Scripts>
</Frame>
<Frame name="VuhDoColorSwatchTexture" virtual="true">
<Size>
<AbsDimension x="100" y="32" />
</Size>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDo\Images\bar15">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
<FontString name="$parentTitleString" inherits="VuDoBigFontTemplate" text="">
<Size>
<AbsDimension x="100" y="0" />
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<FontHeight>
<AbsValue val="10" />
</FontHeight>
<Color r="1" g="0.82" b="0" />
<Shadow>
<Color r="0" g="0" b="0" />
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnShow>VUHDO_lnfPatchFont(self, "TitleString"); VUHDO_lnfColorSwatchInitFromModel(self)</OnShow>
<OnMouseDown>VUHDO_lnfColorSwatchShowColorPicker(self, arg1)</OnMouseDown>
<OnEnter>VUHDO_lnfShowTooltip(self)</OnEnter>
<OnLeave>VUHDO_lnfHideTooltip(self)</OnLeave>
</Scripts>
</Frame>
<Frame name="VuhDoContextColorSwatchTexture" inherits="VuhDoColorSwatchTexture" virtual="true">
<Scripts>
<OnShow>VUHDO_lnfPatchFont(self, "TitleString"); VUHDO_lnfColorSwatchInitFromModel(self)</OnShow>
<OnEnter>VUHDO_lnfShowTooltip(self)</OnEnter>
<OnLeave>VUHDO_lnfHideTooltip(self)</OnLeave>
</Scripts>
</Frame>
<Frame name="VuhDoTextureSelectTexture" virtual="true">
<Size>
<AbsDimension x="100" y="32" />
</Size>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDo\Images\bar15">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
<FontString name="$parentTitleString" text="VUHDO_I18N_ITEXTUREI" inherits="VuDoWhiteFontTemplate">
<Size>
<AbsDimension x="0" y="0" />
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnShow>VUHDO_lnfPatchFont(self, "TitleString"); VUHDO_lnfTextureSwatchInitFromModel(self)</OnShow>
<OnEnter>VUHDO_lnfShowTooltip(self)</OnEnter>
<OnLeave>VUHDO_lnfHideTooltip(self)</OnLeave>
</Scripts>
</Frame>
<Texture name="VuhDoButtonIconTemplate" virtual="true">
<Size>
<AbsDimension x="32" y="32" />
</Size>
<Anchors>
<Anchor point="RIGHT" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-5" y="-4" />
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
<Texture name="VuhDoButtonIconTemplateSmall" virtual="true">
<Size>
<AbsDimension x="32" y="32" />
</Size>
<Anchors>
<Anchor point="RIGHT" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0" />
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
<Texture name="VuhDoCheckBoxIconTemplate" virtual="true">
<Size>
<AbsDimension x="32" y="32" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
<Button name="VuhDoButtonTemplate" virtual="true">
<NormalTexture file="Interface\AddOns\VuhDoOptions\Images\button_normal_128_32">
<TexCoords left="0" right="1" top="0" bottom="1" />
</NormalTexture>
<PushedTexture file="Interface\AddOns\VuhDoOptions\Images\button_pressed_128_32">
<TexCoords left="0" right="1" top="0" bottom="1" />
</PushedTexture>
<DisabledTexture file="Interface\AddOns\VuhDoOptions\Images\button_pressed_128_32">
<TexCoords left="0" right="1" top="0" bottom="1" />
</DisabledTexture>
<DisabledFont style="VuDoButtonFont" />
<ButtonText name="$parentText" justifyV="TOP" justifyH="LEFT" maxLines="2">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="10" y="-6" />
</Offset>
</Anchor>
</Anchors>
<FontHeight>
<AbsValue val="8" />
</FontHeight>
</ButtonText>
<NormalFont style="VuDoButtonFont" />
<HighlightFont style="VuDoButtonFontLight" />
<Scripts>
<OnShow>VUHDO_lnfPatchFont(self, "Text");</OnShow>
<OnEnter>VUHDO_lnfShowTooltip(self)</OnEnter>
<OnLeave>VUHDO_lnfHideTooltip(self)</OnLeave>
</Scripts>
</Button>
<Button name="VuhDoAssignButtonTemplate" virtual="true">
<NormalTexture file="Interface\AddOns\VuhDoOptions\Images\button_normal_128_32">
<TexCoords left="0" right="1" top="0" bottom="1" />
</NormalTexture>
<PushedTexture file="Interface\AddOns\VuhDoOptions\Images\button_pressed_128_32">
<TexCoords left="0" right="1" top="0" bottom="1" />
</PushedTexture>
<DisabledTexture file="Interface\AddOns\VuhDoOptions\Images\button_pressed_128_32">
<TexCoords left="0" right="1" top="0" bottom="1" />
</DisabledTexture>
<DisabledFont style="VuDoButtonFont" />
<ButtonText name="$parentText" justifyV="TOP" justifyH="LEFT" maxLines="2">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="10" y="-6" />
</Offset>
</Anchor>
</Anchors>
<FontHeight>
<AbsValue val="8" />
</FontHeight>
</ButtonText>
<NormalFont style="VuDoButtonFontDark" />
<HighlightFont style="VuDoButtonFont" />
<Scripts>
<OnShow>VUHDO_lnfPatchFont(self, "Text");</OnShow>
<OnEnter>VUHDO_lnfShowTooltip(self)</OnEnter>
<OnLeave>VUHDO_lnfHideTooltip(self)</OnLeave>
</Scripts>
</Button>
<CheckButton name="VuhDoTabStopButtonTemplate" virtual="true">
<Size>
<AbsDimension x="48" y="48" />
</Size>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentLabel" inherits="VuDoDefaultFontTemplate" text="" justifyH="CENTER">
<Color r="0.2" g="0.2" b="0.6" />
<Anchors>
<Anchor point="BOTTOM" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="12" />
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="ARTWORK">
</Layer>
</Layers>
<Frames>
<Frame name="$parentTextureSwatch" hidden="true">
</Frame>
<Frame name="$parentTextureActiveSwatch" hidden="true">
</Frame>
<Frame name="$parentTextureCheckMark" setAllPoints="true" hidden="true">
<Layers>
<Layer>
<Texture name="$parentTexture" file="Interface\AddOns\VuhDoOptions\Images\tabstop_active">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
<FontString name="$parentLabel" inherits="VuDoDefaultFontTemplate" text="" justifyH="CENTER">
<Color r="0.2" g="0.2" b="0.6" />
<Anchors>
<Anchor point="BOTTOM" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="12" />
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</Frames>
<NormalTexture file="Interface\AddOns\VuhDoOptions\Images\tabstop_inactive">
</NormalTexture>
<Scripts>
<OnLoad>VUHDO_lnfTabCheckButtonOnLoad(self)</OnLoad>
<OnShow>VUHDO_lnfPatchFont(self, "Label"); VUHDO_lnfRadioButtonOnShow(self)</OnShow>
<OnClick>VUHDO_lnfTabCheckButtonClicked(self)</OnClick>
<OnEnter>
VUHDO_lnfTabCheckButtonOnEnter(self);
VUHDO_lnfShowTooltip(self);
</OnEnter>
<OnLeave>
VUHDO_lnfTabCheckButtonOnLeave(self);
VUHDO_lnfHideTooltip(self);
</OnLeave>
</Scripts>
</CheckButton>
<CheckButton name="VuhDoCheckButtonTemplate" virtual="true">
<Size>
<AbsDimension x="100" y="32" />
</Size>
<Layers>
<Layer>
<FontString name="$parentLabel" inherits="VuDoDefaultFontTemplate" text="" justifyH="LEFT">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-10" y="-6" />
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentLabel2" inherits="VuDoDefaultFontTemplate" text="" justifyH="LEFT">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-10" y="10" />
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="$parentTextureSwatch">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDo\Images\icon_white_square">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 1);</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentTextureActiveSwatch" hidden="true">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDoOptions\Images\icon_blue_square">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 2);</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentTextureCheckMark" hidden="true">
<Size>
<AbsDimension x="30" y="30" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="2" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDoOptions\Images\icon_check">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 3);</OnLoad>
</Scripts>
</Frame>
</Frames>
<NormalTexture file="Interface\AddOns\VuhDoOptions\Images\button_normal_128_32" />
<PushedTexture file="Interface\AddOns\VuhDoOptions\Images\button_pressed_128_32" />
<Scripts>
<OnLoad>VUHDO_lnfCheckButtonOnLoad(self)</OnLoad>
<OnClick>
VUHDO_lnfCheckButtonUpdateModel(self);
VUHDO_lnfCheckButtonClicked(self);
</OnClick>
<OnEnter>
VUHDO_lnfCheckButtonOnEnter(self);
VUHDO_lnfShowTooltip(self);
</OnEnter>
<OnLeave>
VUHDO_lnfCheckButtonOnLeave(self);
VUHDO_lnfHideTooltip(self);
</OnLeave>
<OnShow>VUHDO_lnfPatchFont(self, "Label"); VUHDO_lnfCheckButtonInitFromModel(self)</OnShow>
</Scripts>
</CheckButton>
<CheckButton name="VuhDoInverseCheckButtonTemplate" virtual="true" inherits="VuhDoCheckButtonTemplate">
<Scripts>
<OnLoad>VUHDO_lnfCheckButtonOnLoad(self)</OnLoad>
<OnClick>
VUHDO_lnfInverseCheckButtonUpdateModel(self);
VUHDO_lnfCheckButtonClicked(self);
</OnClick>
<OnEnter>
VUHDO_lnfCheckButtonOnEnter(self);
VUHDO_lnfShowTooltip(self);
</OnEnter>
<OnLeave>
VUHDO_lnfCheckButtonOnLeave(self);
VUHDO_lnfHideTooltip(self);
</OnLeave>
<OnShow>VUHDO_lnfPatchFont(self, "Label"); VUHDO_lnfInverseCheckButtonInitFromModel(self)</OnShow>
</Scripts>
</CheckButton>
<Button name="VuhDoTriStateCheckButtonTemplate" virtual="true">
<Size>
<AbsDimension x="100" y="32" />
</Size>
<Layers>
<Layer>
<FontString name="$parentLabel" inherits="VuDoDefaultFontTemplate" text="" justifyH="LEFT">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-10" y="-6" />
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentLabel2" inherits="VuDoDefaultFontTemplate" text="" justifyH="LEFT">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-10" y="10" />
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="$parentTextureSwatch1">
<Size>
<AbsDimension x="11" y="11" />
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDoOptions\Images\icon_black">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 1);</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentTextureSwatch2">
<Size>
<AbsDimension x="11" y="11" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDoOptions\Images\icon_black">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 1);</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentTextureSwatch3">
<Size>
<AbsDimension x="11" y="11" />
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDoOptions\Images\icon_black">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 1);</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentTextureCheckMark">
<Size>
<AbsDimension x="11" y="11" />
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDo\Images\icon_white">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 2);</OnLoad>
</Scripts>
</Frame>
</Frames>
<NormalTexture file="Interface\AddOns\VuhDoOptions\Images\button_normal_128_32" />
<PushedTexture file="Interface\AddOns\VuhDoOptions\Images\button_pressed_128_32" />
<Scripts>
<OnLoad>VUHDO_lnfCheckButtonOnLoad(self)</OnLoad>
<OnClick>
VUHDO_lnfTriStateCheckButtonUpdateModel(self);
</OnClick>
<OnEnter>
VUHDO_lnfShowTooltip(self);
</OnEnter>
<OnLeave>
VUHDO_lnfHideTooltip(self);
</OnLeave>
<OnShow>
VUHDO_lnfPatchFont(self, "Label");
VUHDO_lnfTriStateCheckButtonInitFromModel(self)
</OnShow>
</Scripts>
</Button>
<CheckButton name="VuhDoCheckBoxTemplate" virtual="true">
<Size>
<AbsDimension x="32" y="32" />
</Size>
<Frames>
<Frame name="$parentTextureSwatch">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDo\Images\icon_white_square">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 1);</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentTextureActiveSwatch" hidden="true">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDoOptions\Images\icon_blue_square">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 2);</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentTextureCheckMark" hidden="true">
<Size>
<AbsDimension x="30" y="30" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="2" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDoOptions\Images\icon_check">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 3);</OnLoad>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>VUHDO_lnfCheckButtonOnLoad(self)</OnLoad>
<OnClick>
VUHDO_lnfCheckButtonUpdateModel(self);
VUHDO_lnfCheckButtonClicked(self);
</OnClick>
<OnEnter>
VUHDO_lnfCheckButtonOnEnter(self);
VUHDO_lnfShowTooltip(self);
</OnEnter>
<OnLeave>
VUHDO_lnfCheckButtonOnLeave(self);
VUHDO_lnfHideTooltip(self);
</OnLeave>
<OnShow>VUHDO_lnfCheckButtonInitFromModel(self)</OnShow>
</Scripts>
</CheckButton>
<CheckButton name="VuhDoRadioButtonTemplate" virtual="true">
<Size>
<AbsDimension x="100" y="32" />
</Size>
<Layers>
<Layer>
<FontString name="$parentLabel" inherits="VuDoDefaultFontTemplate" text="" justifyH="LEFT">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-10" y="-6" />
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentLabel2" inherits="VuDoDefaultFontTemplate" text="" justifyH="LEFT">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-10" y="10" />
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="$parentTextureSwatch">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDoOptions\Images\icon_black">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 1);</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentTextureActiveSwatch" hidden="true">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDoOptions\Images\icon_aura" alphaMode="ADD">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 3);</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentTextureCheckMark" hidden="true">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDo\Images\icon_red">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 2);</OnLoad>
</Scripts>
</Frame>
</Frames>
<NormalTexture file="Interface\AddOns\VuhDoOptions\Images\button_normal_128_32" />
<PushedTexture file="Interface\AddOns\VuhDoOptions\Images\button_pressed_128_32" />
<Scripts>
<OnLoad>VUHDO_lnfCheckButtonOnLoad(self)</OnLoad>
<OnShow>
VUHDO_lnfPatchFont(self, "Label");
VUHDO_lnfRadioButtonOnShow(self);
VUHDO_lnfRadioButtonInitFromModel(self);
</OnShow>
<OnClick>
VUHDO_lnfRadioButtonClicked(self);
VUHDO_lnfRadioButtonUpdateModel(self);
</OnClick>
<OnEnter>
VUHDO_lnfCheckButtonOnEnter(self);
VUHDO_lnfShowTooltip(self);
</OnEnter>
<OnLeave>
VUHDO_lnfCheckButtonOnLeave(self);
VUHDO_lnfHideTooltip(self);
</OnLeave>
</Scripts>
</CheckButton>
<CheckButton name="VuhDoTabRadioButtonTemplate" virtual="true" inherits="VuhDoRadioButtonTemplate">
<Scripts>
<OnLoad>VUHDO_lnfCheckButtonOnLoad(self)</OnLoad>
<OnShow>
VUHDO_lnfPatchFont(self, "Label");
VUHDO_lnfRadioButtonOnShow(self);
</OnShow>
<OnClick>
VUHDO_lnfTabRadioButtonClicked(self);
</OnClick>
<OnEnter>
VUHDO_lnfCheckButtonOnEnter(self);
VUHDO_lnfShowTooltip(self);
</OnEnter>
<OnLeave>
VUHDO_lnfCheckButtonOnLeave(self);
VUHDO_lnfHideTooltip(self);
</OnLeave>
</Scripts>
</CheckButton>
<CheckButton name="VuhDoRadioBoxTemplate" virtual="true">
<Size>
<AbsDimension x="32" y="32" />
</Size>
<Frames>
<Frame name="$parentTextureSwatch">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDoOptions\Images\icon_black">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 1);</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentTextureActiveSwatch" hidden="true">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDoOptions\Images\icon_aura" alphaMode="ADD">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 3);</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentTextureCheckMark" hidden="true">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="5" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true" file="Interface\AddOns\VuhDo\Images\icon_red">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>self:SetFrameLevel(self:GetParent():GetFrameLevel() + 2);</OnLoad>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>VUHDO_lnfCheckButtonOnLoad(self)</OnLoad>
<OnShow>VUHDO_lnfRadioButtonInitFromModel(self);</OnShow>
<OnClick>
VUHDO_lnfRadioButtonClicked(self);
VUHDO_lnfRadioButtonUpdateModel(self);
</OnClick>
<OnEnter>
VUHDO_lnfRadioBoxOnEnter(self);
VUHDO_lnfShowTooltip(self);
</OnEnter>
<OnLeave>
VUHDO_lnfRadioBoxOnLeave(self);
VUHDO_lnfHideTooltip(self);
</OnLeave>
</Scripts>
</CheckButton>
<Button name="VuhDoIconButtonTemplate" inherits="VuhDoButtonTemplate" virtual="true">
<Size>
<AbsDimension x="100" y="32" />
</Size>
</Button>
<Button name="VuhDoOkayButtonTemplate" text="VUHDO_I18N_OKAY" inherits="VuhDoIconButtonTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentIcon" inherits="VuhDoButtonIconTemplate" file="Interface\AddOns\VuhDo\Images\icon_check_2">
</Texture>
</Layer>
</Layers>
</Button>
<Button name="VuhDoCancelButtonTemplate" text="VUHDO_I18N_CANCEL" inherits="VuhDoIconButtonTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentIcon" inherits="VuhDoButtonIconTemplate" file="Interface\AddOns\VuhDo\Images\icon_cancel_1">
</Texture>
</Layer>
</Layers>
</Button>
<Button name="VuhDoApplyToAllButtonTemplate" text="VUHDO_I18N_APPLY_TO_ALL" inherits="VuhDoIconButtonTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentIcon" inherits="VuhDoButtonIconTemplate" file="Interface\AddOns\VuhDoOptions\Images\icon_apply_to_all">
</Texture>
</Layer>
</Layers>
</Button>
<Button name="VuhDoTestButtonTemplate" text="VUHDO_I18N_TEST" inherits="VuhDoIconButtonTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentIcon" inherits="VuhDoButtonIconTemplate" file="Interface\AddOns\VuhDo\Images\icon_info">
</Texture>
</Layer>
</Layers>
</Button>
<Button name="VuhDoAddButtonTemplate" text="VUHDO_I18N_ADD" inherits="VuhDoIconButtonTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentIcon" inherits="VuhDoButtonIconTemplate" file="Interface\AddOns\VuhDoOptions\Images\icon_plus">
</Texture>
</Layer>
</Layers>
</Button>
<Button name="VuhDoAddItemButtonTemplate" text="VUHDO_I18N_ADD" inherits="VuhDoIconButtonTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentIcon" inherits="VuhDoButtonIconTemplateSmall" file="Interface\AddOns\VuhDo\Images\icon_plus_round">
</Texture>
</Layer>
</Layers>
</Button>
<Button name="VuhDoRemoveItemButtonTemplate" text="VUHDO_I18N_ADD" inherits="VuhDoIconButtonTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentIcon" inherits="VuhDoButtonIconTemplateSmall" file="Interface\AddOns\VuhDo\Images\icon_x_round">
</Texture>
</Layer>
</Layers>
</Button>
<Button name="VuhDoBackButtonTemplate" text="VUHDO_I18N_BACK" inherits="VuhDoIconButtonTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentIcon" inherits="VuhDoButtonIconTemplate" file="Interface\AddOns\VuhDoOptions\Images\icon_back">
</Texture>
</Layer>
</Layers>
</Button>
<Button name="VuhDoFontButtonTemplate" text="" inherits="VuhDoIconButtonTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentIcon" inherits="VuhDoButtonIconTemplate" file="Interface\AddOns\VuhDoOptions\Images\Font">
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
VUHDO_lnfFontButtonClicked(self);
</OnClick>
</Scripts>
</Button>
<Button name="VuhDoShareButtonTemplate" text="Share..." inherits="VuhDoIconButtonTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentIcon" inherits="VuhDoButtonIconTemplate" file="Interface\AddOns\VuhDoOptions\Images\Share">
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
VUHDO_lnfShareButtonClicked(self);
</OnClick>
</Scripts>
</Button>
<Button name="VuhDoSoundButtonTemplate" text="" inherits="VuhDoIconButtonTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentIcon" inherits="VuhDoButtonIconTemplate" file="Interface\AddOns\VuhDoOptions\Images\Sound">
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
VUHDO_lnfSoundButtonClicked(self);
</OnClick>
</Scripts>
</Button>
<Frame name="VuhDoHSliderTemplate" virtual="true">
<Size>
<AbsDimension x="140" y="50" />
</Size>
<Frames>
<Slider name="$parentSlider" enableMouse="true" minValue="0" maxValue="100" defaultValue="0" valueStep="1" orientation="HORIZONTAL" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_H_SLIDER_8_8_1111" type="global" />
</KeyValues>
<Size>
<AbsDimension x="128" y="18" />
</Size>
<Anchors>
<Anchor point="LEFT" />
<Anchor point="RIGHT" />
</Anchors>
<Layers>
<Layer>
<FontString name="$parentTitle" inherits="VuDoDefaultFontTemplate" text="">
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="2" />
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentValue" inherits="VuDoDefaultFontTemplate" text="">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="0" y="2" />
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<ThumbTexture name="$parentThumb" file="Interface\AddOns\VuhDoOptions\Images\slider_thumb_h">
<Size>
<AbsDimension x="16" y="16" />
</Size>
</ThumbTexture>
<Scripts>
<OnShow>
VUHDO_lnfPatchFont(self, "Title");
VUHDO_lnfPatchFont(self, "Value");
VUHDO_lnfSliderInitFromModel(self);
</OnShow>
<OnValueChanged>
if not self._onsetting then
self._onsetting = true;
self:SetValue(self:GetValue());
value = self:GetValue()
self._onsetting = false;
else
return;
end
VUHDO_lnfSliderUpdateModel(self);
VUHDO_lnfSliderOnValueChanged(self:GetParent());
</OnValueChanged>
<OnMouseWheel>
self:SetValue(self:GetValue() + (delta * self:GetValueStep()));
</OnMouseWheel>
<OnEnter>
VUHDO_lnfShowTooltip(self:GetParent());
</OnEnter>
<OnLeave>
VUHDO_lnfHideTooltip(self:GetParent());
</OnLeave>
</Scripts>
</Slider>
</Frames>
<Scripts>
<OnEnter>
VUHDO_lnfShowTooltip(self);
</OnEnter>
<OnLeave>
VUHDO_lnfHideTooltip(self);
</OnLeave>
</Scripts>
</Frame>
<Frame name="VuhDoVSliderTemplate" virtual="true">
<Size>
<AbsDimension x="18" y="50" />
</Size>
<Frames>
<Slider name="$parentSlider" setallpoints="true" enableMouse="true" minValue="0" maxValue="100" defaultValue="0" valueStep="1" orientation="VERTICAL" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_H_SLIDER_8_8_1111" type="global" />
</KeyValues>
<Layers>
<Layer>
<FontString name="$parentTitle" inherits="VuDoDefaultFontTemplate" text="">
<Anchors>
<Anchor point="BOTTOM" relativePoint="TOP">
<Offset>
<AbsDimension x="0" y="4" />
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentValue" inherits="VuDoDefaultFontTemplate" text="">
<Anchors>
<Anchor point="TOP" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-2" />
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<ThumbTexture name="$parentThumb" file="Interface\AddOns\VuhDoOptions\Images\slider_thumb_v">
<Size>
<AbsDimension x="16" y="16" />
</Size>
</ThumbTexture>
<Scripts>
<OnValueChanged>
if not self._onsetting then
self._onsetting = true;
self:SetValue(self:GetValue());
value = self:GetValue()
self._onsetting = false;
else
return;
end
VUHDO_lnfSliderUpdateModel(self);
VUHDO_lnfSliderOnValueChanged(self:GetParent());
</OnValueChanged>
<OnMouseWheel>
self:SetValue(self:GetValue() + (delta * self:GetValueStep()));
</OnMouseWheel>
<OnShow>
VUHDO_lnfPatchFont(self, "Title");
VUHDO_lnfPatchFont(self, "Value");
VUHDO_lnfSliderInitFromModel(self);
</OnShow>
<OnEnter>
VUHDO_lnfShowTooltip(self:GetParent());
</OnEnter>
<OnLeave>
VUHDO_lnfHideTooltip(self:GetParent());
</OnLeave>
</Scripts>
</Slider>
</Frames>
<Scripts>
<OnEnter>
VUHDO_lnfShowTooltip(self);
</OnEnter>
<OnLeave>
VUHDO_lnfHideTooltip(self);
</OnLeave>
</Scripts>
</Frame>
<Frame name="VuhdoComboItemTemplate" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_WHITE_SQUARE_16_16_0000" type="global" />
</KeyValues>
<Size>
<AbsDimension x="210" y="16" />
</Size>
<Frames>
<Frame name="$parentLabel">
<Size>
<AbsDimension x="194" y="16" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="19" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<FontString name="$parentLabel" setAllPoints="true" text="" justifyH="LEFT" inherits="VuDoDefaultFontTemplate">
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="$parentIcon">
<Size>
<AbsDimension x="16" y="16" />
</Size>
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="-6" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
</Frame>
<Frame name="$parentCheckTexture" hidden="true">
<Size>
<AbsDimension x="16" y="16" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="3" y="0" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<Texture name="$parentTexture" setAllPoints="true">
<TexCoords left="0" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
</Frame>
</Frames>
<Scripts>
<OnShow>
VUHDO_lnfPatchFont(self, "LabelLabel");
</OnShow>
<OnMouseDown>
VUHDO_lnfComboSetSelectedValue(self.parentCombo, self:GetAttribute("value"));
VUHDO_lnfSetLastComboItem(self);
</OnMouseDown>
<OnMouseUp>
if (self.parentCombo.isScrollable) then
if (VUHDO_lnfIsLastComboIten()) then
self.dropwdownBox:Hide();
end
elseif (not self.parentCombo.isMulti) then
self.dropwdownBox:Hide();
end
</OnMouseUp>
<OnEnter>
VUHDO_lnfComboItemOnEnter(self);
</OnEnter>
<OnLeave>
VUHDO_lnfComboItemOnLeave(self);
</OnLeave>
</Scripts>
</Frame>
<Button name="VuhDoComboBoxTemplate" enableMouse="false" virtual="true">
<Size>
<AbsDimension x="150" y="24" />
</Size>
<Layers>
<Layer>
<Texture name="$parentLeft" file="Interface\AddOns\VuhDoOptions\Images\button_normal_128_32">
<Size>
<AbsDimension x="25" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
</Anchor>
</Anchors>
<TexCoords left="0" right="0.1953125" top="0" bottom="1" />
</Texture>
<Texture name="$parentRight" file="Interface\AddOns\VuhDoOptions\Images\button_normal_128_32">
<Size>
<AbsDimension x="25" y="24" />
</Size>
<Anchors>
<Anchor point="RIGHT" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.8046875" right="1" top="0" bottom="1" />
</Texture>
<Texture name="$parentMiddle" file="Interface\AddOns\VuhDoOptions\Images\button_normal_128_32">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentLeft" relativePoint="TOPRIGHT" />
<Anchor point="BOTTOMRIGHT" relativeTo="$parentRight" relativePoint="BOTTOMLEFT" />
</Anchors>
<TexCoords left="0.1953125" right="0.8046875" top="0" bottom="1" />
</Texture>
<FontString name="$parentText" inherits="VuDoDefaultFontTemplate" text="VUHDO_I18N_SELECT" justifyH="RIGHT">
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentRight">
<Offset>
<AbsDimension x="-32" y="0" />
</Offset>
</Anchor>
<Anchor point="LEFT" relativeTo="$parentLeft">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentButton" enableMouse="true">
<Size>
<AbsDimension x="32" y="32" />
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentRight">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
VUHDO_lnfComboButtonClicked(self);
</OnClick>
</Scripts>
<NormalTexture name="$parentNormalTexture" file="Interface\AddOns\VuhDoOptions\Images\button_combo_32_32">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="RIGHT" />
</Anchors>
</NormalTexture>
<PushedTexture name="$parentPushedTexture" file="Interface\AddOns\VuhDoOptions\Images\button_combo_pressed_32_32">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="RIGHT" />
</Anchors>
</PushedTexture>
<DisabledTexture>
</DisabledTexture>
<HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="RIGHT" />
</Anchors>
</HighlightTexture>
<Scripts>
<OnEnter>VUHDO_lnfShowTooltip(self:GetParent())</OnEnter>
<OnLeave>VUHDO_lnfHideTooltip(self:GetParent())</OnLeave>
</Scripts>
</Button>
<Frame name="$parentSelectPanel" hidden="true" frameStrata="TOOLTIP" clampedToScreen="true" inherits="VuhDoPanelTemplate">
<Size>
<AbsDimension x="150" y="235" />
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parentRight">
<Offset>
<AbsDimension x="0" y="-22" />
</Offset>
</Anchor>
</Anchors>
</Frame>
</Frames>
<Scripts>
<OnShow>
VUHDO_lnfPatchFont(self, "Text");
VUHDO_lnfComboBoxInitFromModel(self);
</OnShow>
<OnHide>
VUHDO_lnfComboSelectHide(self);
</OnHide>
</Scripts>
</Button>
<EditBox name="VuhDoEditBoxTemplate" autoFocus="false" historyLines="0" justifyH="LEFT" virtual="true">
<Size>
<AbsDimension x="160" y="22" />
</Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeft" file="Interface\AddOns\VuhDoOptions\Images\input_border_1">
<Size>
<AbsDimension x="8" y="20" />
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="-4" y="0" />
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.0625" top="0" bottom="1" />
</Texture>
<Texture name="$parentRight" file="Interface\AddOns\VuhDoOptions\Images\input_border_1">
<Size>
<AbsDimension x="8" y="20" />
</Size>
<Anchors>
<Anchor point="RIGHT" />
</Anchors>
<TexCoords left="0.9375" right="1" top="0" bottom="1" />
</Texture>
<Texture name="$parentMiddle" file="Interface\AddOns\VuhDoOptions\Images\input_border_1">
<Size>
<AbsDimension x="10" y="20" />
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" />
<Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT" />
</Anchors>
<TexCoords left="0.0625" right="0.9375" top="0" bottom="1" />
</Texture>
<FontString name="$parentHint" text="" inherits="VuDoDefaultFontTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-5" y="-9" />
</Offset>
</Anchor>
</Anchors>
<FontHeight>
<AbsValue val="8" />
</FontHeight>
<Color r="0.8" g="0.8" b="1" />
<Shadow>
<Color r="0.8" g="0.8" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
<FontString font="Interface\AddOns\VuhDo\Fonts\ariblk.ttf">
<FontHeight>
<AbsValue val="11" />
</FontHeight>
<Color r="0.8" g="0.8" b="1" />
<Shadow>
<Color r="0.8" g="0.8" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</FontString>
<Scripts>
<OnShow>VUHDO_lnfPatchFont(self, "Hint"); VUHDO_lnfPatchFont(self, ""); VUHDO_lnfEditBoxInitFromModel(self);</OnShow>
<OnTextChanged>VUHDO_lnfEditBoxUpdateModel(self)</OnTextChanged>
<OnEscapePressed>self:ClearFocus();</OnEscapePressed>
<OnEditFocusLost>self:HighlightText(0, 0);</OnEditFocusLost>
<OnEditFocusGained>self:HighlightText();</OnEditFocusGained>
<OnEnter>VUHDO_lnfShowTooltip(self)</OnEnter>
<OnLeave>VUHDO_lnfHideTooltip(self)</OnLeave>
<OnReceiveDrag>VUHDO_lnfEditboxReceivedDrag(self)</OnReceiveDrag>
<OnMouseDown>VUHDO_lnfEditboxReceivedDrag(self)</OnMouseDown>
</Scripts>
</EditBox>
<EditBox name="VuhDoEditBox2Template" autoFocus="false" historyLines="32" justifyH="LEFT" virtual="true">
<Size>
<AbsDimension x="160" y="22" />
</Size>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentHint" text="" inherits="VuDoDefaultFontTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-5" y="-9" />
</Offset>
</Anchor>
</Anchors>
<FontHeight>
<AbsValue val="8" />
</FontHeight>
<Color r="0.4" g="0.4" b="1" />
<Shadow>
<Color r="0.4" g="0.4" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
<FontString font="Interface\AddOns\VuhDo\Fonts\ariblk.ttf">
<FontHeight>
<AbsValue val="8" />
</FontHeight>
<Color r="1" g="1" b="1" />
<Shadow>
<Color r="0.4" g="0.4" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</FontString>
<Scripts>
<OnShow>VUHDO_lnfPatchFont(self, "Hint"); VUHDO_lnfPatchFont(self, ""); VUHDO_lnfEditBoxInitFromModel(self);</OnShow>
<OnTextChanged>
VUHDO_lnfEditBoxUpdateModel(self);
</OnTextChanged>
<OnEscapePressed>self:ClearFocus();</OnEscapePressed>
<OnEnterPressed>if (self:GetParent():GetAttribute("functor") ~= nil) then self:GetParent():GetAttribute("functor")() end</OnEnterPressed>
<OnEditFocusLost>
self:HighlightText(0, 0);
</OnEditFocusLost>
<OnEditFocusGained>self:HighlightText();</OnEditFocusGained>
<OnEnter>VUHDO_lnfShowTooltip(self)</OnEnter>
<OnLeave>VUHDO_lnfHideTooltip(self)</OnLeave>
<OnReceiveDrag>VUHDO_lnfEditboxReceivedDrag(self)</OnReceiveDrag>
<OnMouseDown>VUHDO_lnfEditboxReceivedDrag(self)</OnMouseDown>
</Scripts>
</EditBox>
<EditBox name="VuhDoEditBox3Template" autoFocus="false" historyLines="32" justifyH="LEFT" virtual="true">
<Size>
<AbsDimension x="160" y="22" />
</Size>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentHint" text="" inherits="VuDoDefaultFontTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-5" y="-11" />
</Offset>
</Anchor>
</Anchors>
<FontHeight>
<AbsValue val="8" />
</FontHeight>
<Color r="0.4" g="0.4" b="1" />
<Shadow>
<Color r="0.4" g="0.4" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
<FontString font="Interface\AddOns\VuhDo\Fonts\ariblk.ttf">
<FontHeight>
<AbsValue val="8" />
</FontHeight>
<Color r="1" g="1" b="1" />
<Shadow>
<Color r="0.4" g="0.4" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</FontString>
<Scripts>
<OnShow>VUHDO_lnfPatchFont(self, "Hint"); VUHDO_lnfPatchFont(self, ""); VUHDO_lnfEditBoxInitFromModel(self);</OnShow>
<OnTextChanged>
VUHDO_lnfEditBoxUpdateModel(self);
VUHDO_newOptionsSpellEditBoxCheckId(self);
</OnTextChanged>
<OnEscapePressed>self:ClearFocus();</OnEscapePressed>
<OnEditFocusLost>
self:HighlightText(0, 0);
</OnEditFocusLost>
<OnEditFocusGained>self:HighlightText();</OnEditFocusGained>
<OnEnter>VUHDO_lnfShowTooltip(self)</OnEnter>
<OnLeave>VUHDO_lnfHideTooltip(self)</OnLeave>
<OnReceiveDrag>VUHDO_lnfEditboxReceivedDrag(self)</OnReceiveDrag>
<OnMouseDown>VUHDO_lnfEditboxReceivedDrag(self)</OnMouseDown>
</Scripts>
</EditBox>
<EditBox name="VuhDoEditBoxMultiLineTemplate" autoFocus="true" multiLine="true" historyLines="0" justifyH="LEFT" virtual="true">
<Layers>
<Layer>
<FontString name="$parentHint" text="" inherits="VuDoDefaultFontTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-5" y="-9" />
</Offset>
</Anchor>
</Anchors>
<FontHeight>
<AbsValue val="8" />
</FontHeight>
<Color r="0.8" g="0.8" b="1" />
<Shadow>
<Color r="0.8" g="0.8" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
<FontString font="Interface\AddOns\VuhDo\Fonts\ariblk.ttf">
<FontHeight>
<AbsValue val="11" />
</FontHeight>
<Color r="0.8" g="0.8" b="1" />
<Shadow>
<Color r="0.8" g="0.8" b="1" a="0" />
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Shadow>
</FontString>
<Scripts>
<OnShow>VUHDO_lnfPatchFont(self, "Hint"); VUHDO_lnfPatchFont(self, ""); VUHDO_lnfEditBoxInitFromModel(self);</OnShow>
<OnTextChanged>VUHDO_lnfEditBoxUpdateModel(self)</OnTextChanged>
<OnEscapePressed>self:ClearFocus();</OnEscapePressed>
<OnEditFocusLost>self:HighlightText(0, 0);</OnEditFocusLost>
<OnEditFocusGained>self:HighlightText();</OnEditFocusGained>
<OnEnter>VUHDO_lnfShowTooltip(self)</OnEnter>
<OnLeave>VUHDO_lnfHideTooltip(self)</OnLeave>
<OnReceiveDrag>VUHDO_lnfEditboxReceivedDrag(self)</OnReceiveDrag>
<OnMouseDown>VUHDO_lnfEditboxReceivedDrag(self)</OnMouseDown>
</Scripts>
</EditBox>
<Button name="VuhDoEditComboBoxTemplate" enableMouse="false" virtual="true">
<Size>
<AbsDimension x="1" y="1" />
</Size>
<Layers>
<Layer>
<Texture name="$parentLeft" file="Interface\AddOns\VuhDoOptions\Images\button_combo_edit_128_32">
<Size>
<AbsDimension x="25" y="24" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="17" />
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.1953125" top="0" bottom="1" />
</Texture>
<Texture name="$parentMiddle" file="Interface\AddOns\VuhDoOptions\Images\button_combo_edit_128_32">
<Size>
<AbsDimension x="120" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" />
</Anchors>
<TexCoords left="0.1953125" right="0.8046875" top="0" bottom="1" />
</Texture>
<Texture name="$parentRight" file="Interface\AddOns\VuhDoOptions\Images\button_combo_edit_128_32">
<Size>
<AbsDimension x="25" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT" />
</Anchors>
<TexCoords left="0.8046875" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Frames>
<EditBox name="$parentEditBox" inherits="VuhDoEditBox2Template">
<Size>
<AbsDimension x="140" y="34" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="7" y="22" />
</Offset>
</Anchor>
</Anchors>
</EditBox>
<Button name="$parentButton" enableMouse="true">
<Size>
<AbsDimension x="32" y="32" />
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentRight">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
VUHDO_lnfComboButtonClicked(self);
</OnClick>
</Scripts>
<NormalTexture name="$parentNormalTexture" file="Interface\AddOns\VuhDoOptions\Images\button_combo_32_32">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="RIGHT" />
</Anchors>
</NormalTexture>
<PushedTexture name="$parentPushedTexture" file="Interface\AddOns\VuhDoOptions\Images\button_combo_pressed_32_32">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="RIGHT" />
</Anchors>
</PushedTexture>
<DisabledTexture>
</DisabledTexture>
<HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="RIGHT" />
</Anchors>
</HighlightTexture>
<Scripts>
<OnEnter>VUHDO_lnfShowTooltip(self:GetParent())</OnEnter>
<OnLeave>VUHDO_lnfHideTooltip(self:GetParent())</OnLeave>
</Scripts>
</Button>
<ScrollFrame name="$parentScrollPanel" frameStrata="TOOLTIP" hidden="true" clampedToScreen="true" inherits="VuhDoScrollPanelTemplate2">
<Size>
<AbsDimension x="150" y="235" />
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parentRight">
<Offset>
<AbsDimension x="0" y="-22" />
</Offset>
</Anchor>
</Anchors>
<ScrollChild>
<Frame name="$parentSelectPanel" mixin="BackdropTemplateMixin">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Size>
<AbsDimension x="1" y="1" />
</Size>
</Frame>
</ScrollChild>
</ScrollFrame>
</Frames>
<Scripts>
<OnShow>
VUHDO_lnfPatchFont(self, "EditBox");
VUHDO_lnfComboBoxInitFromModel(self);
</OnShow>
<OnHide>
VUHDO_lnfComboSelectHide(self);
</OnHide>
</Scripts>
</Button>
<Button name="VuhDoSpellIdAwareEditComboBoxTemplate" enableMouse="false" virtual="true">
<Size>
<AbsDimension x="1" y="1" />
</Size>
<Layers>
<Layer>
<Texture name="$parentLeft" file="Interface\AddOns\VuhDoOptions\Images\button_combo_edit_128_32">
<Size>
<AbsDimension x="25" y="24" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="17" />
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.1953125" top="0" bottom="1" />
</Texture>
<Texture name="$parentMiddle" file="Interface\AddOns\VuhDoOptions\Images\button_combo_edit_128_32">
<Size>
<AbsDimension x="120" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" />
</Anchors>
<TexCoords left="0.1953125" right="0.8046875" top="0" bottom="1" />
</Texture>
<Texture name="$parentRight" file="Interface\AddOns\VuhDoOptions\Images\button_combo_edit_128_32">
<Size>
<AbsDimension x="25" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT" />
</Anchors>
<TexCoords left="0.8046875" right="1" top="0" bottom="1" />
</Texture>
</Layer>
</Layers>
<Frames>
<EditBox name="$parentEditBox" inherits="VuhDoEditBox3Template">
<Size>
<AbsDimension x="140" y="34" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="7" y="22" />
</Offset>
</Anchor>
</Anchors>
</EditBox>
<Button name="$parentButton" enableMouse="true">
<Size>
<AbsDimension x="32" y="32" />
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentRight">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
VUHDO_lnfComboButtonClicked(self);
</OnClick>
</Scripts>
<NormalTexture name="$parentNormalTexture" file="Interface\AddOns\VuhDoOptions\Images\button_combo_32_32">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="RIGHT" />
</Anchors>
</NormalTexture>
<PushedTexture name="$parentPushedTexture" file="Interface\AddOns\VuhDoOptions\Images\button_combo_pressed_32_32">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="RIGHT" />
</Anchors>
</PushedTexture>
<DisabledTexture>
</DisabledTexture>
<HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="RIGHT" />
</Anchors>
</HighlightTexture>
<Scripts>
<OnEnter>VUHDO_lnfShowTooltip(self:GetParent())</OnEnter>
<OnLeave>VUHDO_lnfHideTooltip(self:GetParent())</OnLeave>
</Scripts>
</Button>
<ScrollFrame name="$parentScrollPanel" frameStrata="TOOLTIP" hidden="true" clampedToScreen="true" inherits="VuhDoScrollPanelTemplate2">
<Size>
<AbsDimension x="150" y="235" />
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parentRight">
<Offset>
<AbsDimension x="0" y="-22" />
</Offset>
</Anchor>
</Anchors>
<ScrollChild>
<Frame name="$parentSelectPanel" mixin="BackdropTemplateMixin">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Size>
<AbsDimension x="1" y="1" />
</Size>
</Frame>
</ScrollChild>
</ScrollFrame>
</Frames>
<Scripts>
<OnShow>
VUHDO_lnfPatchFont(self, "EditBox");
VUHDO_lnfComboBoxInitFromModel(self);
</OnShow>
<OnHide>
VUHDO_lnfComboSelectHide(self);
</OnHide>
</Scripts>
</Button>
<Frame name="VuhDoFrameTemplate" toplevel="true" movable="true" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_FRAME_16_16_1111" type="global" />
</KeyValues>
</Frame>
<Frame name="VuhDoPanelTemplate" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_PANEL_16_16_3333" type="global" />
</KeyValues>
</Frame>
<Frame name="VuhDoWhitePanelTemplate" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_WHITE_PANEL_16_16_3333" type="global" />
</KeyValues>
</Frame>
<Slider name="VuhDoPanelScrollBarTemplate" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_PANEL_SCROLL_BAR_8_8_1111" type="global" />
</KeyValues>
<Size>
<AbsDimension x="16" y="0"/>
</Size>
<Frames>
<Button name="$parentScrollUpButton" inherits="UIPanelScrollUpButtonTemplate">
<Size>
<AbsDimension x="0" y="0" />
</Size>
<Anchors>
<Anchor point="BOTTOM" relativePoint="TOP"/>
</Anchors>
<Scripts>
<OnClick>
local parent = self:GetParent();
parent:SetValue(parent:GetValue() - (parent:GetHeight() * 0.5));
PlaySound(SOUNDKIT.U_CHAT_SCROLL_BUTTON);
</OnClick>
</Scripts>
</Button>
<Button name="$parentScrollDownButton" inherits="UIPanelScrollDownButtonTemplate">
<Size>
<AbsDimension x="0" y="0" />
</Size>
<Anchors>
<Anchor point="TOP" relativePoint="BOTTOM"/>
</Anchors>
<Scripts>
<OnClick>
local parent = self:GetParent();
parent:SetValue(parent:GetValue() + (parent:GetHeight() * 0.5));
PlaySound(SOUNDKIT.U_CHAT_SCROLL_BUTTON);
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnValueChanged>
self:GetParent():SetVerticalScroll(value);
</OnValueChanged>
</Scripts>
<ThumbTexture name="$parentThumbTexture" inherits="UIPanelScrollBarButton" file="Interface\AddOns\VuhDoOptions\Images\slider_thumb_v">
<Size>
<AbsDimension x="18" y="18"/>
</Size>
<TexCoords left="0" right="1" top="0" bottom="1"/>
</ThumbTexture>
</Slider>
<ScrollFrame name="VuhDoScrollPanelTemplate" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_SCROLL_PANEL_16_16_0000" type="global" />
</KeyValues>
<Frames>
<Slider name="$parentScrollBar" inherits="VuhDoPanelScrollBarTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-8" y="-8"/>
</Offset>
</Anchor>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-8" y="8"/>
</Offset>
</Anchor>
</Anchors>
</Slider>
</Frames>
<Scripts>
<OnLoad inherit="prepend">
UIPanelScrollFrame_OnLoad(self);
</OnLoad>
<OnScrollRangeChanged>
ScrollFrame_OnScrollRangeChanged(self, xrange, yrange);
</OnScrollRangeChanged>
<OnVerticalScroll>
local scrollbar = _G[self:GetName().."ScrollBar"];
scrollbar:SetValue(offset);
local min;
local max;
min, max = scrollbar:GetMinMaxValues();
if ( offset == 0 ) then
_G[scrollbar:GetName().."ScrollUpButton"]:Disable();
else
_G[scrollbar:GetName().."ScrollUpButton"]:Enable();
end
if ((scrollbar:GetValue() - max) == 0) then
_G[scrollbar:GetName().."ScrollDownButton"]:Disable();
else
_G[scrollbar:GetName().."ScrollDownButton"]:Enable();
end
</OnVerticalScroll>
<OnMouseWheel>
ScrollFrameTemplate_OnMouseWheel(self, delta);
</OnMouseWheel>
</Scripts>
</ScrollFrame>
<ScrollFrame name="VuhDoScrollPanelTemplate2" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_SCROLL_PANEL_2_16_16_0000" type="global" />
</KeyValues>
<Frames>
<Slider name="$parentScrollBar" inherits="VuhDoPanelScrollBarTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-8" y="-8"/>
</Offset>
</Anchor>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-8" y="8"/>
</Offset>
</Anchor>
</Anchors>
</Slider>
</Frames>
<Scripts>
<OnLoad inherit="prepend">
UIPanelScrollFrame_OnLoad(self);
</OnLoad>
<OnScrollRangeChanged>
ScrollFrame_OnScrollRangeChanged(self, xrange, yrange);
</OnScrollRangeChanged>
<OnVerticalScroll>
local scrollbar = _G[self:GetName().."ScrollBar"];
scrollbar:SetValue(offset);
local min;
local max;
min, max = scrollbar:GetMinMaxValues();
if ( offset == 0 ) then
_G[scrollbar:GetName().."ScrollUpButton"]:Disable();
else
_G[scrollbar:GetName().."ScrollUpButton"]:Enable();
end
if ((scrollbar:GetValue() - max) == 0) then
_G[scrollbar:GetName().."ScrollDownButton"]:Disable();
else
_G[scrollbar:GetName().."ScrollDownButton"]:Enable();
end
</OnVerticalScroll>
<OnMouseWheel>
ScrollFrameTemplate_OnMouseWheel(self, delta);
</OnMouseWheel>
</Scripts>
</ScrollFrame>
<Button name="VuhDoScrollComboBoxTemplate" enableMouse="false" virtual="true">
<Size>
<AbsDimension x="120" y="24" />
</Size>
<Layers>
<Layer>
<Texture name="$parentLeft" file="Interface\AddOns\VuhDoOptions\Images\button_normal_128_32">
<Size>
<AbsDimension x="25" y="24" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="17" />
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.1953125" top="0" bottom="1" />
</Texture>
<Texture name="$parentMiddle" file="Interface\AddOns\VuhDoOptions\Images\button_normal_128_32">
<Size>
<AbsDimension x="100" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" />
</Anchors>
<TexCoords left="0.1953125" right="0.8046875" top="0" bottom="1" />
</Texture>
<Texture name="$parentRight" file="Interface\AddOns\VuhDoOptions\Images\button_normal_128_32">
<Size>
<AbsDimension x="25" y="24" />
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT" />
</Anchors>
<TexCoords left="0.8046875" right="1" top="0" bottom="1" />
</Texture>
<FontString name="$parentText" inherits="VuDoDefaultFontTemplate" text="VUHDO_I18N_SELECT" justifyH="RIGHT">
<Size>
<AbsDimension x="120" y="10" />
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentRight">
<Offset>
<AbsDimension x="-32" y="0" />
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentButton" enableMouse="true">
<Size>
<AbsDimension x="32" y="32" />
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentRight">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
VUHDO_lnfComboButtonClicked(self);
</OnClick>
</Scripts>
<NormalTexture name="$parentNormalTexture" file="Interface\AddOns\VuhDoOptions\Images\button_combo_32_32">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="RIGHT" />
</Anchors>
</NormalTexture>
<PushedTexture name="$parentPushedTexture" file="Interface\AddOns\VuhDoOptions\Images\button_combo_pressed_32_32">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="RIGHT" />
</Anchors>
</PushedTexture>
<DisabledTexture>
</DisabledTexture>
<HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
<Size>
<AbsDimension x="24" y="24" />
</Size>
<Anchors>
<Anchor point="RIGHT" />
</Anchors>
</HighlightTexture>
<Scripts>
<OnEnter>VUHDO_lnfShowTooltip(self:GetParent())</OnEnter>
<OnLeave>VUHDO_lnfHideTooltip(self:GetParent())</OnLeave>
</Scripts>
</Button>
<ScrollFrame name="$parentScrollPanel" hidden="true" frameStrata="TOOLTIP" clampedToScreen="true" inherits="VuhDoScrollPanelTemplate2">
<Size>
<AbsDimension x="150" y="235" />
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parentRight">
<Offset>
<AbsDimension x="0" y="-22" />
</Offset>
</Anchor>
</Anchors>
<ScrollChild>
<Frame name="$parentSelectPanel" mixin="BackdropTemplateMixin">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Size>
<AbsDimension x="1" y="1" />
</Size>
</Frame>
</ScrollChild>
</ScrollFrame>
</Frames>
<Scripts>
<OnShow>
VUHDO_lnfPatchFont(self, "Text");
VUHDO_lnfComboBoxInitFromModel(self);
</OnShow>
<OnHide>
VUHDO_lnfComboSelectHide(self);
</OnHide>
</Scripts>
</Button>
<Frame name="VuhDoPanelAppendBottomTemplate" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_PANEL_APPEND_BOTTOM_16_16_1111" type="global" />
</KeyValues>
</Frame>
<Frame name="VuhDoOptionsTooltip" frameStrata="TOOLTIP" movable="true" hidden="true" inherits="VuhDoPanelTemplate">
<Size>
<AbsDimension x="120" y="120" />
</Size>
<Frames>
<Frame name="$parentText">
<Size>
<AbsDimension x="110" y="110" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="5" y="-5" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<FontString name="$parentText" justifyH="LEFT" inherits="VuDoDefaultFontTemplate">
<Size>
<AbsDimension x="110" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</Frames>
</Frame>
<Frame name="VuhDoYesNoFrame" toplevel="true" frameStrata="TOOLTIP" parent="UIParent" hidden="true">
<Size>
<AbsDimension x="380" y="150"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentPortrait">
<Size>
<AbsDimension x="50" y="50"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="7" y="-6"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture file="Interface\RaidFrame\UI-ReadyCheckFrame">
<Size>
<AbsDimension x="380" y="127"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<TexCoords left="0" right="0.630859375" top="0" bottom="0.7578125"/>
</Texture>
<FontString name="$parentText" inherits="GameFontNormal" text="VUHDO_I18N_O_REALLY">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="15" y="-24"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentYesButton" inherits="UIPanelButtonTemplate" text="VUHDO_I18N_YES">
<Size>
<AbsDimension x="109" y="24"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="85" y="35"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
self:GetParent():GetAttribute("callback")(1);
VuhDoYesNoFrame:Hide();
</OnClick>
</Scripts>
</Button>
<Button name="$parentNoButton" inherits="UIPanelButtonTemplate" text="VUHDO_I18N_NO">
<Size>
<AbsDimension x="109" y="24"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="VuhDoYesNoFrameYesButton" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
self:GetParent():GetAttribute("callback")(2);
VuhDoYesNoFrame:Hide();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnShow>
SetPortraitTexture(_G["VuhDoYesNoFramePortrait"], "player");
</OnShow>
</Scripts>
</Frame>
<Frame name="VuhDoThreeSelectFrame" toplevel="true" frameStrata="TOOLTIP" parent="UIParent" hidden="true">
<Size>
<AbsDimension x="460" y="120"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\RaidFrame\UI-ReadyCheckFrame">
<Size>
<AbsDimension x="460" y="120"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<TexCoords left="0" right="0.630859375" top="0" bottom="0.7578125"/>
</Texture>
<FontString name="$parentText" inherits="GameFontNormal" text="">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="15" y="-24"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentButton1" inherits="UIPanelButtonTemplate" text="1">
<Size>
<AbsDimension x="109" y="24"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="55" y="18"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
self:GetParent():GetAttribute("callback")(1);
VuhDoThreeSelectFrame:Hide();
</OnClick>
</Scripts>
</Button>
<Button name="$parentButton2" inherits="UIPanelButtonTemplate" text="2">
<Size>
<AbsDimension x="109" y="24"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="VuhDoThreeSelectFrameButton1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
self:GetParent():GetAttribute("callback")(2);
VuhDoThreeSelectFrame:Hide();
</OnClick>
</Scripts>
</Button>
<Button name="$parentButton3" inherits="UIPanelButtonTemplate" text="3">
<Size>
<AbsDimension x="109" y="24"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="VuhDoThreeSelectFrameButton2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
self:GetParent():GetAttribute("callback")(3);
VuhDoThreeSelectFrame:Hide();
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<Frame name="VuhDoProgressBar" virtual="true" inherits="VuhDoStatusBar">
<Layers>
<Layer>
<FontString name="$parentText" text="Please wait" inherits="VuDoDarkTitleFontTemplate">
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
VUHDO_refactorStatusbar(self);
self:SetStatusBarTexture("Interface\\AddOns\\VuhDoOptions\\Images\\blue_lt_square_16_16");
self:SetStatusBarColor(1, 1, 1, 1);
self["SetProgress"] = function(self, aValue, aMaxValue)
local tPercent = aValue / aMaxValue;
self:SetValue(tPercent);
_G[self:GetName() .. "Text"]:SetText(" " .. floor(100 * tPercent) .. "%");
end
</OnLoad>
</Scripts>
</Frame>
</Ui>