WoW BlueTracker Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
Poster: Anduinlothar at 10/20/2005 2:41:15 PM PDT
Subject: Slouken: Frame Strata, TopLevel suggestions
   I remember hearing something about being able to set Frame Strata. Is that in the API yet or was that a 1.9 planned feature? (Edit: found it in 1.7 changes SetFrameStrata)

I was also wondering if we could get a func to set the toplevel status of a frame. frame:SetTopLevel(1/0) for example. I'd love to be able to turn off the frame level negotiation on some frames, at least temporarily. It causes a procesor spike on even the fastest of systems.

For example I have Mobile bags and I have it set to reposition the remaning default location bags down when I move one bellow it. This makes it so that the current frame being dragged and the next one are essentially on top of each other and they're both toplevel so they fight for a second and the one being dragged wins and remains on top.

Of course it'd be nice it the frame leveling logic was a little better implimented to be quicker, but that's not my area and I'm not sure if it's possible on your end. So I'll stick with the option to disable the toplevel on the bags while dragging and hope that lets them stay the same level while I drag over them. Another possibility would be to halt relevelign when frame:StartMoving() is called and adjust them again when you call frame:StopMovingOrSizing().

Tho there's always the posibility of conflict with OnEnter/OnLeave not triggering correctly if the frame i'm dragging is not on top and goes under another one... any ideas?

[ post edited by Anduinlothar ]


-AnduinLothar
http://www.wowwiki.com/User:KarlKFI
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=248884&p=#post248884
 
Poster: slouken at 11/1/2005 9:49:58 AM PST
Subject: Re: Slouken: Frame Strata, TopLevel suggestio
   There are several different issues you're talking about here. It does make sense for windows being dragged to always be on top while they are being moved. Can you create a minimal example that I can use to test this?

Thanks!
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=248884&p=#post255719

View all recent official Blue Posts

WoW Blue Tracker: Archiving World of Warcraft Blue Posts
since March 2005
Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
 

Why Ads?