02986a2 - Add disc priest
[wowui.git] / OmaRF / ShamanIndicators.lua
1 -- PaladinIndicators.lua
2 local indSize = OmaRFSettings.IndSize;
3 local rhomb = "Interface\\AddOns\\OmaRF\\images\\rhomb";
4
5 local M = {};
6 OmaRFIndicators.Class["SHAMAN"] = M;
7 M.Auras = {
8     [61295] = "TOPRIGHT", -- Riptide
9 }
10
11 function M.Setup(base)
12     local inds = {};
13     inds["TOPRIGHT"] = base:CreateTexture(nil, "OVERLAY");
14     inds["TOPRIGHT"]:SetPoint("TOPRIGHT", base, "TOPRIGHT");
15     inds["TOPRIGHT"]:SetWidth(indSize);
16     inds["TOPRIGHT"]:SetHeight(indSize);
17     inds["TOPRIGHT"]:SetTexture(rhomb);
18     inds["TOPRIGHT"]:SetVertexColor(0, 0.5, 1);
19     inds["TOPRIGHT"]:Hide();
20     inds["TOPRIGHT"].text = base:CreateFontString(nil, "OVERLAY", "GameFontHighlight");
21     inds["TOPRIGHT"].text:SetPoint("BOTTOMRIGHT", inds["TOPRIGHT"], "BOTTOMRIGHT");
22     inds["TOPRIGHT"].text:Hide();
23     return inds;
24 end