-
Notifications
You must be signed in to change notification settings - Fork 2
/
RepHelperSkin.lua
59 lines (50 loc) · 1.62 KB
/
RepHelperSkin.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
if IsAddOnLoaded("ElvUI") then
local E = unpack(_G.ElvUI)
local buttons = {
RPH_OptionsButton,
RPH_ShowAllButton,
RPH_ExpandButton,
RPH_ShowNoneButton,
RPH_CollapseButton,
RPH_SupressNoneFactionButton,
RPH_SupressNoneGlobalButton,
RPH_ClearSessionGainButton,
}
local checkboxes = {
RPH_OrderByStandingCheckBox,
RPH_EnableMissingBox,
RPH_ExtendDetailsBox,
RPH_GainToChatBox,
RPH_NoGuildGainBox,
RPH_SupressOriginalGainBox,
RPH_ShowPreviewRepBox,
RPH_SwitchFactionBarBox,
RPH_SilentSwitchBox,
RPH_NoGuildSwitchBox,
RPH_ReputationDetailInactiveCheckBox,
RPH_ReputationDetailMainScreenCheckBox,
RPH_ShowQuestButton,
RPH_ShowInstancesButton,
RPH_ShowMobsButton,
RPH_ShowItemsButton,
RPH_ShowGeneralButton,
RPH_EnableParagonBarBox,
RPH_ShowDarkmoonFaireButton,
}
RPH_ReputationDetailFrame:StripTextures()
RPH_ReputationDetailFrame:SetTemplate("Transparent")
RPH_OptionsFrame:StripTextures()
RPH_OptionsFrame:SetTemplate("Transparent")
E.Skins:HandleCloseButton(RPH_OptionsFrameClose)
E.Skins:HandleCloseButton(RPH_ReputationDetailCloseButton)
E.Skins:HandleCheckBox(RPH_ReputationDetailAtWarCheckBox)
RPH_ReputationDetailAtWarCheckBox:SetCheckedTexture('Interface\\Buttons\\UI-CheckBox-SwordCheck')
RPH_ReputationDetailAtWarCheckBox:SetDisabledCheckedTexture('Interface\\Buttons\\UI-CheckBox-Check-Disabled')
E.Skins:HandleScrollBar(RPH_UpdateListScrollFrameScrollBar)
for _,button in pairs(buttons) do
E.Skins:HandleButton(button)
end
for _,checkbox in pairs(checkboxes) do
E.Skins:HandleCheckBox(checkbox)
end
end