Mercurial > wow > reagentmaker
comparison SecureMenu.lua @ 108:618163a6d970 v1.0beta13
Always show counts and bypass all filtering and searches
author | contrebasse |
---|---|
date | Thu, 02 Jun 2011 14:12:06 +0200 |
parents | c8d527a9fb3a |
children | d60d6b4cab0c |
comparison
equal
deleted
inserted
replaced
107:d64a19e5a47d | 108:618163a6d970 |
---|---|
228 -- Do not disable the button, to be able to show the tooltip | 228 -- Do not disable the button, to be able to show the tooltip |
229 -- Disable only the effects | 229 -- Disable only the effects |
230 btn:SetScript("PreClick",WarnNotMakable) | 230 btn:SetScript("PreClick",WarnNotMakable) |
231 btn:SetAttribute("type", nil) | 231 btn:SetAttribute("type", nil) |
232 btn:SetAttribute("macrotext", nil) | 232 btn:SetAttribute("macrotext", nil) |
233 | 233 |
234 btn.countDetail:SetTextColor(1, 0.1, 0.1, 1) | 234 btn.countDetail:SetTextColor(1, 0.1, 0.1, 1) |
235 btn.icon:SetVertexColor(0.5, 0.5, 0.5) | 235 btn.icon:SetVertexColor(0.5, 0.5, 0.5) |
236 btn.itemName:SetTextColor(1,1,1,0.5) | 236 btn.itemName:SetTextColor(1,1,1,0.5) |
237 end | 237 end |
238 | 238 |
323 | 323 |
324 -- Fill the window and open it | 324 -- Fill the window and open it |
325 function A.externalCraftWindow(itemID,superItemID) | 325 function A.externalCraftWindow(itemID,superItemID) |
326 -- Do not open during combat | 326 -- Do not open during combat |
327 if InCombatLockdown() then | 327 if InCombatLockdown() then |
328 A.Error(SPELL_FAILED_AFFECTING_COMBAT) | 328 A.Error(SPELL_FAILED_AFFECTING_COMBAT) |
329 return | 329 return |
330 end | 330 end |
331 | 331 |
332 -- Save the tradeskill | 332 -- Save the tradeskill |
333 A.currentTradeSkill = GetTradeSkillLine() | 333 A.currentTradeSkill = GetTradeSkillLine() |