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
E
ElvUI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Hekili
ElvUI
Commits
0781f57c
Commit
0781f57c
authored
Jun 01, 2019
by
Merathilis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add skin support for Objective Tracker timer bars. Untested!!
parent
e608a5c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
ElvUI/Modules/Skins/Blizzard/ObjectiveTracker.lua
ElvUI/Modules/Skins/Blizzard/ObjectiveTracker.lua
+18
-0
No files found.
ElvUI/Modules/Skins/Blizzard/ObjectiveTracker.lua
View file @
0781f57c
...
...
@@ -99,6 +99,21 @@ local function SkinProgressBars(_, _, line)
end
end
local
function
SkinTimerBars
(
_
,
_
,
line
)
local
timerBar
=
line
and
line
.
TimerBar
local
bar
=
timerBar
and
timerBar
.
Bar
if
not
timerBar
.
isSkinned
then
bar
:
Height
(
18
)
bar
:
StripTextures
()
bar
:
CreateBackdrop
(
"Transparent"
)
bar
:
SetStatusBarTexture
(
E
.
media
.
normTex
)
E
:
RegisterStatusBar
(
bar
)
timerBar
.
isSkinned
=
true
end
end
local
function
PositionFindGroupButton
(
block
,
button
)
if
button
and
button
.
GetPoint
then
local
a
,
b
,
c
,
d
,
e
=
button
:
GetPoint
()
...
...
@@ -153,6 +168,9 @@ local function LoadSkin()
hooksecurefunc
(
_G
.
WORLD_QUEST_TRACKER_MODULE
,
"AddProgressBar"
,
SkinProgressBars
)
--[Skin]: World Quest Progress Bar
hooksecurefunc
(
_G
.
DEFAULT_OBJECTIVE_TRACKER_MODULE
,
"AddProgressBar"
,
SkinProgressBars
)
--[Skin]: Quest Progress Bar
hooksecurefunc
(
_G
.
SCENARIO_TRACKER_MODULE
,
"AddProgressBar"
,
SkinProgressBars
)
--[Skin]: Scenario Progress Bar
hooksecurefunc
(
_G
.
QUEST_TRACKER_MODULE
,
"AddTimerBar"
,
SkinTimerBars
)
--[Skin]: Quest Timer Bar
hooksecurefunc
(
_G
.
SCENARIO_TRACKER_MODULE
,
"AddTimerBar"
,
SkinTimerBars
)
--[Skin]: Scenario Timer Bar
hooksecurefunc
(
_G
.
ACHIEVEMENT_TRACKER_MODULE
,
"AddTimerBar"
,
SkinTimerBars
)
--[Skin]: Achievement Timer Bar
hooksecurefunc
(
_G
.
QUEST_TRACKER_MODULE
,
"SetBlockHeader"
,
SkinItemButton
)
--[Skin]: Quest Item Buttons
hooksecurefunc
(
_G
.
WORLD_QUEST_TRACKER_MODULE
,
"AddObjective"
,
SkinItemButton
)
--[Skin]: World Quest Item Buttons
end
...
...
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