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_RayUI
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fgprodigal
ElvUI_RayUI
Commits
31d83e7f
Commit
31d83e7f
authored
Oct 15, 2020
by
fgprodigal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update for 9.0
parent
380d9c14
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
Core/Tags.lua
Core/Tags.lua
+4
-4
ElvUI_RayUI.toc
ElvUI_RayUI.toc
+3
-3
Layout/Layout.lua
Layout/Layout.lua
+1
-1
Modules/FreeMountCD/FreeMountCD.lua
Modules/FreeMountCD/FreeMountCD.lua
+1
-1
No files found.
Core/Tags.lua
View file @
31d83e7f
...
@@ -71,7 +71,7 @@ end
...
@@ -71,7 +71,7 @@ end
for
textFormat
in
pairs
(
formattedTextStyles
)
do
for
textFormat
in
pairs
(
formattedTextStyles
)
do
local
tagTextFormat
=
strlower
(
gsub
(
textFormat
,
'_'
,
'-'
))
local
tagTextFormat
=
strlower
(
gsub
(
textFormat
,
'_'
,
'-'
))
ElvUF
.
Tags
.
Events
[
format
(
'rayui-health:%s'
,
tagTextFormat
)]
=
'UNIT_HEALTH
_FREQUENT
UNIT_MAXHEALTH UNIT_CONNECTION PLAYER_FLAGS_CHANGED'
ElvUF
.
Tags
.
Events
[
format
(
'rayui-health:%s'
,
tagTextFormat
)]
=
'UNIT_HEALTH UNIT_MAXHEALTH UNIT_CONNECTION PLAYER_FLAGS_CHANGED'
ElvUF
.
Tags
.
Methods
[
format
(
'rayui-health:%s'
,
tagTextFormat
)]
=
function
(
unit
)
ElvUF
.
Tags
.
Methods
[
format
(
'rayui-health:%s'
,
tagTextFormat
)]
=
function
(
unit
)
local
status
=
UnitIsDead
(
unit
)
and
L
[
"Dead"
]
or
UnitIsGhost
(
unit
)
and
L
[
"Ghost"
]
or
not
UnitIsConnected
(
unit
)
and
L
[
"Offline"
]
local
status
=
UnitIsDead
(
unit
)
and
L
[
"Dead"
]
or
UnitIsGhost
(
unit
)
and
L
[
"Ghost"
]
or
not
UnitIsConnected
(
unit
)
and
L
[
"Offline"
]
if
(
status
)
then
if
(
status
)
then
...
@@ -81,7 +81,7 @@ for textFormat in pairs(formattedTextStyles) do
...
@@ -81,7 +81,7 @@ for textFormat in pairs(formattedTextStyles) do
end
end
end
end
ElvUF
.
Tags
.
Events
[
format
(
'rayui-health:%s-nostatus'
,
tagTextFormat
)]
=
'UNIT_HEALTH
_FREQUENT
UNIT_MAXHEALTH'
ElvUF
.
Tags
.
Events
[
format
(
'rayui-health:%s-nostatus'
,
tagTextFormat
)]
=
'UNIT_HEALTH UNIT_MAXHEALTH'
ElvUF
.
Tags
.
Methods
[
format
(
'rayui-health:%s-nostatus'
,
tagTextFormat
)]
=
function
(
unit
)
ElvUF
.
Tags
.
Methods
[
format
(
'rayui-health:%s-nostatus'
,
tagTextFormat
)]
=
function
(
unit
)
return
GetFormattedText
(
textFormat
,
UnitHealth
(
unit
),
UnitHealthMax
(
unit
))
return
GetFormattedText
(
textFormat
,
UnitHealth
(
unit
),
UnitHealthMax
(
unit
))
end
end
...
@@ -96,7 +96,7 @@ for textFormat in pairs(formattedTextStyles) do
...
@@ -96,7 +96,7 @@ for textFormat in pairs(formattedTextStyles) do
end
end
for
_
,
textFormat
in
pairs
({
"veryshort"
,
"short"
,
"medium"
,
"long"
})
do
for
_
,
textFormat
in
pairs
({
"veryshort"
,
"short"
,
"medium"
,
"long"
})
do
ElvUF
.
Tags
.
Events
[
format
(
'rayui-health:deficit:name-%s'
,
textFormat
)]
=
'UNIT_HEALTH
_FREQUENT
UNIT_MAXHEALTH UNIT_CONNECTION PLAYER_FLAGS_CHANGED UNIT_NAME_UPDATE'
ElvUF
.
Tags
.
Events
[
format
(
'rayui-health:deficit:name-%s'
,
textFormat
)]
=
'UNIT_HEALTH UNIT_MAXHEALTH UNIT_CONNECTION PLAYER_FLAGS_CHANGED UNIT_NAME_UPDATE'
ElvUF
.
Tags
.
Methods
[
format
(
'rayui-health:deficit:name-%s'
,
textFormat
)]
=
function
(
unit
)
ElvUF
.
Tags
.
Methods
[
format
(
'rayui-health:deficit:name-%s'
,
textFormat
)]
=
function
(
unit
)
local
status
=
UnitIsDead
(
unit
)
and
L
[
"Dead"
]
or
UnitIsGhost
(
unit
)
and
L
[
"Ghost"
]
or
not
UnitIsConnected
(
unit
)
and
L
[
"Offline"
]
local
status
=
UnitIsDead
(
unit
)
and
L
[
"Dead"
]
or
UnitIsGhost
(
unit
)
and
L
[
"Ghost"
]
or
not
UnitIsConnected
(
unit
)
and
L
[
"Offline"
]
if
(
status
)
then
if
(
status
)
then
...
@@ -114,7 +114,7 @@ for _, textFormat in pairs({"veryshort", "short", "medium", "long"}) do
...
@@ -114,7 +114,7 @@ for _, textFormat in pairs({"veryshort", "short", "medium", "long"}) do
end
end
end
end
ElvUF
.
Tags
.
Events
[
format
(
'rayui-health:deficit-nostatus:name-%s'
,
textFormat
)]
=
'UNIT_HEALTH
_FREQUENT
UNIT_MAXHEALTH UNIT_NAME_UPDATE'
ElvUF
.
Tags
.
Events
[
format
(
'rayui-health:deficit-nostatus:name-%s'
,
textFormat
)]
=
'UNIT_HEALTH UNIT_MAXHEALTH UNIT_NAME_UPDATE'
ElvUF
.
Tags
.
Methods
[
format
(
'rayui-health:deficit-nostatus:name-%s'
,
textFormat
)]
=
function
(
unit
)
ElvUF
.
Tags
.
Methods
[
format
(
'rayui-health:deficit-nostatus:name-%s'
,
textFormat
)]
=
function
(
unit
)
local
cur
=
UnitHealth
(
unit
)
local
cur
=
UnitHealth
(
unit
)
local
max
=
UnitHealthMax
(
unit
)
local
max
=
UnitHealthMax
(
unit
)
...
...
ElvUI_RayUI.toc
View file @
31d83e7f
## Interface:
80300
## Interface:
90001
## Author: fgprodigal
## Author: fgprodigal
## Version:
1.13
## Version:
2.00
## Title: |cff1784d1ElvUI|r |cff7aa6d6Ray|r|cffff0000U|r|cff7aa6d6I|r
## Title: |cff1784d1ElvUI|r |cff7aa6d6Ray|r|cffff0000U|r|cff7aa6d6I|r
## RequiredDeps: ElvUI, ElvUI
_
MerathilisUI
## RequiredDeps: ElvUI, ElvUI
_
MerathilisUI
## DefaultState: Enabled
## DefaultState: Enabled
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
## SavedVariablesPerCharacter: RayUIDataPerChar
## SavedVariablesPerCharacter: RayUIDataPerChar
## OptionalDeps: SharedMedia, AddOnSkins, ProjectAzilroka
## OptionalDeps: SharedMedia, AddOnSkins, ProjectAzilroka
## X-Credits: Benik, Blazeflack, Azilroka, Simpy, NihilisticPandemonium, Darth Predator, Merathilis, siweia, Solor, Elv
&
all AddOn Authors who inspired me.
## X-Credits: Benik, Blazeflack, Azilroka, Simpy, NihilisticPandemonium, Darth Predator, Merathilis, siweia, Solor, Elv
&
all AddOn Authors who inspired me.
## X-ElvVersion: 1
1.46
## X-ElvVersion: 1
2.00
## X-Curse-Project-ID: 349794
## X-Curse-Project-ID: 349794
...
...
Layout/Layout.lua
View file @
31d83e7f
local
RayUI
,
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
))
local
RayUI
,
E
,
L
,
V
,
P
,
G
=
unpack
(
select
(
2
,
...
))
local
MER
=
ElvUI_MerathilisUI
[
1
]
local
MER
=
ElvUI_MerathilisUI
[
1
]
local
MERL
=
MER
:
GetModule
(
"
mUI
Layout"
)
local
MERL
=
MER
:
GetModule
(
"
MER_
Layout"
)
local
module
=
RayUI
:
NewModule
(
"RayUILayout"
,
"AceHook-3.0"
,
"AceEvent-3.0"
)
local
module
=
RayUI
:
NewModule
(
"RayUILayout"
,
"AceHook-3.0"
,
"AceEvent-3.0"
)
local
AB
=
E
:
GetModule
(
"ActionBars"
)
local
AB
=
E
:
GetModule
(
"ActionBars"
)
local
CH
=
E
:
GetModule
(
"Chat"
)
local
CH
=
E
:
GetModule
(
"Chat"
)
...
...
Modules/FreeMountCD/FreeMountCD.lua
View file @
31d83e7f
...
@@ -345,7 +345,7 @@ function FMC:CreateButton(parent, width, height, point, relativeto, point2, xOfs
...
@@ -345,7 +345,7 @@ function FMC:CreateButton(parent, width, height, point, relativeto, point2, xOfs
end
end
function
FMC
:
CreateMenu
()
function
FMC
:
CreateMenu
()
self
.
MainPanel
=
CreateFrame
(
"Frame"
,
nil
,
E
.
UIParent
)
self
.
MainPanel
=
CreateFrame
(
"Frame"
,
nil
,
E
.
UIParent
,
'BackdropTemplate'
)
self
.
MainPanel
:
SetTemplate
(
'Transparent'
)
self
.
MainPanel
:
SetTemplate
(
'Transparent'
)
self
.
MainPanel
:
Width
(
120
)
self
.
MainPanel
:
Width
(
120
)
self
.
MainPanel
:
Height
(
260
)
self
.
MainPanel
:
Height
(
260
)
...
...
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