|
||||||
| Lua Code Discussion You scared? Terrified. Mortified. Petrified. Stupefied... by [coding]. | ||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Full Member
Join Date: Sep 2008
Posts: 241
|
On the PTR when you mouseover recipes in your profession UI you get a hovertip, I believe this is being caused by the Blizzard Feedback UI, any ideas how it's doing it, wouldn't mind being able to have this feature on live.
|
|
|
|
|
|
#2 |
|
Seal Cub Clubbing Club
|
wowcompares.com has all of Blizzard's UI code for every build available.
|
|
|
|
|
|
#3 |
|
Full Member
Join Date: Sep 2008
Posts: 241
|
wowcompares is actually the first place I looked before making this topic, it doesn't have the feedbackUI though.
|
|
|
|
|
|
#4 |
|
Hero Member
Join Date: Apr 2006
Posts: 807
|
Disable the feedbackUI like everybody else does then check if the hovertips are still there.
|
|
|
|
|
|
#5 |
|
Full Member
Join Date: Sep 2008
Posts: 241
|
Whilst it used to show up in earlier WoW patches I don't think the FeedbackUI shows up under the addons page in the 3.1 PTR.
|
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Nov 2005
Posts: 328
|
I believe you are correct but maybe you can "fake it" with
/script DisableAddOn("Blizzard_FeedbackUI") /console reloadui Check with IsAddOnLoaded("Blizzard_FeedbackUI") after the reload to see that it's truly disabled. |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Nov 2005
Posts: 328
|
Since AddonKit does not extract the feedbackUI code,
attaching the latest 3.1 build feedbackUI source for the curious. This is the TradeskillUI relevant code btw: Code:
function FeedbackUI_TradeSkillFrameSetup ()
local skillFrame, reagentFrame, script;
TradeSkillListScrollFrame:HookScript("OnVerticalScroll",
function(self, offset)
if ( GameTooltip:IsVisible() ) then
if ( string.match(GameTooltip:GetOwner():GetName(), "^TradeSkillSkill") ) then
FeedbackUI_TradeSkillFrame_Update(GameTooltip:GetOwner());
end
end
end);
for i = 1, 8 do
skillFrame = getglobal("TradeSkillSkill" .. i);
reagentFrame = getglobal("TradeSkillReagent" ..i);
--[[ Grab OnClick events ]]
skillFrame:HookScript("OnEnter",
function(self)
FeedbackUI_TradeSkillFrame_Update(self);
end);
skillFrame:HookScript("OnLeave",
function(self)
GameTooltip:Hide();
end);
skillFrame:RegisterForClicks("LeftButtonUp", "RightButtonUp");
reagentFrame:RegisterForClicks("LeftButtonUp", "RightButtonUp");
skillFrame:HookScript("OnClick",
function(...)
FeedbackUI_TradeSkillListClick(self, ...);
end);
reagentFrame:HookScript("OnClick",
function(...)
FeedbackUI_TradeSkillListClick(self, ...);
end);
end
TradeSkillSkillIcon:RegisterForClicks("LeftButtonUp", "RightButtonUp");
end
function FeedbackUI_TradeSkillFrame_Update(self)
if ( GetTradeSkillItemLink(self:GetID()) or GetTradeSkillRecipeLink(self:GetID()) ) then
GameTooltip:SetOwner(self, "ANCHOR_BOTTOMRIGHT", 0, self:GetHeight());
GameTooltip:SetTradeSkillItem(self:GetID());
end
end
Last edited by Dridzt; 03-15-2009 at 02:14 PM. |
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Nov 2005
Posts: 328
|
Here's a small addon to do just that with the default UI.
CraftUITips |
|
|
|
|
|
#9 |
|
Full Member
Join Date: Sep 2008
Posts: 241
|
|
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
All times are GMT. The time now is 05:40 PM.
WowAce Forums








