Commit f449f759 authored by Ivaria's avatar Ivaria
Browse files

Merge branch 'zosyn_DF_hot_icon_text_only' into 'master'

Implementing TEXT only option for HoT Icons.

See merge request !71
parents 21c26a17 d54616fd
......@@ -640,6 +640,7 @@ VUHDO_I18N_TT.K582 = "Select the unit to target.";
VUHDO_I18N_TT.K583 = "Check to make all HoT icons fade out when the HoT is expiring.";
VUHDO_I18N_TT.K584 = "Check to make all HoT icons flash when the HoT is expiring.";
VUHDO_I18N_TT.K585 = "Select a color for Evokers";
VUHDO_I18N_TT.K586 = "Enable to show text only with no icon.";
VUHDO_I18N_DEFAULT_PROFILE = "Default Profile";
VUHDO_I18N_DEFAULT_LAYOUT = "Default Layout";
......@@ -817,6 +818,7 @@ VUHDO_I18N_SOLIDD = "Solid";
VUHDO_I18N_HORIZONTAL = "Horizontal";
VUHDO_I18N_FLAT_TEXTURE = "Flat";
VUHDO_I18N_HOT_ICONS = "HoT Icons";
VUHDO_I18N_TEXT_ONLY = "Text only";
VUHDO_I18N_TARGET_OF_TARGET = "Target of target";
VUHDO_I18N_VERBOSE = "Verbose";
VUHDO_I18N_1_DOT = "1.";
......
......@@ -262,6 +262,23 @@
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parentTextOnlyRadioButton" text="VUHDO_I18N_TEXT_ONLY" inherits="VuhDoRadioButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-100" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetRadioModel(self, "VUHDO_PANEL_SETUP.HOTS.stacksRadioValue", 4);
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K586);
</OnLoad>
</Scripts>
</CheckButton>
</Frames>
</Frame>
......
......@@ -167,7 +167,9 @@ local function VUHDO_initHotIcon(anIndex)
tHotIcon:SetTexture("Interface\\AddOns\\VuhDo\\Images\\hot_flat_16_16");
elseif sIconRadio == 2 then -- Glossy
tHotIcon:SetTexture("Interface\\AddOns\\VuhDo\\Images\\icon_white_square");
else
elseif sIconRadio == 4 then -- Text only
tHotIcon:Hide();
local tHotName = sHotConfig["SLOTS"][anIndex];
if VUHDO_CAST_ICON_DIFF[tHotName] then
tHotIcon:SetTexture(VUHDO_CAST_ICON_DIFF[tHotName]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment