Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
fuba82
AddOnSkins
Commits
d08ae01a
Commit
d08ae01a
authored
Jul 19, 2016
by
Azilroka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3.31 Legion Pre-Patch
parent
e0383e3e
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
51 additions
and
203 deletions
+51
-203
AddOnSkins.toc
AddOnSkins.toc
+2
-2
Core/API.lua
Core/API.lua
+21
-0
Init.lua
Init.lua
+1
-7
Skins/Blizzard/Character.lua
Skins/Blizzard/Character.lua
+1
-7
Skins/Blizzard/ExtraButtons.lua
Skins/Blizzard/ExtraButtons.lua
+12
-12
Skins/Blizzard/Guild.lua
Skins/Blizzard/Guild.lua
+0
-7
Skins/Blizzard/Quest.lua
Skins/Blizzard/Quest.lua
+1
-1
Skins/Blizzard/Spellbook.lua
Skins/Blizzard/Spellbook.lua
+0
-45
Skins/Blizzard/Talents.lua
Skins/Blizzard/Talents.lua
+4
-121
Skins/Blizzard/WorldMap.lua
Skins/Blizzard/WorldMap.lua
+9
-1
No files found.
AddOnSkins.toc
View file @
d08ae01a
## Interface:
602
00
## Interface:
700
00
## Title: |cff1784d1AddOnSkins|r
## Version: 3.3
0
## Version: 3.3
1
## Author: Azilroka, Sortokk
## SavedVariablesPerCharacter: AddOnSkinsOptions
## OptionalDep: ElvUI, BuyEmAll, DSM, Tukui, HydraUI
...
...
Core/API.lua
View file @
d08ae01a
...
...
@@ -158,6 +158,7 @@ local BlizzardRegions = {
function
AS
:
SkinButton
(
Button
,
Strip
)
if
Button
.
isSkinned
then
return
end
local
ButtonName
=
Button
:
GetName
()
if
ButtonName
then
...
...
@@ -192,6 +193,26 @@ function AS:SkinButton(Button, Strip)
Button
:
HookScript
(
"OnLeave"
,
function
(
self
)
self
:
SetBackdropBorderColor
(
unpack
(
AS
.
BorderColor
))
end
)
if
Button
.
Flash
then
Button
.
Flash
:
SetTexture
(
0
,
0
,
0
,
0
)
--[[
AS:CreateBackdrop(Button)
Button.Backdrop:SetAllPoints()
Button.Backdrop:SetBackdropBorderColor(1, 0, 0, 1)
Button.Backdrop:SetBackdropColor(0, 0, 0, 0)
Button.Backdrop:SetFrameStrata(Button:GetFrameStrata())
Button.Backdrop:SetFrameLevel(Button:GetFrameLevel() + 4)
Button.Backdrop:SetScript('OnUpdate', function(self)
if Button.Flash:IsShown() then
self:SetAlpha(Button.Flash:GetAlpha())
else
self:SetAlpha(0)
end
end)
]]
end
end
function
AS
:
CreateShadow
(
Frame
)
...
...
Init.lua
View file @
d08ae01a
local
AddOnName
,
Engine
=
...
local
AddOn
=
LibStub
(
'AceAddon-3.0'
):
NewAddon
(
'AddOnSkins'
,
'AceConsole-3.0'
,
'AceEvent-3.0'
,
'AceTimer-3.0'
,
'AceHook-3.0'
)
local
ToCVersion
=
select
(
4
,
GetBuildInfo
())
Engine
[
1
]
=
AddOn
Engine
[
2
]
=
{}
-- Media
Engine
[
3
]
=
{}
-- Locale
...
...
@@ -19,11 +17,7 @@ AddOn.Noop = function() end
AddOn
.
TexCoords
=
{.
08
,
.
92
,
.
08
,
.
92
}
AddOn
.
UIScale
=
UIParent
:
GetScale
()
if
ToCVersion
>=
70000
then
AddOn
.
Resolution
=
GetCVar
(
"gxWindowedResolution"
)
else
AddOn
.
Resolution
=
GetCVar
(
"gxResolution"
)
end
AddOn
.
Resolution
=
GetCVar
(
"gxWindowedResolution"
)
AddOn
.
ScreenHeight
=
tonumber
(
strmatch
(
AddOn
.
Resolution
,
"%d+x(%d+)"
))
AddOn
.
ScreenWidth
=
tonumber
(
strmatch
(
AddOn
.
Resolution
,
"(%d+)x+%d"
))
...
...
Skins/Blizzard/Character.lua
View file @
d08ae01a
...
...
@@ -48,12 +48,6 @@ function AS:Blizzard_CharacterFrame()
AS
:
StripTextures
(
CharacterFrameInsetRight
)
AS
:
StripTextures
(
CharacterStatsPane
)
if
CharacterFrameExpandButton
then
CharacterFrameExpandButton
:
Size
(
CharacterFrameExpandButton
:
GetWidth
()
-
5
,
CharacterFrameExpandButton
:
GetHeight
()
-
5
)
AS
:
SkinNextPrevButton
(
CharacterFrameExpandButton
)
CharacterFrameExpandButton
:
SetPoint
(
'BOTTOMRIGHT'
,
CharacterFrameInset
,
'BOTTOMRIGHT'
,
-
4
,
4
)
end
EquipmentFlyoutFrameHighlight
:
Kill
()
local
function
SkinItemFlyouts
()
...
...
@@ -151,7 +145,7 @@ function AS:Blizzard_CharacterFrame()
Button
.
icon
:
SetInside
()
end
for
i
=
1
,
2
do
for
i
=
1
,
3
do
AS
:
SkinTab
(
_G
[
"CharacterFrameTab"
..
i
])
end
...
...
Skins/Blizzard/ExtraButtons.lua
View file @
d08ae01a
...
...
@@ -6,20 +6,20 @@ local function DisableTexture(self, texture)
end
end
function
AS
:
Blizzard_
Draenor
AbilityButton
()
Draenor
ZoneAbilityFrame
.
SpellButton
:
SetNormalTexture
(
''
)
AS
:
SetTemplate
(
Draenor
ZoneAbilityFrame
.
SpellButton
)
AS
:
StyleButton
(
Draenor
ZoneAbilityFrame
.
SpellButton
)
AS
:
SkinTexture
(
Draenor
ZoneAbilityFrame
.
SpellButton
.
Icon
)
Draenor
ZoneAbilityFrame
.
SpellButton
.
Icon
:
SetDrawLayer
(
'ARTWORK'
)
Draenor
ZoneAbilityFrame
.
SpellButton
.
Icon
:
SetInside
()
Draenor
ZoneAbilityFrame
.
SpellButton
.
Cooldown
:
SetInside
()
Draenor
ZoneAbilityFrame
.
SpellButton
.
Cooldown
:
SetSwipeColor
(
0
,
0
,
0
,
1
)
Draenor
ZoneAbilityFrame
.
SpellButton
.
Cooldown
:
SetDrawBling
(
false
)
hooksecurefunc
(
Draenor
ZoneAbilityFrame
.
SpellButton
.
Style
,
'SetTexture'
,
DisableTexture
)
function
AS
:
Blizzard_AbilityButton
()
ZoneAbilityFrame
.
SpellButton
:
SetNormalTexture
(
''
)
AS
:
SetTemplate
(
ZoneAbilityFrame
.
SpellButton
)
AS
:
StyleButton
(
ZoneAbilityFrame
.
SpellButton
)
AS
:
SkinTexture
(
ZoneAbilityFrame
.
SpellButton
.
Icon
)
ZoneAbilityFrame
.
SpellButton
.
Icon
:
SetDrawLayer
(
'ARTWORK'
)
ZoneAbilityFrame
.
SpellButton
.
Icon
:
SetInside
()
ZoneAbilityFrame
.
SpellButton
.
Cooldown
:
SetInside
()
ZoneAbilityFrame
.
SpellButton
.
Cooldown
:
SetSwipeColor
(
0
,
0
,
0
,
1
)
ZoneAbilityFrame
.
SpellButton
.
Cooldown
:
SetDrawBling
(
false
)
hooksecurefunc
(
ZoneAbilityFrame
.
SpellButton
.
Style
,
'SetTexture'
,
DisableTexture
)
end
AS
:
RegisterSkin
(
'Blizzard_
Draenor
AbilityButton'
,
AS
.
Blizzard_
Draenor
AbilityButton
)
AS
:
RegisterSkin
(
'Blizzard_AbilityButton'
,
AS
.
Blizzard_AbilityButton
)
function
AS
:
Blizzard_ExtraActionButton
()
ExtraActionButton1
:
SetNormalTexture
(
''
)
...
...
Skins/Blizzard/Guild.lua
View file @
d08ae01a
...
...
@@ -37,13 +37,6 @@ function AS:Blizzard_Guild(event, addon)
AS
:
SkinCloseButton
(
GuildRegistrarFrameCloseButton
)
AS
:
SkinEditBox
(
GuildRegistrarFrameEditBox
,
nil
,
20
)
--[[ for i = 1, GuildRegistrarFrameEditBox:GetNumRegions() do
local region = select(i, GuildRegistrarFrameEditBox:GetRegions())
if region:IsObjectType("Texture") and strfind(region:GetTexture(), "Interface\\ChatFrame\\UI%-ChatInputBorder%-") then
region:Kill()
end
end
]]
for
i
=
1
,
2
do
_G
[
"GuildRegistrarButton"
..
i
]:
GetFontString
():
SetTextColor
(
1
,
1
,
1
)
end
...
...
Skins/Blizzard/Quest.lua
View file @
d08ae01a
...
...
@@ -178,7 +178,7 @@ function AS:Blizzard_Quest()
QuestInfoRewardText
:
SetTextColor
(
1
,
1
,
1
)
QuestInfoRewardsFrame
.
ItemChooseText
:
SetTextColor
(
1
,
1
,
1
);
QuestInfoRewardsFrame
.
ItemReceiveText
:
SetTextColor
(
1
,
1
,
1
);
QuestInfoRewardsFrame
.
SpellLearnText
:
SetTextColor
(
1
,
1
,
1
);
--
QuestInfoRewardsFrame.SpellLearnText:SetTextColor(1, 1, 1);
QuestInfoRewardsFrame
.
PlayerTitleText
:
SetTextColor
(
1
,
1
,
1
);
QuestInfoRewardsFrame
.
XPFrame
.
ReceiveText
:
SetTextColor
(
1
,
1
,
1
);
local
numObjectives
=
GetNumQuestLeaderBoards
()
...
...
Skins/Blizzard/Spellbook.lua
View file @
d08ae01a
...
...
@@ -150,51 +150,6 @@ function AS:Blizzard_Spellbook()
SpellBookFrameTabButton1
:
ClearAllPoints
()
SpellBookFrameTabButton1
:
Point
(
"TOPLEFT"
,
SpellBookFrame
,
"BOTTOMLEFT"
,
-
5
,
2
)
if
SpellBook_UpdateCoreAbilitiesTab
then
hooksecurefunc
(
"SpellBook_UpdateCoreAbilitiesTab"
,
function
()
for
i
=
1
,
#
SpellBookCoreAbilitiesFrame
.
Abilities
do
local
button
=
SpellBookCoreAbilitiesFrame
.
Abilities
[
i
]
if
button
and
not
button
.
isSkinned
then
AS
:
SetTemplate
(
button
)
button
.
EmptySlot
:
SetAlpha
(
0
)
button
.
ActiveTexture
:
SetAlpha
(
0
)
button
.
FutureTexture
:
SetAlpha
(
0
)
AS
:
SkinTexture
(
button
.
iconTexture
)
button
.
iconTexture
:
SetInside
()
if
button
.
FutureTexture
:
IsShown
()
then
button
.
iconTexture
:
SetDesaturated
(
true
)
button
.
Name
:
SetTextColor
(
0
.
6
,
0
.
6
,
0
.
6
)
button
.
InfoText
:
SetTextColor
(
0
.
6
,
0
.
6
,
0
.
6
)
button
.
RequiredLevel
:
SetTextColor
(
0
.
6
,
0
.
6
,
0
.
6
)
else
button
.
Name
:
SetTextColor
(
1
,
0
.
82
,
0
)
button
.
InfoText
:
SetTextColor
(
0
.
8
,
0
.
8
,
0
.
8
)
button
.
RequiredLevel
:
SetTextColor
(
0
.
8
,
0
.
8
,
0
.
8
)
end
AS
:
StyleButton
(
button
)
button
.
isSkinned
=
true
end
end
for
i
=
1
,
#
SpellBookCoreAbilitiesFrame
.
SpecTabs
do
local
Tab
=
SpellBookCoreAbilitiesFrame
.
SpecTabs
[
i
]
if
Tab
and
not
Tab
.
isSkinned
then
AS
:
SkinFrame
(
Tab
)
AS
:
StyleButton
(
Tab
)
Tab
:
SetNormalTexture
(
select
(
4
,
GetSpecializationInfo
(
i
)))
Tab
:
GetNormalTexture
():
SetInside
()
AS
:
SkinTexture
(
Tab
:
GetNormalTexture
())
if
i
==
1
then
Tab
:
SetPoint
(
"TOPLEFT"
,
SpellBookFrame
,
"TOPRIGHT"
,
1
,
0
)
end
Tab
.
isSkinned
=
true
end
end
end
)
end
end
AS
:
RegisterSkin
(
'Blizzard_Spellbook'
,
AS
.
Blizzard_Spellbook
)
\ No newline at end of file
Skins/Blizzard/Talents.lua
View file @
d08ae01a
...
...
@@ -2,38 +2,31 @@ local AS = unpack(AddOnSkins)
local
AddOnSkinned
=
0
function
AS
:
Blizzard_Talent
(
event
,
addon
)
if
(
addon
==
'Blizzard_TalentUI'
or
IsAddOnLoaded
(
'Blizzard_TalentUI'
))
and
not
PlayerTalentFrame
.
isSkinned
then
AS
:
SkinFrame
(
PlayerTalentFrame
)
if
(
addon
==
'Blizzard_TalentUI'
or
IsAddOnLoaded
(
'Blizzard_TalentUI'
))
then
AS
:
SkinFrame
(
PlayerTalentFrame
,
true
)
AS
:
StripTextures
(
PlayerTalentFrameInset
)
AS
:
StripTextures
(
PlayerTalentFrameTalents
,
true
)
AS
:
SkinCloseButton
(
PlayerTalentFrameCloseButton
)
PlayerTalentFramePortrait
:
Kill
()
for
_
,
Button
in
pairs
({
PlayerTalentFrameTalentsTutorialButton
,
PlayerTalentFrameSpecializationTutorialButton
,
PlayerTalentFramePetSpecializationTutorialButton
})
do
Button
.
Ring
:
Hide
()
Button
:
Point
(
"TOPLEFT"
,
PlayerTalentFrame
,
"TOPLEFT"
,
-
12
,
12
)
end
AS
:
SkinButton
(
PlayerTalentFrameTalentsLearnButton
,
true
)
AS
:
SkinButton
(
PlayerTalentFrameActivateButton
,
true
)
AS
:
SkinButton
(
PlayerTalentFramePetSpecializationLearnButton
,
true
)
AS
:
SkinButton
(
PlayerTalentFrameSpecializationLearnButton
,
true
)
AS
:
SkinFrame
(
PlayerTalentFrameTalentsClearInfoFrame
)
AS
:
SkinTexture
(
PlayerTalentFrameTalentsClearInfoFrameIcon
)
PlayerTalentFrameTalentsClearInfoFrameIcon
:
SetInside
()
for
i
=
1
,
6
do
select
(
i
,
PlayerTalentFrameSpecialization
:
GetRegions
()):
Hide
()
select
(
i
,
PlayerTalentFramePetSpecialization
:
GetRegions
()):
Hide
()
end
for
i
=
1
,
5
do
select
(
i
,
PlayerTalentFrameSpecializationSpellScrollFrameScrollChild
:
GetRegions
()):
Hide
()
select
(
i
,
PlayerTalentFramePetSpecializationSpellScrollFrameScrollChild
:
GetRegions
()):
Hide
()
end
select
(
7
,
PlayerTalentFrameSpecialization
:
GetChildren
()):
DisableDrawLayer
(
"OVERLAY"
)
select
(
7
,
PlayerTalentFramePetSpecialization
:
GetChildren
()):
DisableDrawLayer
(
"OVERLAY"
)
PlayerTalentFrameSpecializationSpellScrollFrameScrollChild
.
Seperator
:
SetTexture
(
1
,
1
,
1
)
PlayerTalentFrameSpecializationSpellScrollFrameScrollChild
.
Seperator
:
SetAlpha
(
0
.
2
)
...
...
@@ -191,9 +184,6 @@ function AS:Blizzard_Talent(event, addon)
if
self
.
knownSelection
:
IsShown
()
then
self
.
Backdrop
:
SetBackdropBorderColor
(
0
,
0
.
44
,
.
87
,
1
)
self
.
Border
:
SetBackdropBorderColor
(
0
,
0
.
44
,
.
87
,
1
)
elseif
self
.
learnSelection
:
IsShown
()
then
self
.
Backdrop
:
SetBackdropBorderColor
(
1
,
0
.
82
,
0
,
1
)
self
.
Border
:
SetBackdropBorderColor
(
1
,
0
.
82
,
0
,
1
)
else
self
.
Backdrop
:
SetBackdropBorderColor
(
unpack
(
AS
.
BorderColor
))
self
.
Border
:
SetBackdropBorderColor
(
unpack
(
AS
.
BorderColor
))
...
...
@@ -234,113 +224,6 @@ function AS:Blizzard_Talent(event, addon)
TalentMicroButtonAlert
.
Text
:
SetTextColor
(
1
,
1
,
0
)
TalentMicroButtonAlert
:
ClearAllPoints
()
TalentMicroButtonAlert
:
SetPoint
(
"BOTTOM"
,
UIParent
,
"BOTTOM"
,
0
,
-
6
)
PlayerTalentFrame
.
isSkinned
=
true
AddOnSkinned
=
AddOnSkinned
+
1
end
if
(
addon
==
'Blizzard_GlyphUI'
or
IsAddOnLoaded
(
'Blizzard_GlyphUI'
))
and
not
GlyphFrame
.
isSkinned
then
GlyphFrame
.
background
:
SetDrawLayer
(
'BORDER'
)
AS
:
SkinBackdropFrame
(
GlyphFrame
,
nil
,
true
)
GlyphFrame
.
background
:
SetInside
(
GlyphFrame
.
Backdrop
)
AS
:
SkinEditBox
(
GlyphFrameSearchBox
)
AS
:
SkinDropDownBox
(
GlyphFrameFilterDropDown
,
212
)
for
i
=
1
,
2
do
_G
[
"GlyphFrameHeader"
..
i
].
middle
:
SetTexture
(
nil
)
_G
[
"GlyphFrameHeader"
..
i
].
leftEdge
:
SetTexture
(
nil
)
_G
[
"GlyphFrameHeader"
..
i
].
rightEdge
:
SetTexture
(
nil
)
AS
:
SetTemplate
(
_G
[
"GlyphFrameHeader"
..
i
])
end
for
i
=
1
,
10
do
local
Button
=
_G
[
"GlyphFrameScrollFrameButton"
..
i
]
AS
:
SkinButton
(
Button
,
true
)
AS
:
SkinTexture
(
Button
.
icon
)
end
AS
:
SetTemplate
(
GlyphFrameClearInfoFrame
,
'Default'
)
AS
:
SkinTexture
(
GlyphFrameClearInfoFrameIcon
)
GlyphFrameClearInfoFrameIcon
:
SetInside
()
AS
:
SkinScrollBar
(
GlyphFrameScrollFrameScrollBar
)
AS
:
StripTextures
(
GlyphFrameScrollFrame
)
AS
:
StripTextures
(
GlyphFrameSideInset
)
AS
:
StripTextures
(
GlyphFrameScrollFrameScrollChild
)
if
not
AS
.
ParchmentEnabled
then
AS
:
StripTextures
(
GlyphFrame
)
AS
:
SkinTexture
(
GlyphFrame
.
specIcon
)
GlyphFrame
:
HookScript
(
'OnUpdate'
,
function
(
self
)
self
.
specIcon
:
SetAlpha
(
1
-
self
.
glow
:
GetAlpha
())
end
)
for
i
=
1
,
6
do
local
Glyph
=
_G
[
"GlyphFrameGlyph"
..
i
]
AS
:
SetTemplate
(
Glyph
)
Glyph
:
SetBackdropColor
(
0
,
0
,
0
,
0
)
Glyph
:
SetFrameLevel
(
Glyph
:
GetFrameLevel
()
+
5
)
Glyph
.
ring
:
Hide
()
Glyph
.
glyph
:
Hide
()
Glyph
.
highlight
:
SetTexture
(
nil
)
-- This will make the glyphs nice and square.
Glyph
.
glyph
:
Hide
()
Glyph
.
icon
=
Glyph
:
CreateTexture
(
nil
,
'OVERLAY'
)
Glyph
.
icon
:
SetInside
()
AS
:
SkinTexture
(
Glyph
.
icon
)
-- Real Highlight shit right here.
AS
:
CreateBackdrop
(
Glyph
)
Glyph
.
Backdrop
:
SetAllPoints
()
Glyph
.
Backdrop
:
SetFrameLevel
(
Glyph
:
GetFrameLevel
()
+
1
)
Glyph
.
Backdrop
:
SetBackdropColor
(
0
,
0
,
0
,
0
)
Glyph
.
Backdrop
:
SetBackdropBorderColor
(
1
,
1
,
0
)
Glyph
.
Backdrop
:
SetScript
(
'OnUpdate'
,
function
(
self
)
local
Alpha
=
Glyph
.
highlight
:
GetAlpha
()
self
:
SetAlpha
(
Alpha
)
if
strfind
(
Glyph
.
icon
:
GetTexture
(),
"Interface\\Spellbook\\UI%-Glyph%-Rune"
)
then
if
Alpha
==
0
then
Glyph
.
icon
:
SetVertexColor
(
1
,
1
,
1
)
Glyph
.
icon
:
SetAlpha
(
1
)
else
Glyph
.
icon
:
SetVertexColor
(
1
,
1
,
0
)
Glyph
.
icon
:
SetAlpha
(
Alpha
)
end
end
end
)
hooksecurefunc
(
Glyph
.
highlight
,
'Show'
,
function
()
Glyph
.
Backdrop
:
Show
()
end
)
Glyph
.
glyph
:
Hide
()
hooksecurefunc
(
Glyph
.
glyph
,
'Show'
,
function
(
self
)
self
:
Hide
()
end
)
if
i
%
2
==
1
then
Glyph
:
Size
(
Glyph
:
GetWidth
()
*
.
8
,
Glyph
:
GetHeight
()
*
.
8
)
end
end
hooksecurefunc
(
'GlyphFrame_Update'
,
function
(
self
)
local
isActiveTalentGroup
=
PlayerTalentFrame
and
PlayerTalentFrame
.
talentGroup
==
GetActiveSpecGroup
();
for
i
=
1
,
NUM_GLYPH_SLOTS
do
local
GlyphSocket
=
_G
[
"GlyphFrameGlyph"
..
i
]
local
_
,
_
,
_
,
_
,
iconFilename
=
GetGlyphSocketInfo
(
i
,
PlayerTalentFrame
.
talentGroup
)
if
iconFilename
then
GlyphSocket
.
icon
:
SetTexture
(
iconFilename
)
else
GlyphSocket
.
icon
:
SetTexture
(
"Interface\\Spellbook\\UI-Glyph-Rune-"
..
i
)
end
GlyphFrameGlyph_UpdateSlot
(
GlyphSocket
);
SetDesaturation
(
GlyphSocket
.
icon
,
not
isActiveTalentGroup
);
end
SetDesaturation
(
self
.
specIcon
,
not
isActiveTalentGroup
);
end
)
end
GlyphFrame
.
isSkinned
=
true
AddOnSkinned
=
AddOnSkinned
+
1
end
if
AddOnSkinned
==
2
then
AS
:
UnregisterSkinEvent
(
'Blizzard_Talent'
,
'ADDON_LOADED'
)
end
end
...
...
Skins/Blizzard/WorldMap.lua
View file @
d08ae01a
...
...
@@ -13,13 +13,14 @@ function AS:Blizzard_WorldMap()
AS
:
SkinFrame
(
WorldMapFrame
.
BorderFrame
.
Inset
)
AS
:
SkinScrollBar
(
QuestScrollFrameScrollBar
)
AS
:
SkinButton
(
QuestScrollFrame
.
ViewAll
)
--
AS:SkinButton(QuestScrollFrame.ViewAll)
WorldMapFrameTutorialButton
:
Kill
()
AS
:
SkinButton
(
QuestMapFrame
.
DetailsFrame
.
BackButton
)
AS
:
SkinButton
(
QuestMapFrame
.
DetailsFrame
.
AbandonButton
)
AS
:
SkinButton
(
QuestMapFrame
.
DetailsFrame
.
ShareButton
,
true
)
AS
:
SkinButton
(
QuestMapFrame
.
DetailsFrame
.
TrackButton
,
true
)
AS
:
SkinButton
(
WorldMapFrame
.
UIElementsFrame
.
TrackingOptionsButton
)
WorldMapFrame
.
UIElementsFrame
.
TrackingOptionsButton
.
Background
:
SetAlpha
(
0
)
WorldMapFrame
.
UIElementsFrame
.
TrackingOptionsButton
.
IconOverlay
:
SetAlpha
(
0
)
...
...
@@ -28,6 +29,9 @@ function AS:Blizzard_WorldMap()
WorldMapFrame
.
UIElementsFrame
.
TrackingOptionsButton
.
Button
:
SetHighlightTexture
(
''
)
AS
:
SkinFrame
(
QuestMapFrame
.
QuestsFrame
.
StoryTooltip
)
AS
:
StripTextures
(
QuestMapFrame
.
DetailsFrame
.
CompleteQuestFrame
)
AS
:
SkinButton
(
QuestMapFrame
.
DetailsFrame
.
CompleteQuestFrame
.
CompleteButton
,
true
)
AS
:
SkinCloseButton
(
WorldMapFrameCloseButton
)
WorldMapFrameCloseButton
:
SetPoint
(
'TOPRIGHT'
,
WorldMapFrame
,
'TOPRIGHT'
,
-
1
,
-
3
)
...
...
@@ -45,6 +49,8 @@ function AS:Blizzard_WorldMap()
QuestMapFrame
.
DetailsFrame
:
DisableDrawLayer
(
'BORDER'
)
AS
:
SkinScrollBar
(
QuestMapDetailsScrollFrameScrollBar
)
if
not
AS
.
ParchmentEnabled
then
AS
:
StripTextures
(
QuestMapFrame
.
DetailsFrame
)
AS
:
StripTextures
(
QuestMapFrame
.
DetailsFrame
.
RewardsFrame
)
...
...
@@ -52,12 +58,14 @@ function AS:Blizzard_WorldMap()
local
rewardFrames
=
{
[
'MoneyFrame'
]
=
true
,
[
'HonorFrame'
]
=
true
,
[
'XPFrame'
]
=
true
,
[
'SpellFrame'
]
=
true
,
[
'SkillPointFrame'
]
=
true
,
}
local
function
HandleReward
(
frame
)
if
not
frame
then
return
end
frame
.
NameFrame
:
SetAlpha
(
0
)
frame
.
Icon
:
SetTexCoord
(
unpack
(
AS
.
TexCoords
))
AS
:
CreateBackdrop
(
frame
)
...
...
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