Download
(4 Kb)
Download
Updated: 12-09-09 08:05 AM
Pictures
File Info
Updated:12-09-09 08:05 AM
Created:08-14-09 07:31 AM
Downloads:20,993
Favorites:88
MD5:
oUF MoveableFrames  Popular! (More than 5000 hits)
Version: 1.6
by: Xruptor [More]
THIS ADDON IS OUTDATED! IT HAS BEEN ABANDONED! I DON'T PLAN TO UPDATE IT!

THIS MOD IS NO LONGER MAINTAINED. I HAVE ONLY KEPT IT IN CASE YOUR USING A REALLY OLD OUF LAYOUT! OTHERWISE USE THE MOD BELOW INSTEAD TO MOVE YOUR FRAMES! IT'S THE OFFICIAL ONE FROM HASTE!

oUF_MovableFrames





------------------------------------------------------------------------

BTW: Yes I know it's spelled 'movable' and not 'moveable', but you'd be surprised how many people forget that. I also wanted this library to show in searches when the word 'move' was used. :P

Since so many oUF layouts have frames that cannot be moved or repositioned. I created this plugin to allow users to move frames without having to have any programming experience.

NOTE: This plugin requires that the oUF layout author add support for this plugin in their oUF layout. If support is not added then this plugin will not work.

Usage: Type /mvf to toggle the unlocking and locking of frames.

Header frames will have a small movable red square that can be positioned anywhere on the screen. You may or may not be able to see the frames attached to this anchor.


----------------------------
Authors:

NOTE: Authors you MUST make sure your frames and objects are created with NAMES. If no names are provided then the library will return errors. The library cannot possibly know how to save/restore a frame or object with no name.

To implement this plugin in your layout, simply add the code below in the style creation (frame creation) phase of your addon.

Code:
self.MoveableFrames = true

OPTIONAL:
You can also use the new BlackList and WhiteList functions added in version 1.3:

Code:
oUF_MoveableFrames_BLKLST(framename)

OPTIONAL:
Blacklisted frames will not be able to be moved or repositioned by the user. So if you have a specific frame you want not to be moved, then use this function.

Code:
oUF_MoveableFrames_WHTLST(framename)

OPTIONAL:
Whitelisted frames will be able to be moved and repositioned by the user. This function can be used for frames outside of the oUF object set. So if you have custom frames you wish to be added to the moveableframes library, you can use this function to do so.


-----------------------
HEADER FRAME SUPPORT:
-----------------------


Header frames are now supported in this library. The 'oUF_MoveableFrames_HEADER' function will automatically create an anchor frame that can be moved by the user. This anchor will be stored and repositioned each time the user logs into the game. There is no special setup required. All frames that are passed to this function will have it's SetPoint set to the anchor.

Code:
oUF_MoveableFrames_HEADER(frame, desc, ofsx, ofsy)
NOTE: In order to see the anchors on the screen, the users must use the slash command /mvf. The anchor frames are hidden by default.
Version 1.6:
-Updated toc

Version 1.5:
-Removed some redundant code
-Some code cleanup

Version 1.4:
NOTE: Frames must now be moved using the unlock/lock toggle. Type /mvf to toggle.
-Removed some redundant code
-Removed the ability to drag frames using the ALT key.
-Added a lock/unlock toggle for moving frames. (Alt Key drag has been removed)

Version 1.3:
-Added two new functions to allow authors to add frames to a WhiteList or BlackList.
-Added function oUF_MoveableFrames_BLKLST, allows an author to add a frame to a list of frames that cannot be moved or repositioned.
-Added function oUF_MoveableFrames_WHTLST, allows an author to add a frame to a list of frames that can be moved and repositioned.

-Added Header Frame Support!
--Added function oUF_MoveableFrames_HEADER, allows an author to designate a header frame he/she wants to be moved and repositioned. This function will automatically create a movable anchor frame that will have it's positioned stored and then restored. The parent frame will have it's position automatically set to the anchor. There is no special setup required.

-Added a slash command, /mvf to display and hide all the header frame anchors on the screen.


Version 1.2:
-Added several nil checks
-Added a warning display for frames/objects with no names to reposition.
-Added a note to oUF style authors to please add names to their frames/objects.

Version 1.1:
-Fixed placement issues and position bugs that were occurring for some users. (Special thanks to Dawn)
Optional Files (0)


Archived Files (6)
File Name
Version
Size
Author
Date
1.5
4kB
Derkyle
11-13-09 07:04 AM
1.4
4kB
Derkyle
11-04-09 08:22 AM
1.3
4kB
Derkyle
11-01-09 07:58 AM
1.2
2kB
Derkyle
10-27-09 06:43 AM
1.1
2kB
Derkyle
08-15-09 08:20 AM
1.0
2kB
Derkyle
08-14-09 07:31 AM


Post A Reply Comment Options
Unread 07-26-10, 08:55 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Originally posted by Evanh
Is it possible to change the layout to horizontol instead of vertical?
THIS MOD IS NO LONGER MAINTAINED. I HAVE ONLY KEPT IT IN CASE YOUR USING A REALLY OLD OUF LAYOUT! OTHERWISE USE THE MOD BELOW INSTEAD TO MOVE YOUR FRAMES! IT'S THE OFFICIAL ONE FROM HASTE!

oUF_MovableFrames
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 05-31-10, 05:10 AM  
Evanh
A Murloc Raider

Forum posts: 5
File comments: 18
Uploads: 0
Is it possible to change the layout to horizontol instead of vertical?
Evanh is offline Report comment to moderator  
Reply With Quote
Unread 12-18-09, 07:39 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
The only problem is this, as much as I would love to continue this project; Layout authors would have to implement support for this plug-in into their layout.

Haste's version doesn't require the addon author to do anything on their part.

In fact, Dawn one of the authors whom I worked closely to develop much of the additions to this plug-in. Has already systematically removed all support for this plug-in from his layout. He was the first one to do so.

-------------------

Also it doesn't help that Haste named his plug in practically the same name as mine. All that will do is cause confusion as to which is which. Mine was misspelled deliberately so that when a person searched for the word 'move' this plug-in would be listed.

But I have nothing against Haste as I think he's a fine programmer and writes excellent code. If anything I'll just mark this plug-in as abandoned or something, if I continue to see people remove support for it. After all he is the creator of the core oUF to begin with, his version of the plug-in would always be much more efficient then mine.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Last edited by Xruptor : 12-21-09 at 11:09 AM.
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 12-18-09, 03:16 AM  
omicron
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 47
Uploads: 1
Originally posted by Squishiman
I find this move plugin alot easyer to use less frame box's to move then hastes keep up the good work Derkyle
same here
omicron is offline Report comment to moderator  
Reply With Quote
Unread 12-16-09, 04:24 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Originally posted by Squishiman
I find this move plugin alot easyer to use less frame box's to move then hastes keep up the good work Derkyle
thanks
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 12-16-09, 03:02 PM  
Squishiman
A Murloc Raider
 
Squishiman's Avatar

Forum posts: 4
File comments: 18
Uploads: 0
I find this move plugin alot easyer to use less frame box's to move then hastes keep up the good work Derkyle
Squishiman is offline Report comment to moderator  
Reply With Quote
Unread 12-16-09, 02:12 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Originally posted by p3lim
Haste released his own moving plug-in today:
http://www.wowinterface.com/downloads/info15425
That's cool his version is actually very neat. I guess that makes this mod obsolete now. Oh well
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 12-16-09, 11:59 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1230
File comments: 1182
Uploads: 25
Haste released his own moving plug-in today:
http://www.wowinterface.com/downloads/info15425
p3lim is online now Report comment to moderator  
Reply With Quote
Unread 12-14-09, 02:40 PM  
Rhaethe
A Warpwood Thunder Caller
 
Rhaethe's Avatar

Forum posts: 98
File comments: 45
Uploads: 0
Re: Re: Party frames resetting

Originally posted by Derkyle
Which layouts? Remember if the layout author didn't add support for headers in the layout. It is possible that the party frames are anchor to an invisible frame header that isn't movable. When you drag the party frames all it does it put them back to the invisible header frame.

I added header frame support in version 1.5 and it's been working just fine for the layouts that use it
That might be it, since the layouts I tried (and used it fine, previously) are older layouts that haven't been updated in a bit. I'd also not updated MVF plugin since its 1.3 version until now.

I will check through and make sure. Thanks!
Last edited by Rhaethe : 12-14-09 at 02:43 PM.
Rhaethe is offline Report comment to moderator  
Reply With Quote
Unread 12-14-09, 11:27 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Re: Party frames resetting

Originally posted by Rhaethe
Hi there

I've tried a couple layouts to see if its the layout or the plugin ... and it "appears" that it might be the plugin.

When moving around frames, the party and raid frames consistently reset. You drag, and then the frame bounces back to where it started from as soon as you let it go.
Which layouts? Remember if the layout author didn't add support for headers in the layout. It is possible that the party frames are anchor to an invisible frame header that isn't movable. When you drag the party frames all it does it put them back to the invisible header frame.

I added header frame support in version 1.5 and it's been working just fine for the layouts that use it
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 12-14-09, 11:00 AM  
Rhaethe
A Warpwood Thunder Caller
 
Rhaethe's Avatar

Forum posts: 98
File comments: 45
Uploads: 0
Party frames resetting

Hi there

I've tried a couple layouts to see if its the layout or the plugin ... and it "appears" that it might be the plugin.

When moving around frames, the party and raid frames consistently reset. You drag, and then the frame bounces back to where it started from as soon as you let it go.
Rhaethe is offline Report comment to moderator  
Reply With Quote
Unread 11-07-09, 10:48 AM  
zizko
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally posted by Derkyle
Find in Interface\ouf_Alekk\ouf_alekk.lua

Code:
self.Health = CreateFrame("StatusBar", nil, self)
Right ABOVE that put

Code:
self.MoveableFrames = true
Many Thanks!
Worked
zizko is offline Report comment to moderator  
Reply With Quote
Unread 11-07-09, 07:13 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Originally posted by zizko
Hi!

I used Ouf_alekk layout, and i dont know where can i paste :
self.MoveableFrames = true

Pls, help me!
Many Thanks!
Find in Interface\ouf_Alekk\ouf_alekk.lua

Code:
self.Health = CreateFrame("StatusBar", nil, self)
Right ABOVE that put

Code:
self.MoveableFrames = true
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 11-04-09, 08:23 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
Version 1.4:
NOTE: Frames must now be moved using the unlock/lock toggle. Type /mvf to toggle.
-Removed some redundant code
-Removed the ability to drag frames using the ALT key.
-Added a lock/unlock toggle for moving frames. (Alt Key drag has been removed)
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 11-01-09, 08:09 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 562
Uploads: 37
New BlackList and WhiteList functions added in version 1.3:

Code:
oUF_MoveableFrames_BLKLST(framename)
Blacklisted frames will not be able to be moved or repositioned by the user. So if you have a specific frame you want not to be moved, then use this function.

Code:
oUF_MoveableFrames_WHTLST(framename)
Whitelisted frames will be able to be moved and repositioned by the user. This function can be used for frames outside of the oUF object set. So if you have custom frames you wish to be added to the moveableframes library, you can use this function to do so.


-----------------------
HEADER FRAME SUPPORT:
-----------------------


Header frames are now supported in this library. The 'oUF_MoveableFrames_HEADER' function will automatically create an anchor frame that can be moved by the user. This anchor will be stored and repositioned each time the user logs into the game. There is no special setup required. All frames that are passed to this function will have it's SetPoint set to the anchor.

Code:
oUF_MoveableFrames_HEADER(frame, desc, ofsx, ofsy)
NOTE: In order to see the anchors on the screen, the users must use the slash command /mvf. The anchor frames are hidden by default.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: