-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from mBlinkii/dev
Ver. 3.1
- Loading branch information
Showing
102 changed files
with
1,711 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
## Interface: 100100 | ||
## Author: Blinkii | ||
## Version: 3.0 | ||
## Version: 3.1 | ||
## Title: |cff1784d1ElvUI|r |CFF6559F1m|r|CFF7A4DEFM|r|CFF8845ECe|r|CFFA037E9d|r|CFFA435E8i|r|CFFB32DE6a|r|CFFBC26E5T|r|CFFCB1EE3a|r|CFFDD14E0g|r |CFFFF006C&|r |CFFFF4C00T|r|CFFFF7300o|r|CFFFF9300o|r|CFFFFA800l|r|CFFFFC900s|r | ||
## Notes: ElvUI Plugin from Blinkii | Support: [email protected] | ||
## IconTexture: Interface\AddOns\ElvUI_mMediaTag\media\logo\mmt_icon | ||
## AddonCompartmentFunc: ElvUI_mMediaTag_OnAddonCompartmentClick | ||
## AddonCompartmentFuncOnEnter: ElvUI_mMediaTag_OnAddonCompartmentOnEnter | ||
## AddonCompartmentFuncOnLeave: ElvUI_mMediaTag_OnAddonCompartmentOnLeave | ||
## RequiredDeps: ElvUI | ||
## DefaultState: Enabled | ||
## X-Tukui-ProjectID: 60 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,181 @@ | ||
local mMT, E, L, V, P, G = unpack((select(2, ...))) | ||
|
||
local _G = _G | ||
local tinsert = tinsert | ||
local tconcat = _G.table.concat | ||
local green, blue, yellow, red, endtag = "|CFF00D80E", "|CFF00A9FF", "|CFFFFCC00", "|CFFFF0048", "|r" | ||
local new, fix, update, important, dash = | ||
"|TInterface\\Addons\\ElvUI_mMediaTag\\media\\icons\\misc\\star.tga:14:14|t", | ||
"|TInterface\\Addons\\ElvUI_mMediaTag\\media\\icons\\misc\\done1.tga:14:14|t", | ||
"|TInterface\\Addons\\ElvUI_mMediaTag\\media\\icons\\datatext\\upgrade7.tga:14:14|t", | ||
"|TInterface\\Addons\\ElvUI_mMediaTag\\media\\icons\\tags\\quest2.tga:14:14|t", | ||
"> " | ||
|
||
local change_log_important = { | ||
red .. "!!! Currently only for Retail" .. endtag, | ||
"Code Update", | ||
"The settings will be rest if you update from v2 to v3", | ||
"Removed old and unused Tags", | ||
} | ||
|
||
local change_log_new = { | ||
"Addon Compartment Tooltip", | ||
"Add in Game Changlog", | ||
"New Icons for Dock", | ||
"New Game Menu Icons", | ||
"New Teleport Datatext Icons", | ||
"Custom Ready Check Icons", | ||
"Custom Phase Icons and Color", | ||
"Custom Resurrection icons", | ||
"New Dock Icon for Bags", | ||
"New Quick Setup Menu", | ||
} | ||
|
||
local change_log_update = { | ||
"Update Teleports for Season 2", | ||
"Update Example Dock", | ||
} | ||
|
||
local change_log_fix = { | ||
"Tag update function in Settings menu", | ||
} | ||
|
||
local function Concatenation(tbl, icon, color) | ||
local string = "" | ||
for key, line in pairs(tbl) do | ||
if color then | ||
line = color .. line .. endtag | ||
end | ||
|
||
if icon then | ||
line = icon .. " " .. line | ||
end | ||
|
||
string = string .. dash .. " " .. line .. "\n" | ||
end | ||
return string | ||
end | ||
|
||
local function configTable() | ||
local releasdate = "07.05.2023" | ||
local change_log_important_string = Concatenation(change_log_important) | ||
local change_log_new_string = Concatenation(change_log_new) | ||
local change_log_update_string = Concatenation(change_log_update) | ||
local change_log_fix_string = Concatenation(change_log_fix) | ||
E.Options.args.mMT.args.changelog.args = { | ||
header_changelog = { | ||
order = 1, | ||
type = "group", | ||
inline = true, | ||
name = mMT.IconSquare .. " " .. mMT.Name .. " " .. L["Change Log"], | ||
args = { | ||
header_version = { | ||
order = 1, | ||
type = "group", | ||
inline = true, | ||
name = L["Version:"], | ||
args = { | ||
version = { | ||
order = 1, | ||
type = "description", | ||
fontSize = "medium", | ||
name = green .. mMT.Version .. endtag, | ||
}, | ||
date = { | ||
order = 2, | ||
type = "description", | ||
fontSize = "medium", | ||
name = green .. L["Releas date:"] .. endtag .. " " .. (releasdate or "ERROR"), | ||
}, | ||
}, | ||
}, | ||
header_important = { | ||
order = 2, | ||
type = "group", | ||
inline = true, | ||
name = important .. " " .. red .. L["Important:"] .. endtag, | ||
hidden = function() | ||
if change_log_important_string then | ||
return false | ||
else | ||
return true | ||
end | ||
end, | ||
args = { | ||
important = { | ||
order = 1, | ||
type = "description", | ||
fontSize = "large", | ||
name = change_log_important_string or "", | ||
}, | ||
}, | ||
}, | ||
header_new = { | ||
order = 3, | ||
type = "group", | ||
inline = true, | ||
name = new .. " " .. green .. L["New:"] .. endtag, | ||
hidden = function() | ||
if change_log_new_string then | ||
return false | ||
else | ||
return true | ||
end | ||
end, | ||
args = { | ||
new = { | ||
order = 1, | ||
type = "description", | ||
fontSize = "medium", | ||
name = change_log_new_string or "", | ||
}, | ||
}, | ||
}, | ||
header_update = { | ||
order = 4, | ||
type = "group", | ||
inline = true, | ||
name = update .. " " .. blue .. L["Update:"] .. endtag, | ||
hidden = function() | ||
if change_log_update_string then | ||
return false | ||
else | ||
return true | ||
end | ||
end, | ||
args = { | ||
update = { | ||
order = 1, | ||
type = "description", | ||
fontSize = "medium", | ||
name = change_log_update_string or "", | ||
}, | ||
}, | ||
}, | ||
header_fix = { | ||
order = 5, | ||
type = "group", | ||
inline = true, | ||
name = fix .. " " .. yellow .. L["Fix:"] .. endtag, | ||
hidden = function() | ||
if change_log_fix_string then | ||
return false | ||
else | ||
return true | ||
end | ||
end, | ||
args = { | ||
fix = { | ||
order = 1, | ||
type = "description", | ||
fontSize = "medium", | ||
name = change_log_fix_string or "", | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
} | ||
end | ||
|
||
tinsert(mMT.Config, configTable) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.