Go Back   WowAce Forums > Addon Chat > Libraries
Libraries Threads for new libraries and mixins.

Reply
 
Thread Tools
Old 11-09-2007   #1
Azethoth
Amazing Member
 
Join Date: Jan 2006
Posts: 1,627
Default LibStickyFrames-2.0

See http://www.wowace.com/wiki/LibStickyFrames-2.0 for detailed spec & current implementation state.

I think that is enough feature bloat but more thoughts & ideas are welcome.

The remaining work is basically:
* Add the sticking stuff + its feedback.
* Move some more drag & drop functions & feedback code into the library itself & then clients just implement some callbacks.
* Provide a set of blizzard frames to snap & stick to. Chatframe etc.
* Private cluster support, so for example pitbull Unit Frame components can move around & stick together privately, but then as a whole unit participate in sticking to other frames.

Currently I have it working in AutoBar & will check in a version using it this weekend.
Azethoth is offline   Reply With Quote
Old 11-10-2007   #2
wobin
Hero Member
 
Join Date: Jul 2005
Posts: 630
Default Re: LibStickyFrames-1.0

Originally by Cladhaire I believe, if you wish to add that in.
wobin is offline   Reply With Quote
Old 11-10-2007   #3
OrionShock
Legendary Member
 
OrionShock's Avatar
 
Join Date: May 2006
Location: Arizona
Posts: 3,787
Default Re: LibStickyFrames-1.0

Quote:
Originally Posted by Wobin
Originally by Cladhaire I believe, if you wish to add that in.
What is? the Idea ... another lib/mod?
__________________
Author of GuildCraft, SickOfClickingDailies, CursorCooldown, Broken_LFD
WoWAce Addon List WoWInterface Addon List

"I was there in the beginning... and things were very different back then" --An Echo from a time before.
OrionShock is offline   Reply With Quote
Old 11-10-2007   #4
Azethoth
Amazing Member
 
Join Date: Jan 2006
Posts: 1,627
Default Re: LibStickyFrames-1.0

Quote:
Originally Posted by OrionShock
What is? the Idea ... another lib/mod?
Added a Vision section to the docs
Azethoth is offline   Reply With Quote
Old 11-10-2007   #5
Azethoth
Amazing Member
 
Join Date: Jan 2006
Posts: 1,627
Default Re: LibStickyFrames-1.0

Wobin & JoshBorke pointed out http://www.wowwiki.com/LegoBlock which has a facility to group stuck together objects & drag them as a whole.

Dragging groups sure sounds sexy ... it must be worthwhile. Mmm, so perhaps steal & upgrade the FlyPaper & LegoBlock code to ignore non-moveable stuff.

Quote:
Originally Posted by Wobin
Originally by Cladhaire I believe, if you wish to add that in.
Ok I am adding Cladhaire as you suggested.
Azethoth is offline   Reply With Quote
Old 11-11-2007   #6
Azethoth
Amazing Member
 
Join Date: Jan 2006
Posts: 1,627
Default Re: LibStickyFrames-1.0

So a few issues with the sticking stuff:
If you stick & both frames have exact borders then it is all good. But if you stick and the frame borders are barfed, or offsets are needed (Blizzard frames invariably need an offset to make it work nice), then how should that be handled.

The client UI could provide sliders for changing x & y offsets.

LibStickyFrames itself could maybe have a shift?-drag mode that will not unstick a stuck frame but just change its offsets.

This is not easily discoverable in the interface though. Perhaps add instructions in the frame Tooltip?
Azethoth is offline   Reply With Quote
Old 11-13-2007   #7
Azethoth
Amazing Member
 
Join Date: Jan 2006
Posts: 1,627
Default Re: LibStickyFrames-1.0

The latest version adds a callback to get into Sticky mode & sets all registered mods into it. I think that makes the basic drag with snapping operational & worth including in a mod. Still need more work on the sticking part. If you use LibStickyFrames-1.0 in your mod let me know so I can check to see if a change would break anything.
Azethoth is offline   Reply With Quote
Old 11-14-2007   #8
Chexsum
Member
 
Join Date: Oct 2007
Posts: 17
Default Re: LibStickyFrames-1.0

Something that would be nice would be a way to center horizontally the frame while moving it (snap to center) - itd be useful for the boss/spell alert programs. Ill be trying the library with a addon that creates action buttons to buff people soon - I was looking at LegoBlocks then seen this a few days ago and checked it out.
Chexsum is offline   Reply With Quote
Old 11-17-2007   #9
Azethoth
Amazing Member
 
Join Date: Jan 2006
Posts: 1,627
Default Re: LibStickyFrames-1.0

Quote:
Originally Posted by Chexsum
Something that would be nice would be a way to center horizontally the frame while moving it (snap to center) - itd be useful for the boss/spell alert programs. Ill be trying the library with a addon that creates action buttons to buff people soon - I was looking at LegoBlocks then seen this a few days ago and checked it out.
Good idea. Well you could register a "Centering" frame for that.
Azethoth is offline   Reply With Quote
Old 11-24-2007   #10
JCinDE
Member
 
Join Date: Aug 2006
Posts: 48
Default Re: LibStickyFrames-1.0

It'd be nice to have a way to temporarily exclude a frame from the sticky "pool" if it is interfering with attempts at precise positioning.
JCinDE is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:59 AM.