mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-12-11 07:24:24 +00:00
1 line
1.2 KiB
Lua
1 line
1.2 KiB
Lua
--[[------------------------------------------------
|
|
-- Love Frames - A GUI library for LOVE --
|
|
-- Copyright (c) 2012-2014 Kenny Shields --
|
|
--]]------------------------------------------------
|
|
|
|
--[[------------------------------------------------
|
|
-- note: This is the base template for all
|
|
Love Frames objects. You should not
|
|
edit or delete this template unless you
|
|
know what you are doing.
|
|
--]]------------------------------------------------
|
|
|
|
-- template table
|
|
local template = {}
|
|
|
|
-- template name
|
|
template.name = "Base"
|
|
|
|
-- template properties
|
|
template.properties = {}
|
|
|
|
template.properties["*"] =
|
|
{
|
|
state = "none",
|
|
x = 0,
|
|
y = 0,
|
|
width = 5,
|
|
height = 5,
|
|
staticx = 0,
|
|
staticy = 0,
|
|
draworder = 0,
|
|
drawfunc = nil,
|
|
drawoverfunc = nil,
|
|
collide = true,
|
|
internal = false,
|
|
visible = true,
|
|
hover = false,
|
|
alwaysupdate = false,
|
|
retainsize = false,
|
|
calledmousefunc = false,
|
|
skin = nil,
|
|
clickbounds = nil,
|
|
Draw = nil,
|
|
DrawOver = nil,
|
|
Update = nil,
|
|
OnMouseEnter = nil,
|
|
OnMouseExit = nil
|
|
}
|
|
|
|
return template
|