Quantcast
WoWInterface: SVN - TitanPanelBankItems - Path Comparison - /trunk Rev 3 and /trunk Rev 4

WoWInterface SVN TitanPanelBankItems

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 3 to Rev 4
    Reverse comparison

Rev 3 → Rev 4

TitanBankItems/TitanBankItems.toc
1,10 → 1,10
## Interface: 40000
## Title: Titan Panel [|cffeda55fBankItems|r] |cff00aa002.0.6|r
## Title: Titan Panel [|cffeda55fBankItems|r] |cff00aa002.0.7|r
## Notes: A Titan Plugin for BankItems
## Version: 2.0.6
## X-Date: 2010-10-13
## Version: 2.0.7
## X-Date: 2010-11-19
## Author: Kernighan
## SavedVariables:
## OptionalDeps:
## Dependencies: Titan, BankItems
## RequiredDeps: Titan, BankItems
TitanBankItems.xml
TitanBankItems/Icons/bag_blue.png Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
TitanBankItems/TitanBankItems.xml
6,9 → 6,14
<Button name="TitanPanelBankItemsButton" inherits="TitanPanelIconTemplate" frameStrata="FULLSCREEN" toplevel="true">
<Scripts>
<OnLoad>
TitanPanelBankItemsButton_OnLoad(self);
TitanPanelButton_OnLoad(self);
if TitanPanelButton_OnLoad then
TitanPanelBankItemsButton_OnLoad(self);
TitanPanelButton_OnLoad(self);
end
</OnLoad>
<OnEvent>
TitanPanelBankItemsButton_OnEvent(self, event, ...);
</OnEvent>
<OnClick>
TitanPanelBankItemsButton_OnClick(self, button);
TitanPanelButton_OnClick(self, button);
TitanBankItems/TitanBankItems.lua
2,7 → 2,7
Name: Titan BankItems
Description: Titan Panel plugin for BankItems
Author: Kernighan
Version: 2.0.5
Version: 2.0.7
--]]
 
 
12,7 → 12,7
end
 
TITAN_BANKITEMS_ID = "BankItems";
 
TITAN_BANKITEMS_VERSION = "2.0.7";
TITAN_BANKITEMS_TOOLTIP_HINTS_1 = "Hint: Click to toggle BankItems display.";
TITAN_BANKITEMS_TOOLTIP_HEADERS_1 = "Characters - Slots\t"..TitanUtils_GetGreenText("Money");
TITAN_BANKITEMS_TOOLTIP_FORMAT = "%s - "..TitanUtils_GetHighlightText("%d/%d").."\t"..TitanUtils_GetHighlightText(TITAN_MONEY_FORMAT.."\n");
25,18 → 25,34
TITAN_BANKITEMS_PURGE_HELPTEXT = "Delete stored data of...";
 
function TitanPanelBankItemsButton_OnLoad(self)
if not TitanPanelButton_UpdateButton then
return;
end
self.registry = {
id = TITAN_BANKITEMS_ID,
menuText = "BankItems",
tooltipTitle = "BankItems";
version = TITAN_BANKITEMS_VERSION,
category = "Information",
icon = "Interface\\AddOns\\TitanBankItems\\Icons\\bag_blue",
iconWidth = 16,
tooltipTitle = "BankItems",
tooltipTextFunction = "TitanPanelBankItemsButton_GetTooltipText",
icon = "Interface\\Icons\\INV_Misc_Bag_10_Blue",
iconWidth = 16,
iconButtonWidth = 16,
};
tinsert(TITAN_PANEL_NONMOVABLE_PLUGINS, TITAN_BANKITEMS_ID);
end
 
function TitanPanelBankItemsButton_OnClick(self, button)
if (button == "LeftButton") then
BankItems_SlashHandler();
end
end
TitanPanelBankItemsButton_OnEvent = function(self, event, ...)
if TitanPanelButton_UpdateButton then
TitanPanelButton_UpdateButton(TITAN_BANKITEMS_ID);
TitanPanelButton_UpdateTooltip();
end
end
 
function TitanPanelBankItemsButton_GetTooltipText()
local text = "";
local total = 0;
88,12 → 104,6
return text;
end
 
function TitanPanelBankItemsButton_OnClick(self, button)
if (button == "LeftButton") then
BankItems_SlashHandler();
end
end
 
-- The tooltips in this menu only displays if the player has "Show Detailed Tooltips" turned on in the Interface Options.
function TitanPanelRightClickMenu_PrepareBankItemsMenu(self)
local info;