WoWInterface SVN QualityID

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 22 to Rev 23
    Reverse comparison

Rev 22 → Rev 23

trunk/QualityID/QualityID.lua
16,8 → 16,8
showStackCount = true;
showIcon = true;
showType = true;
addTopTooltip = true;
addBotTooltip = true;
addTopLine = true;
addBotLine = true;
QualityIDVersion = "3.10";
};
 
27,8 → 27,8
QIDDB.showStackCount = true
QIDDB.showIcon = true
QIDDB.showitemType = true
QIDDB.addTopTooltip = true
QIDDB.addBotTooltip = true
QIDDB.addTopLine = true
QIDDB.addBotLine = true
QIDDB.QualityIDVersion = "3.10"
 
 
49,8 → 49,8
if (not (QIDDB.showStackCount)) then QIDDB.showStackCount = self.showStackCount end
if (not (QIDDB.showIcon)) then QIDDB.showIcon = self.showIcon end
if (not (QIDDB.showitemType)) then QIDDB.showitemType = self.showitemType end
if (not (QIDDB.addTopTooltip)) then QIDDB.addTopTooltip = self.addTopTooltip end
if (not (QIDDB.addBotTooltip)) then QIDDB.addBotTooltip = self.addBotTooltip end
if (not (QIDDB.addTopLine)) then QIDDB.addTopLine = self.addTopLine end
if (not (QIDDB.addBotLine)) then QIDDB.addBotLine = self.addBotLine end
if (not (QIDDB.QualityIDVersion)) then QIDDB.QualityIDVersion = self.QualityIDVersion end
end
 
99,9 → 99,9
QIDDB.showitemType = not QIDDB.showitemType;
elseif(msg:lower() == "icon") then
QIDDB.showIcon = not QIDDB.showIcon;
elseif(msg:lower()== "toptooltip") then
elseif(msg:lower()== "topline") then
QIDDB.addTopTooltip = not QIDDB.addTopTooltip;
elseif(msg:lower()== "bottooltip") then
elseif(msg:lower()== "botline") then
QIDDB.addBotTooltip = not QIDDB.addBotTooltip;
elseif(msg == "") or (msg == "help") then
chat("QualityID options: /qid {toggle | on | off}");
110,8 → 110,8
chat("/qid stack {toggle}");
chat("/qid itemtype {toggle}");
chat("/qid icon {toggle}");
chat("/qid toptooltip {toggle}");
chat("/qid bottooltip {toggle}");
chat("/qid topline {toggle}");
chat("/qid botline {toggle}");
end
end
 
132,7 → 132,7
if link and GetItemInfo(link) and (rarity) then
local r, g , b, hex = GetItemQualityColor(rarity)
if not lineAdded then
if QIDDB.addTopTooltip then
if QIDDB.addTopLine then
frame:AddLine(" ")
end
if QIDDB.showid then
147,7 → 147,7
if QIDDB.showStackCount and stackCount ~= 1 then
frame:AddLine( "Stacks in lots of "..hex..stackCount)
end
if QIDDB.addBotTooltip then
if QIDDB.addBotLine then
frame:AddLine(" ")
end
lineAdded = true