Delete FB_Titan directory
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
## Interface: 11200
|
||||
## Title: Titan Panel [Fishing Buddy]
|
||||
## Version: 0.8.9 Beta 10
|
||||
## Author: Sutorix=AT=hotmail.com
|
||||
## RequiredDeps: Titan, FishingBuddy
|
||||
FishingBuddyTitan.xml
|
||||
@@ -1,58 +0,0 @@
|
||||
-- Titan Panel support
|
||||
|
||||
FB_Titan = {};
|
||||
|
||||
FB_Titan.OnLoad = function()
|
||||
if not TitanPanelButton_UpdateButton then
|
||||
return;
|
||||
end
|
||||
|
||||
this.registry = {
|
||||
id = FBConstants.ID,
|
||||
menuText = FBConstants.NAME,
|
||||
version = FBConstants.VERSION,
|
||||
category = "Profession",
|
||||
icon = "Interface\\AddOns\\FishingBuddy\\Icons\\Fishing-Icon",
|
||||
iconWidth = 16,
|
||||
tooltipTitle = FBConstants.NAME,
|
||||
tooltipTextFunction = "TitanPanelFishingBuddyButton_GetTooltipText",
|
||||
savedVariables = {
|
||||
ShowIcon = 1,
|
||||
}
|
||||
};
|
||||
|
||||
this:RegisterEvent("PLAYER_ENTERING_WORLD");
|
||||
end
|
||||
|
||||
FB_Titan.OnClick = function(button)
|
||||
if ( button == "LeftButton" ) then
|
||||
if ( FishingBuddy.IsSwitchClick() ) then
|
||||
FishingBuddy.Command(FBConstants.SWITCH);
|
||||
else
|
||||
FishingBuddy.Command("");
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
FB_Titan.OnEvent = function()
|
||||
if TitanPanelButton_UpdateButton then
|
||||
TitanPanelButton_UpdateButton(FBConstants.ID);
|
||||
TitanPanelButton_UpdateTooltip();
|
||||
end
|
||||
end
|
||||
|
||||
function TitanPanelFishingBuddyButton_GetTooltipText()
|
||||
return FishingBuddy.TooltipBody("ClickToSwitch");
|
||||
end
|
||||
|
||||
function TitanPanelRightClickMenu_PrepareFishingBuddyMenu()
|
||||
TitanPanelRightClickMenu_AddTitle(TitanPlugins[FBConstants.ID].menuText);
|
||||
|
||||
FishingBuddy.MakeDropDown(FBConstants.CLICKTOSWITCH_ONOFF, "ClickToSwitch");
|
||||
|
||||
TitanPanelRightClickMenu_AddSpacer();
|
||||
TitanPanelRightClickMenu_AddCommand(TITAN_PANEL_MENU_HIDE,
|
||||
FBConstants.ID,
|
||||
TITAN_PANEL_MENU_FUNC_HIDE);
|
||||
end
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
||||
..\FrameXML\UI.xsd">
|
||||
<Script file="FishingBuddyTitan.lua"/>
|
||||
<!-- Titan Panel support -->
|
||||
<Frame parent="UIParent">
|
||||
<Frames>
|
||||
<Button name="TitanPanelFishingBuddyButton" inherits="TitanPanelIconTemplate" frameStrata="FULLSCREEN" toplevel="true">
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
if TitanPanelButton_OnLoad then
|
||||
FB_Titan.OnLoad();
|
||||
TitanPanelButton_OnLoad();
|
||||
end
|
||||
</OnLoad>
|
||||
<OnEvent>
|
||||
FB_Titan.OnEvent();
|
||||
</OnEvent>
|
||||
<OnClick>
|
||||
FB_Titan.OnClick(arg1);
|
||||
TitanPanelButton_OnClick(arg1);
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
</Frames>
|
||||
</Frame>
|
||||
|
||||
</Ui>
|
||||
Reference in New Issue
Block a user