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.

202 lines
6.6 KiB

<Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Frame name="VuhDoNewOptionsBuffsAppearanceTemplate" virtual="true">
<Frames>
<Frame name="$parentFormatPanel" inherits="VuhDoPanelTemplate">
<Size>
<AbsDimension x="160" y="120" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="280" y="-70" />
</Offset>
</Anchor>
</Anchors>
<Frames>
<Frame name="$parentScaleSlider" inherits="VuhDoHSliderTemplate">
<Size>
<AbsDimension x="128" y="32" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="13" y="-40" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetModel(self, "VUHDO_BUFF_SETTINGS.CONFIG.SCALE");
VUHDO_lnfSliderOnLoad(self, VUHDO_I18N_SCALE, 0.5, 2, "", 0.05);
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K005);
VUHDO_lnfAddConstraint(self, VUHDO_LF_CONSTRAINT_DISABLE, "VUHDO_BUFF_SETTINGS.CONFIG.SHOW", false);
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentTitleLabel" inherits="VuhDoLabelFrameTemplate">
<Layers>
<Layer>
<FontString name="$parentLabel" inherits="VuDoDefaultTitleFontTemplate" text="VUHDO_I18N_FORMAT">
</FontString>
</Layer>
</Layers>
</Frame>
<Frame name="$parentBuffsPerColumnSlider" inherits="VuhDoHSliderTemplate">
<Size>
<AbsDimension x="128" y="32" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="13" y="-78" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetModel(self, "VUHDO_BUFF_SETTINGS.CONFIG.PANEL_MAX_BUFFS");
VUHDO_lnfSliderOnLoad(self, VUHDO_I18N_MAX_BUFFS_PER_ROW, 1, 12, "", 1);
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K007);
VUHDO_lnfAddConstraint(self, VUHDO_LF_CONSTRAINT_DISABLE, "VUHDO_BUFF_SETTINGS.CONFIG.SHOW", false);
</OnLoad>
</Scripts>
</Frame>
</Frames>
</Frame>
<Frame name="$parentGeneralPanel" inherits="VuhDoPanelTemplate">
<Size>
<AbsDimension x="173" y="285" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="70" y="-52" />
</Offset>
</Anchor>
</Anchors>
<Frames>
<Frame name="$parentRefreshSlider" inherits="VuhDoHSliderTemplate">
<Size>
<AbsDimension x="147" y="32" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="13" y="-242" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetModel(self, "VUHDO_BUFF_SETTINGS.CONFIG.REFRESH_SECS");
VUHDO_lnfSliderOnLoad(self, VUHDO_I18N_REFRESH_RATE, 0.1, 3, " " .. VUHDO_I18N_SECS, 0.1);
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K008);
VUHDO_lnfAddConstraint(self, VUHDO_LF_CONSTRAINT_DISABLE, "VUHDO_BUFF_SETTINGS.CONFIG.SHOW", false);
</OnLoad>
</Scripts>
</Frame>
<CheckButton name="$parentHideOutOfCombatCheckButton" text="VUHDO_I18N_HIDE_OUT_OF_COMBAT" inherits="VuhDoCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="28" y="-192" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetModel(self, "VUHDO_BUFF_SETTINGS.CONFIG.HIDE_OUT_OF_COMBAT");
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K558);
VUHDO_lnfAddConstraint(self, VUHDO_LF_CONSTRAINT_DISABLE, "VUHDO_BUFF_SETTINGS.CONFIG.SHOW", false);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parentHideChargesCheckButton" text="VUHDO_I18N_HIDE_CHARGES" inherits="VuhDoCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="28" y="-154" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetModel(self, "VUHDO_BUFF_SETTINGS.CONFIG.HIDE_CHARGES");
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K156);
VUHDO_lnfAddConstraint(self, VUHDO_LF_CONSTRAINT_DISABLE, "VUHDO_BUFF_SETTINGS.CONFIG.SHOW", false);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parentBuffNamesCheckButton" text="VUHDO_I18N_BUFF_NAMES" inherits="VuhDoCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="28" y="-116" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetModel(self, "VUHDO_BUFF_SETTINGS.CONFIG.SHOW_LABEL");
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K009);
VUHDO_lnfAddConstraint(self, VUHDO_LF_CONSTRAINT_DISABLE, "VUHDO_BUFF_SETTINGS.CONFIG.SHOW", false);
VUHDO_lnfAddConstraint(self, VUHDO_LF_CONSTRAINT_DISABLE, "VUHDO_BUFF_SETTINGS.CONFIG.COMPACT", true);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parentCompactCheckButton" text="VUHDO_I18N_COMPACT" inherits="VuhDoCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="28" y="-78" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetModel(self, "VUHDO_BUFF_SETTINGS.CONFIG.COMPACT");
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K458);
VUHDO_lnfAddConstraint(self, VUHDO_LF_CONSTRAINT_DISABLE, "VUHDO_BUFF_SETTINGS.CONFIG.SHOW", false);
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parentShowCheckButton" text="VUHDO_I18N_ENABLE" inherits="VuhDoCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="28" y="-40" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetModel(self, "VUHDO_BUFF_SETTINGS.CONFIG.SHOW");
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K011);
</OnLoad>
</Scripts>
</CheckButton>
<Frame name="$parentGeneralLabel" inherits="VuhDoLabelFrameTemplate">
<Layers>
<Layer>
<FontString name="$parentLabel" text="VUHDO_I18N_GENERAL_SHORT" inherits="VuDoDefaultTitleFontTemplate">
</FontString>
</Layer>
</Layers>
</Frame>
</Frames>
</Frame>
</Frames>
</Frame>
</Ui>