Mercurial > wow > reagentmaker
comparison ReagentMaker.lua @ 77:cd36938d2a48
Add a button to put enchants directly on a scroll
author | contrebasse |
---|---|
date | Sat, 14 May 2011 23:54:02 +0200 |
parents | 9d487333bf10 |
children | 31009ddc7d31 |
comparison
equal
deleted
inserted
replaced
76:9d487333bf10 | 77:cd36938d2a48 |
---|---|
94 label:SetJustifyV("TOP") | 94 label:SetJustifyV("TOP") |
95 label:SetFont("Fonts\\FRIZQT__.TTF", 10, "OUTLINE") | 95 label:SetFont("Fonts\\FRIZQT__.TTF", 10, "OUTLINE") |
96 btn.label = label | 96 btn.label = label |
97 end -- for | 97 end -- for |
98 | 98 |
99 -- Secondary Tooltip | |
99 A.tooltipRecipe = CreateFrame("GameTooltip", "ReagentMaker_tooltipRecipe",UIParent, "GameTooltipTemplate") | 100 A.tooltipRecipe = CreateFrame("GameTooltip", "ReagentMaker_tooltipRecipe",UIParent, "GameTooltipTemplate") |
100 A.tooltipRecipe:SetFrameStrata("TOOLTIP") | 101 A.tooltipRecipe:SetFrameStrata("TOOLTIP") |
101 A.tooltipRecipe:Hide() | 102 A.tooltipRecipe:Hide() |
103 | |
104 -- Button for enchanting directy on a scroll | |
105 A.LoadEnchantOnScroll() | |
102 end -- function | 106 end -- function |
103 | 107 |
104 -- Function run after selecting a item in the tradeskill window | 108 -- Function run after selecting a item in the tradeskill window |
105 function A.ProcessReagent(btn, ...) | 109 function A.ProcessReagent(btn, ...) |
106 | 110 |