1 -- PaladinIndicators.lua
4 local indSize = OmaRFSettings.IndSize;
5 local rhomb = "Interface\\AddOns\\OmaRF\\images\\rhomb";
8 OmaRFIndicators.Class["PALADIN"] = M;
10 ["Beacon of Light"] = "TOPRIGHT",
11 ["Beacon of Faith"] = "TOPRIGHT",
12 ["Beacon of Virtue"] = "TOPRIGHT",
13 ["Tyr's Deliverance"] = "BOTTOMLEFT",
16 function M.Setup(base)
18 inds["TOPRIGHT"] = base:CreateTexture(nil, "OVERLAY");
19 inds["TOPRIGHT"]:SetPoint("TOPRIGHT", base, "TOPRIGHT");
20 inds["TOPRIGHT"]:SetWidth(indSize);
21 inds["TOPRIGHT"]:SetHeight(indSize);
22 inds["TOPRIGHT"]:SetTexture(rhomb);
23 inds["TOPRIGHT"]:SetVertexColor(1, 0, 0);
24 inds["TOPRIGHT"]:Hide();
25 inds["BOTTOMLEFT"] = base:CreateTexture(nil, "OVERLAY");
26 inds["BOTTOMLEFT"]:SetPoint("BOTTOMLEFT", base, "BOTTOMLEFT");
27 inds["BOTTOMLEFT"]:SetWidth(indSize);
28 inds["BOTTOMLEFT"]:SetHeight(indSize);
29 inds["BOTTOMLEFT"]:SetTexture(rhomb);
30 inds["BOTTOMLEFT"]:SetVertexColor(1, 0.5, 0);
31 inds["BOTTOMLEFT"]:Hide();
32 inds["BOTTOMLEFT"].text = base:CreateFontString(nil, "OVERLAY", "GameFontHighlight");
33 inds["BOTTOMLEFT"].text:SetPoint("BOTTOMRIGHT", inds["BOTTOMLEFT"], "BOTTOMRIGHT");
34 inds["BOTTOMLEFT"].text:Hide();