WoW LibMovable-1.0 addon Dragonflight/Wrath of the Lich King Classic 2024
logo
wow addon LibMovable-1.0

LibMovable-1.0

Game Version: 7.0.3
Total Downloads: 1,772
Updated: Sep 9, 2016
Created: Nov 19, 2013
download LibMovable-1.0Download Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
7.0-1.0.0 release 22.52 KB Sep 9, 2016 7.0.3 546 download LibMovable-1.0 7.0-1.0.0 releaseDownload
1.1 release 21.93 KB Nov 22, 2013 5.4.1 970 download LibMovable-1.0 1.1 releaseDownload
1.0 release 22.92 KB Nov 20, 2013 5.4.1 71 download LibMovable-1.0 1.0 releaseDownload
1.1-2-ge0e24ef alpha 22.43 KB Sep 9, 2016 7.0.3 35 download LibMovable-1.0 1.1-2-ge0e24ef alphaDownload
r20131120065159 alpha 22.86 KB Nov 20, 2013 5.4.1 47 download LibMovable-1.0 r20131120065159 alphaDownload
r20131119160228 alpha 22.84 KB Nov 19, 2013 5.4.1 42 download LibMovable-1.0 r20131119160228 alphaDownload
r20131119150437 alpha 22.80 KB Nov 19, 2013 5.4.1 28 download LibMovable-1.0 r20131119150437 alphaDownload
r20131119094705 alpha 21.01 KB Nov 19, 2013 5.4.1 33 download LibMovable-1.0 r20131119094705 alphaDownload

Screenshots

Description

Share this:

LibMovable-1.0

This library allows addon developers to quickly and easily setup user-positionable frames.

End-user features

LibMovable-1.0 works using a lock/unlock mechanism. When unlocked, the position of the frames are shown with colored overlays, even if the frames are hidden. The user can then move the frames around by dragging the overlays and rescale them using the mousewheel ; x- or y-axis locking is available through modifier keys. There is no need to enable mouse interaction with the frames.

Here is the meaning of the overlay colors:

  • green overlays denote unlocked frames, that can be moved freely,
  • red overlays denote secure frames that are locked because of the combat restriction,
  • grey overlays denote disabled frames (if the addon provides such mechanism, see below).

If a “movable” frame is anchored to another one using :SetPoint, LibMovable-1.0 displays the link. The user can separate either move the first frame, keeping all the frames together, or move the second one to break the link and place the frame wherever he wants. Resetting the frame position restores the anchor.

Overlays are labelled and show a tooltip with some usage guidelines. They also provides a dropdown menu with a few options.

LibMovable-1.0 supports one-click config mode.

Developer features

LibMovable-1.0 works by registering each target frame. The frame should be anchored in its default position prior to registering. Overlays automatically fills the whole frame space. In case of variable size, one can pass another frame to fill.

LibMovable-1.0 saves and restores frame positions and scales from any table passed to the register function ; one can also pass a callback that returns such table (handy to handle AceDB profiles).

LibMovable-1.0 can be embedded in any AceAddon addons (including modules) and automatically disable all addon overlays when the addon is disabled. Frames can be (un)locked individually or all at once.

When adding the proper methods to the target frame, LibMovable-1.0 adds some options to enable and disable it.

License

LibMovable-1.0 is licensed using the GPL v3.

Comments

Add a comment