Added color to Raids/dungeon header

This commit is contained in:
Szyler
2020-06-06 18:50:18 +02:00
parent 8b036f69cd
commit b24bb2fc61
2 changed files with 15 additions and 3 deletions
@@ -251,7 +251,19 @@ function AtlasLoot_DewdropRegister()
if (type(v[1]) == "table") and (type(v[1][1]) == "string") then
local checked = false;
--If an entry to show a submenu
if v[1][3] == "Submenu" then
if v[1][4] == "Header" then
AtlasLoot_Dewdrop:AddLine(
'text', v[1][1],
'textR', 0.2,
'textG', 0.82,
'textB', 0.5,
'func', AtlasLoot_DewDropClick,
'arg1', v[1][2],
'arg2', v[1][1],
'arg3', v[1][3],
'notCheckable', true
)
elseif v[1][3] == "Submenu" then
AtlasLoot_Dewdrop:AddLine(
'text', v[1][1],
'textR', 1,
+2 -2
View File
@@ -105,7 +105,7 @@ AtlasLoot_DewDropDown = {
[2] = {
[AL["BC Instances"]] = {
[1] = {
{ BabbleZone["Raids:"], "BCKeys", "Table" },
{ BabbleZone["Raids:"], "BCKeys", "Table", "Header" },
},
[2] = {
{ BabbleZone["Karazhan"], "Karazhan", "Submenu" },
@@ -138,7 +138,7 @@ AtlasLoot_DewDropDown = {
---- Dugneons -----
[11] = {
{ BabbleZone["Dungeons:"], "BCKeys", "Table" },
{ BabbleZone["Dungeons:"], "BCKeys", "Table", "Header" },
},
[12] = {