From b1ed3bd8dd8769c3bcdb3c273c5463980b0f2bc4 Mon Sep 17 00:00:00 2001 From: ackis Date: Fri, 15 May 2009 17:52:25 +0000 Subject: [PATCH] add skeleton stuff for the libqtipclick --- ARLFrame.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ARLFrame.lua b/ARLFrame.lua index 4cc7cb2..2f7b986 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -3202,6 +3202,12 @@ local function SetFramePosition() end +-- Description: Function called when tool tip is clicked for alt trade skills + +function addon:HandleTTClick(cell, event, button) + +end + -- Description: Creates the initial frame to display recipes into function addon:CreateFrame( @@ -4444,8 +4450,12 @@ function addon:CreateFrame( ARL_MiscAltBtn:Disable() -- disabled for now ARL_MiscAltBtn:RegisterForClicks("LeftButtonUp") ARL_MiscAltBtn:SetScript("OnClick", - function(self,button) + function(this,button) --open tooltip (qtipclick?) with all alts + --tooltip:SetCallback("OnMouseDown", addon.HandleTTClick) + --GameTooltip_SetDefaultAnchor(GameTooltip, this) + --GameTooltip:SetText() + --GameTooltip:Show() end) -- Now that everything exists, populate the global filter table -- 1.7.9.5