WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   WoD Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=151)
-   -   /fstack findings ... (https://www.wowinterface.com/forums/showthread.php?t=49495)

Xrystal 07-19-14 04:04 PM

/fstack findings ...
 
2 Attachment(s)
My ScrollingWatchFrame failed to load so checked what the new WatchFrame was called ...

ObbleYeah 07-19-14 04:24 PM

I've also been trying to make head or tail of the new objective frame. Both times here i'm hovering over the header.

collapsed: http://abload.de/img/screenshot2014-07-19ajrofz.png
expanded: http://abload.de/img/screenshot2014-07-19awfpxi.png

Having no header frame when collapsed means that my little script that allows the thing to be moved will only work whilst the frame is expanded for now. Bit annoying.

sezz 07-27-14 09:21 PM

Quote:

Originally Posted by ObbleYeah (Post 294059)
I've also been trying to make head or tail of the new objective frame. Both times here i'm hovering over the header.

collapsed: http://abload.de/img/screenshot2014-07-19ajrofz.png
expanded: http://abload.de/img/screenshot2014-07-19awfpxi.png

Having no header frame when collapsed means that my little script that allows the thing to be moved will only work whilst the frame is expanded for now. Bit annoying.

FramePositionDelegate:UIParentManageFramePositions() resets the position anyways (the check for IsUserPlaced()) is gone - any simple workarounds yet?

ObbleYeah 07-28-14 05:49 AM

Quote:

Originally Posted by sezz (Post 294452)
FramePositionDelegate:UIParentManageFramePositions() resets the position anyways (the check for IsUserPlaced()) is gone - any simple workarounds yet?

does it? This is working fine for me on the beta. Simple 6.0 update to zork's rWatchFrameMover method

Lua Code:
  1. local watchframeheight = 450
  2.  
  3.     local function MMFMWF_Tooltip(self)
  4.         GameTooltip:SetOwner(self, "ANCHOR_TOP")
  5.         GameTooltip:AddLine("• Drag to move", 0, 1, 0.5, 1, 1, 1)
  6.         GameTooltip:Show()
  7.     end
  8.  
  9.     -- remove the former when 6.0 hits
  10.     local wf = WatchFrame or ObjectiveTrackerFrame
  11.     wf:SetClampedToScreen(true)
  12.     wf:SetMovable(true)
  13.     wf:SetUserPlaced(true)
  14.     wf:ClearAllPoints()
  15.     wf.ClearAllPoints = function() end
  16.     wf:SetPoint("TOP", MinimapCluster, "BOTTOM", 0, -20)
  17.     wf.SetPoint = function() end
  18.     wf:SetHeight(watchframeheight)
  19.  
  20.     local wfhmoveframe = CreateFrame("FRAME", nil, wf)
  21.     wfhmoveframe:SetHeight(16)
  22.     wfhmoveframe:SetPoint("TOPLEFT", wf, "TOPLEFT", 150, 0)
  23.     wfhmoveframe:SetPoint("TOPRIGHT", wf, "TOPRIGHT")
  24.     wfhmoveframe:EnableMouse(true)
  25.     wfhmoveframe:RegisterForDrag("LeftButton")
  26.     wfhmoveframe:SetHitRectInsets(-5, -5, -5, -5)
  27.    
  28.     wfhmoveframe:SetScript("OnDragStart", function(s)
  29.         local f = s:GetParent()
  30.         f:StartMoving()
  31.     end)
  32.    
  33.     wfhmoveframe:SetScript("OnDragStop", function(s)
  34.         local f = s:GetParent()
  35.         f:StopMovingOrSizing()
  36.     end)
  37.    
  38.     wfhmoveframe:SetScript("OnEnter", function(s)
  39.         MMFMWF_Tooltip(s)
  40.     end)

Lombra 07-28-14 06:45 AM

Well if you've overridden the SetPoint method it won't, but that's gonna cause some taint most likely.

ObbleYeah 07-28-14 07:25 AM

Ah. Haven't noticed any taint during testing, but it's possible/probable that i've not been in the right scenario to cause it.

siweia 08-20-14 10:00 PM

Anyone knows the name of the gametooltip in /FSTACK function?

I am trying to reskin it.

jeruku 08-20-14 11:35 PM

Quote:

Originally Posted by siweia (Post 295748)
Anyone knows the name of the gametooltip in /FSTACK function?

I am trying to reskin it.

Is it FrameStackTooltip by chance?

Phanx 08-21-14 12:35 AM

Quote:

Originally Posted by siweia (Post 295748)
Anyone knows the name of the gametooltip in /FSTACK function?

As Jeruku said, it is "FrameStackTooltip". The Blizzard UI code is always a good place to look when you're trying to figure out how default UI frames and regions are put together.

siweia 08-22-14 10:46 AM

Thanks jeruku and Phanx.


All times are GMT -6. The time now is 03:07 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI