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
|
if (type(v[1]) == "table") and (type(v[1][1]) == "string") then
|
||||||
local checked = false;
|
local checked = false;
|
||||||
--If an entry to show a submenu
|
--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(
|
AtlasLoot_Dewdrop:AddLine(
|
||||||
'text', v[1][1],
|
'text', v[1][1],
|
||||||
'textR', 1,
|
'textR', 1,
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ AtlasLoot_DewDropDown = {
|
|||||||
[2] = {
|
[2] = {
|
||||||
[AL["BC Instances"]] = {
|
[AL["BC Instances"]] = {
|
||||||
[1] = {
|
[1] = {
|
||||||
{ BabbleZone["Raids:"], "BCKeys", "Table" },
|
{ BabbleZone["Raids:"], "BCKeys", "Table", "Header" },
|
||||||
},
|
},
|
||||||
[2] = {
|
[2] = {
|
||||||
{ BabbleZone["Karazhan"], "Karazhan", "Submenu" },
|
{ BabbleZone["Karazhan"], "Karazhan", "Submenu" },
|
||||||
@@ -138,7 +138,7 @@ AtlasLoot_DewDropDown = {
|
|||||||
---- Dugneons -----
|
---- Dugneons -----
|
||||||
|
|
||||||
[11] = {
|
[11] = {
|
||||||
{ BabbleZone["Dungeons:"], "BCKeys", "Table" },
|
{ BabbleZone["Dungeons:"], "BCKeys", "Table", "Header" },
|
||||||
},
|
},
|
||||||
|
|
||||||
[12] = {
|
[12] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user