WoWInterface SVN PortalBox

Compare Revisions

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

Rev 4 → Rev 3

trunk/portalbox.xml
2328,8 → 2328,7
PortalBox_MinimapButton_DraggingFrame:Hide()
</OnDragStop>
<OnClick>
PortalBox_MinimapButton_OnClick(arg1) -- do your thing in here, arg1 is mouse button clicked
 
PortalBox_MinimapButton_OnClick() -- do your thing in here, arg1 is mouse button clicked
</OnClick>
</Scripts>
</Button>
trunk/portalbox.lua
89,12 → 89,8
PortalBox_MinimapButtonUnbound_Reposition() -- move the button
end
 
function PortalBox_MinimapButton_OnClick(arg1)
if (arg1 == "LeftButton") then
portalbox_toggle(msg);
else
InterfaceOptionsFrame_OpenToCategory("PortalBox")
end
function PortalBox_MinimapButton_OnClick()
portalbox_toggle(msg);
end
 
function out(text)
102,12 → 98,7
end
 
function portalbox_SlashCommandHandler(msg)
if msg == "" then
portalbox_toggle();
end
if msg == "config" then
InterfaceOptionsFrame_OpenToCategory("PortalBox");
end
portalbox_toggle(msg);
end
 
function portalBox_toggleCollapseState()