Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Croc
VuhDo
Commits
fdc22e49
Commit
fdc22e49
authored
7 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Display specialization names on option checkboxes
parent
855cb631
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
98 additions
and
14 deletions
+98
-14
VuhDo.toc
VuhDo.toc
+1
-1
VuhDoOptions/VuhDoNewOptionsToolsKeyLayouts.lua
VuhDoOptions/VuhDoNewOptionsToolsKeyLayouts.lua
+31
-0
VuhDoOptions/VuhDoNewOptionsToolsKeyLayouts.xml
VuhDoOptions/VuhDoNewOptionsToolsKeyLayouts.xml
+8
-8
VuhDoOptions/VuhDoNewOptionsToolsSkins.lua
VuhDoOptions/VuhDoNewOptionsToolsSkins.lua
+25
-0
VuhDoOptions/VuhDoNewOptionsToolsSkins.xml
VuhDoOptions/VuhDoNewOptionsToolsSkins.xml
+4
-4
VuhDoOptions/VuhDoOptions.toc
VuhDoOptions/VuhDoOptions.toc
+1
-1
changelog.txt
changelog.txt
+28
-0
No files found.
VuhDo.toc
View file @
fdc22e49
## Interface: 70300
## Title: VuhDo ['vu:du:]
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.
8
9
## Version: 3.9
0
## Notes: Raid Frames providing click-heal functionality, buff and debuff control, main tank management and much more
## SavedVariablesPerCharacter: VUHDO
_
CONFIG, VUHDO
_
PANEL
_
SETUP, VUHDO
_
SPELL
_
ASSIGNMENTS, VUHDO
_
HOSTILE
_
SPELL
_
ASSIGNMENTS, VUHDO
_
MM
_
SETTINGS, VUHDO
_
PLAYER
_
TARGETS, VUHDO
_
MAINTANK
_
NAMES, VUHDO
_
BUFF
_
SETTINGS, VUHDO
_
POWER
_
TYPE
_
COLORS, VUHDO
_
SPELLS
_
KEYBOARD, VUHDO
_
SPELL
_
CONFIG, VUHDO
_
BUFF
_
ORDER, VUHDO
_
SPEC
_
LAYOUTS, VUHDO
_
GROUP
_
SIZE, VUHDO
_
RAID, VUHDO
_
INDICATOR
_
CONFIG
## SavedVariables: VUHDO
_
DEFAULT
_
LAYOUT, VUHDO
_
DEFAULT
_
PROFILE, VUHDO
_
PROFILES, VUHDO
_
MANUAL
_
ROLES, VUHDO
_
SPELL
_
LAYOUTS, VUHDO
_
USER
_
CLASS
_
COLORS, VUHDO
_
DEBUFF
_
BLACKLIST, VUHDO
_
BOUQUETS, VUHDO
_
COMBAT
_
LOG
_
TRACE, VUHDO
_
GLOBAL
_
CONFIG, VUHDO
_
DEBUG
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoNewOptionsToolsKeyLayouts.lua
View file @
fdc22e49
...
...
@@ -63,6 +63,37 @@ end
--
function
VUHDO_keyLayoutInitSpecCheckButton
(
aCheckButton
,
aSpecId
)
aCheckButton
:
SetChecked
(
VUHDO_CURR_LAYOUT
==
VUHDO_SPEC_LAYOUTS
[
aSpecId
]);
VUHDO_lnfCheckButtonClicked
(
aCheckButton
);
local
tIndexName
;
local
tSpecId
=
tonumber
(
aSpecId
)
or
0
;
if
(
tSpecId
==
1
)
then
tIndexName
=
VUHDO_I18N_SPEC_1
;
elseif
(
tSpecId
==
2
)
then
tIndexName
=
VUHDO_I18N_SPEC_2
;
elseif
(
tSpecId
==
3
)
then
tIndexName
=
VUHDO_I18N_SPEC_3
;
elseif
(
tSpecId
==
4
)
then
tIndexName
=
VUHDO_I18N_SPEC_4
;
end
if
tIndexName
then
local
_
,
tSpecName
=
GetSpecializationInfo
(
tSpecId
);
if
tSpecName
then
_G
[
aCheckButton
:
GetName
()
..
"Label"
]:
SetText
(
tIndexName
..
"
\n
("
..
string.sub
(
tSpecName
,
1
,
4
)
..
")"
);
end
end
end
--
function
VUHDO_deleteKeyLayoutCallback
(
aDecision
)
if
(
VUHDO_YES
==
aDecision
)
then
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoNewOptionsToolsKeyLayouts.xml
View file @
fdc22e49
...
...
@@ -129,8 +129,8 @@
</OnClick>
<OnShow>
VUHDO_lnfPatchFont(self, "Label");
self:SetChecked(VUHDO_CURR_LAYOUT == VUHDO_SPEC_LAYOUTS["2"]
);
VUHDO_
lnfCheckButtonClicked(self
);
VUHDO_lnfCheckButtonInitFromModel(self
);
VUHDO_
keyLayoutInitSpecCheckButton(self, "2"
);
</OnShow>
</Scripts>
</CheckButton>
...
...
@@ -153,8 +153,8 @@
</OnClick>
<OnShow>
VUHDO_lnfPatchFont(self, "Label");
self:SetChecked(VUHDO_CURR_LAYOUT == VUHDO_SPEC_LAYOUTS["1"]
);
VUHDO_
lnfCheckButtonClicked(self
);
VUHDO_lnfCheckButtonInitFromModel(self
);
VUHDO_
keyLayoutInitSpecCheckButton(self, "1"
);
</OnShow>
</Scripts>
</CheckButton>
...
...
@@ -177,8 +177,8 @@
</OnClick>
<OnShow>
VUHDO_lnfPatchFont(self, "Label");
self:SetChecked(VUHDO_CURR_LAYOUT == VUHDO_SPEC_LAYOUTS["3"]
);
VUHDO_
lnfCheckButtonClicked(self
);
VUHDO_lnfCheckButtonInitFromModel(self
);
VUHDO_
keyLayoutInitSpecCheckButton(self, "3"
);
</OnShow>
</Scripts>
</CheckButton>
...
...
@@ -201,8 +201,8 @@
</OnClick>
<OnShow>
VUHDO_lnfPatchFont(self, "Label");
self:SetChecked(VUHDO_CURR_LAYOUT == VUHDO_SPEC_LAYOUTS["4"]
);
VUHDO_
lnfCheckButtonClicked(self
);
VUHDO_lnfCheckButtonInitFromModel(self
);
VUHDO_
keyLayoutInitSpecCheckButton(self, "4"
);
</OnShow>
</Scripts>
</CheckButton>
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoNewOptionsToolsSkins.lua
View file @
fdc22e49
...
...
@@ -103,6 +103,31 @@ end
function
VUHDO_skinsInitAutoCheckButton
(
aButton
,
anIndex
)
aButton
:
SetChecked
(
VUHDO_isAutoProfileButtonEnabled
(
anIndex
));
VUHDO_lnfCheckButtonClicked
(
aButton
);
local
tIndexStart
,
tIndexEnd
=
strfind
(
anIndex
,
"SPEC"
,
1
,
true
);
if
((
tIndexStart
==
1
)
and
tIndexEnd
)
then
local
tIndexName
;
local
tSpecId
=
tonumber
(
string.sub
(
anIndex
,
tIndexEnd
+
2
,
tIndexEnd
+
2
));
if
(
tSpecId
==
1
)
then
tIndexName
=
VUHDO_I18N_SPEC_1
;
elseif
(
tSpecId
==
2
)
then
tIndexName
=
VUHDO_I18N_SPEC_2
;
elseif
(
tSpecId
==
3
)
then
tIndexName
=
VUHDO_I18N_SPEC_3
;
elseif
(
tSpecId
==
4
)
then
tIndexName
=
VUHDO_I18N_SPEC_4
;
end
if
tIndexName
then
local
_
,
tSpecName
=
GetSpecializationInfo
(
tSpecId
);
if
tSpecName
then
_G
[
aButton
:
GetName
()
..
"Label"
]:
SetText
(
tIndexName
..
"
\n
("
..
string.sub
(
tSpecName
,
1
,
4
)
..
")"
);
end
end
end
end
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoNewOptionsToolsSkins.xml
View file @
fdc22e49
...
...
@@ -498,7 +498,7 @@
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K475);
</OnLoad>
<OnShow>
VUHDO_lnfPatchFont(self, "Label");
VUHDO_lnfRadioButtonOnShow(self);
VUHDO_lnfPatchFont(self, "Label");
VUHDO_lnfCheckButtonInitFromModel(self);
VUHDO_skinsInitAutoCheckButton(self, "SPEC_1");
</OnShow>
...
...
@@ -525,7 +525,7 @@
VUHDO_lnfSetTooltip(self, VUHDO_I18N_TT.K476);
</OnLoad>
<OnShow>
VUHDO_lnfPatchFont(self, "Label");
VUHDO_lnfRadioButtonOnShow(self);
VUHDO_lnfPatchFont(self, "Label");
VUHDO_lnfCheckButtonInitFromModel(self);
VUHDO_skinsInitAutoCheckButton(self, "SPEC_2");
</OnShow>
...
...
@@ -549,7 +549,7 @@
</Anchors>
<Scripts>
<OnShow>
VUHDO_lnfPatchFont(self, "Label");
VUHDO_lnfRadioButtonOnShow(self);
VUHDO_lnfPatchFont(self, "Label");
VUHDO_lnfCheckButtonInitFromModel(self);
VUHDO_skinsInitAutoCheckButton(self, "SPEC_3");
</OnShow>
...
...
@@ -573,7 +573,7 @@
</Anchors>
<Scripts>
<OnShow>
VUHDO_lnfPatchFont(self, "Label");
VUHDO_lnfRadioButtonOnShow(self);
VUHDO_lnfPatchFont(self, "Label");
VUHDO_lnfCheckButtonInitFromModel(self);
VUHDO_skinsInitAutoCheckButton(self, "SPEC_4");
</OnShow>
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoOptions.toc
View file @
fdc22e49
## Interface: 70300
## Title: VuhDo ['vu:du:] - Options
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.
8
9
## Version: 3.9
0
## Notes: VuhDo Options
## SavedVariables: VUHDO
_
OPTIONS
_
SETTINGS
## SavedVariablesPerCharacter: VUHDO
_
GLOBAL
_
ICONS, VUHDO
_
GI
_
SCAN
_
IDX
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
fdc22e49
Version 3.90
Known issues:
-- Limited support for Class Order Hall Bodyguards
-- Bodyguards can be used in panels when set to target or focus
-- Bodyguards have no unit ID so for now are only partially supported
-- Incoming heal estimation reported is not even close to accurate
-- Bug in Blizzard API UnitGetIncomingHeals() - returns bogus values
-- Patch 7.1 disabled retrieval of unit facing and position in instances
-- This was an intentional breaking change by Blizzard
-- This breaks AOE Advice, Clusters and out-of-range direction arrow
-- At this time there is no way to fix or renable these features
-- Blizzard has changed the way vehicles work for Antoran High Command
-- For now I've just disabled the proper vehicle support
-- Targeting a player in vehicle will still targe the vehicle unit
-- However, mouseover/click-to-heal should work properly
-- Healing actual vehicles (e.g. Ulduar) is now broken though
Bugfixes:
Improvements:
-- Display specialization names on option checkboxes
--------------------------------------------------------------
Version 3.89
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment