96ad366 - Add Shaman settings
[wowui.git] / OmaRF / PaladinIndicators.lua
1 -- PaladinIndicators.lua
2 local pairs = pairs;
3
4 local indSize = OmaRFSettings.IndSize;
5 local rhomb = "Interface\\AddOns\\OmaRF\\images\\rhomb";
6
7 local M = {};
8 OmaRFIndicators.Class["PALADIN"] = M;
9 M.Auras = {
10     [53563] = "TOPRIGHT", -- Beacon of Light
11     [156910] = "TOPRIGHT", -- Beacon of Faith
12     [200025] = "TOPRIGHT", -- Beacon of Virtue
13     [200654] = "BOTTOMLEFT", -- Tyr's Deliverance
14 }
15
16 function M.Setup(base)
17     local inds = {};
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();
35     return inds;
36 end