WoWInterface SVN ArchWizard

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 40 to Rev 41
    Reverse comparison

Rev 40 → Rev 41

trunk/ArchWizard/core.lua
125,10 → 125,10
GameTooltip:AddLine("")
for k,v in pairs(raceCurrencies) do
if((v['show'] or IsShiftKeyDown()) and v['required'] > 0) then
GameTooltip:AddDoubleLine(addon['colorize'](format("%s (%s/%s)",k,GetItemCount(v['id']),v['keystones'] or 0),v['quality']==1 and "6677ff" or "ffffff"),addon['colorize'](format("%s/%s",v['count'],v['required']),v['count'] >= v['required'] and "00ff00" or ("ffffff")))
GameTooltip:AddDoubleLine(addon:colorize(format("%s (%s/%s)",k,GetItemCount(v['id']),v['keystones'] or 0),v['quality']==1 and "6677ff" or "ffffff"),addon:colorize(format("%s/%s",v['count'],v['required']),v['count'] >= v['required'] and "00ff00" or ("ffffff")))
end
end
GameTooltip:AddLine(addon['colorize']("Press SHIFT for more info","00ff00"))
GameTooltip:AddLine(addon:colorize("Press SHIFT for more info","00ff00"))
end
 
local function OnClick(self, button)
145,7 → 145,7
end
 
local function OnText(message)
addon['OnText'](message, childName)
addon:OnText(message, childName)
end
 
local function getPref(pref)
166,4 → 166,4
db = addon['db']['profile'][childName]
end
 
addon['startup'](addon, name, childName, init, true, defaults)
addon:startup(name, childName, init, true, defaults)