/
PortalBox_MinimapButton_DraggingFrame:Hide() |
</OnDragStop> |
<OnClick> |
PortalBox_MinimapButton_OnClick() -- do your thing in here, arg1 is mouse button clicked |
PortalBox_MinimapButton_OnClick(arg1) -- do your thing in here, arg1 is mouse button clicked |
</OnClick> |
</Scripts> |
</Button> |
PortalBox_MinimapButtonUnbound_Reposition() -- move the button |
end |
function PortalBox_MinimapButton_OnClick() |
portalbox_toggle(msg); |
function PortalBox_MinimapButton_OnClick(arg1) |
if (arg1 == "LeftButton") then |
portalbox_toggle(msg); |
else |
InterfaceOptionsFrame_OpenToCategory("PortalBox") |
end |
end |
function out(text) |
end |
function portalbox_SlashCommandHandler(msg) |
portalbox_toggle(msg); |
if msg == "" then |
portalbox_toggle(); |
end |
if msg == "config" then |
InterfaceOptionsFrame_OpenToCategory("PortalBox"); |
end |
end |
function portalBox_toggleCollapseState() |