WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   New Item Buff Display - make movable (https://www.wowinterface.com/forums/showthread.php?t=650)

KudaneEQI 04-20-05 05:14 AM

New Item Buff Display - make movable
 
The new Item buff display is great, but there is no way to toggle it off, and it is not part of the regular buff window.

I am using Gypsy Mod which allows me to move my buffs and stack them vertically, but I can not move this silly thing.

Any one able to code it movable, (maybe cloning gypsy mods other movable windows?)

thanks

Kudane.

---------------
XML I know, Lua on the other hand, I am all thumbs!

Inokis 04-20-05 05:15 AM

Its part of a frame inside the BuffFrame.xml. You either have to set it relative to a window you want to make movable or you have to yank it out and put it into its own xml, with the acoompanying lua.

KudaneEQI 04-20-05 05:19 AM

Quote:

Originally Posted by Inokis
Its part of a frame inside the BuffFrame.xml. You either have to set it relative to a window you want to make movable or you have to yank it out and put it into its own xml, with the acoompanying lua.


I got

Quote:

blah blah blah blah blah blah BuffFrame.xml blah blah blahblah blah blahblah blah blahblah blah blahblah blah blah own xml blah blah blahblah blah blahblah blah blah.
Did i mention that I am clueless on the lua part.

:)

Inokis 04-20-05 05:24 AM

I can't code LUA for crap, just very basic scripts. In simpler terms this is what's going on.

There is a window that holds the buffs, called BuffFrame.

Inside the BuffFrame XML they've added a layer to contain the Enchantment Buffs as its own frame. This makes it act as its own window and thus has its own positioning.

To make it movable you would have to set that frame as a relative position to one of the other windows, or you could move the buffs out of that frame entirely and add them as part of the other buffs.

Without going into specific code this is the best I can explain it, if you want you can unzip the modified BuffFrame.xml and lua that i've coded as part of the ClearHud and see what I'm talking about.

woofiest 04-20-05 11:27 AM

FYI for the LUA API you probably is looking for

LayoutFrame:ClearAllPoints()
-- Clear all attachment points for this object.

LayoutFrame:SetPoint("point","relativeFrame","relativePoint"{,xOfs,yOfs})
-- Set an attachment point of this object

So just need the layer frame name, in order to call it. That's how I set where to place the frame in my mod also. :-)

Keovar 04-26-05 09:10 AM

It'd be nice if Mondinga could just make Item Buffs show up in Gypsy's Buff Bar, maybe with a purplish background to distinguish them from the regular buff and debuff spots.

Cairenn 04-26-05 09:27 AM

Suggestion for you. Post said request in his forum. ;)

Devla 04-26-05 10:48 AM

I modified BibMod to move the ItemBuff icons. Only problem is that the green move button would jump around on reload and wouldn't hide. I messed around with it for about an hour...

then I did a

/script TemporaryEnchantFrame:Hide()

Problem solved!!!

Keovar 04-26-05 11:10 AM

Quote:

Originally Posted by Cairenn
Suggestion for you. Post said request in his forum. ;)

You're right.
Done.

Cairenn 04-26-05 11:18 AM

QT, thanks for the info, that's undoubtedly precisely what many will want. :)

Keovar :D


All times are GMT -6. The time now is 06:10 AM.

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