Skip to content

Tuller/FlyPaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

FlyPaper

A library for sticking frames together

Examples:

local LibFlyPaper = LibStub("LibFlyPaper-1.0")

-- Attempts to attach <frame> to <otherFrame>
-- tolerance: how close the frames need to be to attach
-- xOff: horizontal spacing to include between each frame
-- yOff: vertical spacing to include between each frame
-- returns an anchor point if attached and nil otherwise
local anchorPoint = LibFlyPaper.Stick(frame, otherFrame, tolerance, xOff, yOff)

-- Attempts to anchor frame to a specific anchor point on otherFrame
-- point: any non nil return value of LibFlyPaper.Stick
-- xOff: horizontal spacing to include between each frame
-- yOff: vertical spacing to include between each frame
-- returns an anchor point if attached and nil otherwise
local anchorPoint = LibFlyPaper.StickToPoint(frame, otherFrame, point, xOff, yOff)

About

Library for sticking frames together

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages