WoWInterface SVN PetListPlus

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 13 to Rev 14
    Reverse comparison

Rev 13 → Rev 14

Main.lua
19,6 → 19,11
["isPanning"] = false,
}
 
local localeText = {
["MOUNT"] = "Mounts",
["CRITTER"] = "Pets",
}
 
self:RegisterEvent("ADDON_LOADED")
 
self:SetScript("OnEvent", function(...) self:OnEvent(...) end)
60,6 → 65,13
self.close:SetPoint("CENTER", self, "TOPLEFT", 305, -422)
self.close:SetScript("OnClick", function() HideUIPanel(CharacterFrame) end)
 
--Companion count text
self.countText = self:CreateFontString("$parentCountText", "ARTWORK", "GameFontNormal")
self.countText:SetTextColor(1,1,1)
self.countText:SetJustifyH("RIGHT")
self.countText:SetPoint("TOPRIGHT", self.close, "TOPLEFT", -5, -2)
self.countText:SetText("54 Pets")
 
self.model = CreateFrame("DressUpModel", "$parentModel", self)
self.model:SetWidth(315)
self.model:SetHeight(110)
205,6 → 217,8
for i = count, #self.buttons do
self.buttons[i]:Hide()
end
 
self.countText:SetText(string.format("%d %s", numComp, localeText[mode]))
end
 
function self:OnButtonClick()
PetListPlus.toc
2,7 → 2,7
## Title: PetList+
## Author: Syzgyn
## Notes: Improved Companion Frame
## Version 0.4.wowi:revision
## Version 0.4.1.wowi:revision
## SavedVariables: PLPSV
## SavedVariablesPerCharacter: PLPSVPC