Added color to Raids/dungeon header
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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] = {
|
||||
|
||||
Reference in New Issue
Block a user