TrinketMenu.lua 1.88 KB
Newer Older
apexz's avatar
apexz committed
1 2 3 4 5 6 7 8 9
local AS = unpack(AddOnSkins)

if not AS:CheckAddOn('TrinketMenu') then return end

function AS:TrinketMenu()
	AS:SkinIconButton(TrinketMenu_Trinket0)
	AS:SkinIconButton(TrinketMenu_Trinket1)
	AS:SkinFrame(TrinketMenu_MenuFrame)
	AS:SkinFrame(TrinketMenu_OptFrame)
apexz's avatar
apexz committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
	--AS:SkinCloseButton(TrinketMenu_CloseButton)
	AS:SkinButton(TrinketMenu_CloseButton)
	AS:SkinButton(TrinketMenu_LockButton)
	AS:SkinBackdropFrame(TrinketMenu_SubOptFrame)

	AS:SkinCheckBox(TrinketMenu_OptLocked)
    AS:SkinCheckBox(TrinketMenu_OptSquareMinimap)
    AS:SkinCheckBox(TrinketMenu_OptCooldownCount)
    AS:SkinCheckBox(TrinketMenu_OptLargeCooldown)
    AS:SkinCheckBox(TrinketMenu_OptShowTooltips)
    AS:SkinCheckBox(TrinketMenu_OptTooltipFollow)
    AS:SkinCheckBox(TrinketMenu_OptTinyTooltips)
    AS:SkinCheckBox(TrinketMenu_OptShowHotKeys)
    AS:SkinCheckBox(TrinketMenu_OptStopOnSwap)
    AS:SkinCheckBox(TrinketMenu_OptRedRange)
    AS:SkinCheckBox(TrinketMenu_OptHidePetBattle)
apexz's avatar
apexz committed
26 27 28 29 30

	AS:SkinCheckBox(TrinketMenu_Trinket0Check)
	AS:SkinCheckBox(TrinketMenu_Trinket1Check)
	AS:SkinCheckBox(TrinketMenu_OptShowIcon)
	AS:SkinCheckBox(TrinketMenu_OptDisableToggle)
apexz's avatar
apexz committed
31 32 33 34 35 36 37 38
	AS:SkinCheckBox(TrinketMenu_OptKeepDocked)
	AS:SkinCheckBox(TrinketMenu_OptKeepOpen)
	AS:SkinCheckBox(TrinketMenu_OptMenuOnShift)
	AS:SkinCheckBox(TrinketMenu_OptMenuOnRight)
	AS:SkinCheckBox(TrinketMenu_OptNotify)
	AS:SkinCheckBox(TrinketMenu_OptNotifyThirty)
	AS:SkinCheckBox(TrinketMenu_OptNotifyChatAlso)
	AS:SkinCheckBox(TrinketMenu_OptSetColumns)
apexz's avatar
apexz committed
39 40 41 42 43 44 45 46 47

	AS:SkinSlideBar(TrinketMenu_OptMainScaleSlider)
	AS:SkinSlideBar(TrinketMenu_OptMenuScaleSlider)
	AS:SkinSlideBar(TrinketMenu_OptColumnsSlider)

	for i = 1, 3 do
		AS:SkinTab(_G["TrinketMenu_Tab"..i])
	end

apexz's avatar
apexz committed
48
	for i = 1, 9 do
apexz's avatar
apexz committed
49 50
		AS:SkinIconButton(_G["TrinketMenu_Menu"..i])
	end
apexz's avatar
apexz committed
51
	-- testing
apexz's avatar
apexz committed
52 53 54 55 56
	--AS:SkinIcon(TrinketMenu_Trinket1Queue)
	--AS:SkinIcon(TrinketMenu_Trinket0Queue)
end

AS:RegisterSkin('TrinketMenu', AS.TrinketMenu)