Commit 32d6a2c5 authored by Ivaria's avatar Ivaria
Browse files

Added option to only show text with no icon for HoT Icons

parent f449f759
......@@ -641,6 +641,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";
......@@ -1169,3 +1170,5 @@ VUHDO_I18N_MOUSEOVER_TARGET_HARM = "Mouseover's target unit (hostile only)";
VUHDO_I18N_MOUSEOVER_TARGET_TARGET_HARM = "Mouseover's target's target unit (hostile only)";
VUHDO_I18N_CLOCK = "Clock";
VUHDO_I18N_TEXT_ONLY = "Text only";
......@@ -818,7 +818,6 @@ 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.";
......@@ -1171,3 +1170,6 @@ VUHDO_I18N_MOUSEOVER_TARGET_HARM = "Mouseover's target unit (hostile only)";
VUHDO_I18N_MOUSEOVER_TARGET_TARGET_HARM = "Mouseover's target's target unit (hostile only)";
VUHDO_I18N_CLOCK = "Clock";
VUHDO_I18N_TEXT_ONLY = "Text only";
......@@ -648,6 +648,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";
......@@ -1184,3 +1185,5 @@ VUHDO_I18N_MOUSEOVER_TARGET_HARM = "Mouseover's target unit (hostile only)";
VUHDO_I18N_MOUSEOVER_TARGET_TARGET_HARM = "Mouseover's target's target unit (hostile only)";
VUHDO_I18N_CLOCK = "Clock";
VUHDO_I18N_TEXT_ONLY = "Text only";
......@@ -650,6 +650,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";
......@@ -1185,3 +1186,5 @@ VUHDO_I18N_MOUSEOVER_TARGET_HARM = "Mouseover's target unit (hostile only)";
VUHDO_I18N_MOUSEOVER_TARGET_TARGET_HARM = "Mouseover's target's target unit (hostile only)";
VUHDO_I18N_CLOCK = "Clock";
VUHDO_I18N_TEXT_ONLY = "Text only";
......@@ -644,6 +644,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 = "기본 프로필";
VUHDO_I18N_DEFAULT_LAYOUT = "기본 배치";
......@@ -1175,3 +1176,5 @@ VUHDO_I18N_MOUSEOVER_TARGET_HARM = "Mouseover's target unit (hostile only)";
VUHDO_I18N_MOUSEOVER_TARGET_TARGET_HARM = "Mouseover's target's target unit (hostile only)";
VUHDO_I18N_CLOCK = "Clock";
VUHDO_I18N_TEXT_ONLY = "Text only";
......@@ -746,6 +746,7 @@ VUHDO_I18N_TT.K582 = "Выберите юнита для взятия в цел
VUHDO_I18N_TT.K583 = "Отметьте, что бы иконки всех ХоТ-ок затухали при спадении.";
VUHDO_I18N_TT.K584 = "Отметьте, что бы иконки всех ХоТ-ок мигали при спадении.";
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 = "Стандартный\nпрофиль";
VUHDO_I18N_DEFAULT_LAYOUT = "Стандартная раскладка клавиш ";
......@@ -1347,3 +1348,5 @@ VUHDO_I18N_MOUSEOVER_TARGET_HARM = "Цель юнита под мышкой (т
VUHDO_I18N_MOUSEOVER_TARGET_TARGET_HARM = "Цель цели юнита под мышкой (только враждебный)";
VUHDO_I18N_CLOCK = "Стрелка\nЧасов";
VUHDO_I18N_TEXT_ONLY = "Text only";
......@@ -642,6 +642,7 @@ VUHDO_I18N_TT.K582 = "选择释放的目标";
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 = "预设存档";
VUHDO_I18N_DEFAULT_LAYOUT = "预设按键配置";
......@@ -1171,3 +1172,5 @@ VUHDO_I18N_MOUSEOVER_TARGET_HARM = "鼠标指向的目标单位 (仅敌对)";
VUHDO_I18N_MOUSEOVER_TARGET_TARGET_HARM = "鼠标指向目标的目标单位 (仅敌对)";
VUHDO_I18N_CLOCK = "时钟";
VUHDO_I18N_TEXT_ONLY = "Text only";
......@@ -642,6 +642,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";
......@@ -1171,3 +1172,5 @@ VUHDO_I18N_MOUSEOVER_TARGET_HARM = "Mouseover's target unit (hostile only)";
VUHDO_I18N_MOUSEOVER_TARGET_TARGET_HARM = "Mouseover's target's target unit (hostile only)";
VUHDO_I18N_CLOCK = "Clock";
VUHDO_I18N_TEXT_ONLY = "Text only";
......@@ -170,7 +170,7 @@
<Frame name="$parentHotsPanel" inherits="VuhDoPanelTemplate">
<Size>
<AbsDimension x="240" y="395" />
<AbsDimension x="240" y="433" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
......@@ -264,21 +264,20 @@
</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>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-114" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
VUHDO_lnfSetRadioModel(self, "VUHDO_PANEL_SETUP.HOTS.iconRadioValue", 4);
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K586);
</OnLoad>
</Scripts>
</CheckButton>
</Frames>
</Frame>
......
......@@ -163,13 +163,13 @@ local function VUHDO_initHotIcon(anIndex)
tCounter:Hide();
tHotIcon:SetTexture("Interface\\AddOns\\VuhDo\\Images\\cluster2");
else
if sIconRadio == 3 then -- Flat
if sIconRadio == 4 then -- Text only
tHotIcon:Hide();
elseif sIconRadio == 3 then -- Flat
tHotIcon:SetTexture("Interface\\AddOns\\VuhDo\\Images\\hot_flat_16_16");
elseif sIconRadio == 2 then -- Glossy
tHotIcon:SetTexture("Interface\\AddOns\\VuhDo\\Images\\icon_white_square");
elseif sIconRadio == 4 then -- Text only
tHotIcon:Hide();
else
local tHotName = sHotConfig["SLOTS"][anIndex];
if VUHDO_CAST_ICON_DIFF[tHotName] then
tHotIcon:SetTexture(VUHDO_CAST_ICON_DIFF[tHotName]);
......
......@@ -22,6 +22,7 @@ Bugfixes:
Improvements:
-- Added option to only show text with no icon for HoT Icons
--------------------------------------------------------------
......
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