Get an Epic Experience with Premium

LibRecursiveAnim-1.0

Libraries Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 0 Monthly Downloads
  • Supports: 3.3.5
  • 50 Total Downloads
  • Updated 09/04/2010
  • Created 09/03/2010
  • 0 Favorites
  • Project Site
  • Comments
  • Release Type: Beta
  • License: GNU General Public License version 2 (GPLv2)
  • Newest File: r3
or

About LibRecursiveAnim-1.0

LibRecursiveAnim-1.0

A library allows creating AnimationGroup that handles frame with all child frames as single object.

API documentation


Example:

libAnim = LibStub:GetLibrary("LibRecursiveAnim-1.0");
		
local MyFrame1 = CreateFrame("Frame", nil, UIParent);
MyFrame1:SetHeight(100);
MyFrame1:SetWidth(100);
MyFrame1:SetPoint("CENTER");
local Texture1 = MyFrame1:CreateTexture();
Texture1:SetAllPoints();
Texture1:SetTexture(0, 0, 0);

local animationGroup = libAnim:CreateRecursiveAnimationGroup(MyFrame1);
local animation = animationGroup:CreateAnimation("Rotation");
animation:SetDegrees(180);
animation:SetDuration(10);

local MyFrame2 = CreateFrame("Frame", nil, MyFrame1);
MyFrame2:SetHeight(100);
MyFrame2:SetWidth(100);
MyFrame2:SetPoint("BOTTOMLEFT", MyFrame1, "TOPRIGHT");
local Texture2 = MyFrame2:CreateTexture();
Texture2:SetAllPoints();
Texture2:SetTexture(0, 0, 0);

animationGroup:Refresh();
animationGroup:Play();

------------------------------------------------------------------------
r3 | hfdixus | 2010-09-04 09:05:50 +0000 (Sat, 04 Sep 2010) | 2 lines
Changed paths:
   A /trunk/.docmeta
   M /trunk/.pkgmeta
   A /trunk/LibRecursiveAnim-1.0
   A /trunk/LibRecursiveAnim-1.0/LibRecursiveAnim-1.0.lua
   A /trunk/LibRecursiveAnim-1.0/lib.xml
   D /trunk/LibRecursiveAnim-1.0.lua
   M /trunk/LibRecursiveAnim-1.0.toc
   A /trunk/LibStub
   A /trunk/LibStub/LibStub.lua
   M /trunk/lib.xml

hard-embed LibStub
documented
------------------------------------------------------------------------
r2 | hfdixus | 2010-09-03 14:52:04 +0000 (Fri, 03 Sep 2010) | 1 line
Changed paths:
   A /trunk/.pkgmeta
   A /trunk/LibRecursiveAnim-1.0.lua
   A /trunk/LibRecursiveAnim-1.0.toc
   A /trunk/lib.xml

initial commit
------------------------------------------------------------------------
r1 | root | 2010-09-03 13:15:39 +0000 (Fri, 03 Sep 2010) | 1 line
Changed paths:
   A /branches
   A /tags
   A /trunk

"librecursiveanim-1-0/mainline: Initial Import"
------------------------------------------------------------------------

Comments

Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Plantronics GameCom Commander Headset Giveaway!