Löve Frames - The Skins Library
Return to Index
Information
The Love Frames skins library houses functions that relate to skin files.
Functions
Register - Registers a skin
loveframes.skins.Register(skin[table])
GetAvailable - Gets all available skins
- Returns 1 value: available skins [table]
local skin = loveframes.skins.GetAvailable()
Get - Gets a skin by its name
- Returns 1 value: skin [table]
local skin = loveframes.skins.Get(skin_name[string])
SetControl - Sets the value of a control registered to a specific skin
loveframes.skins.SetControl(skin_name[string], control[string], value[any])
SetImage - Sets the value of an image index on the specified skin
loveframes.skins.SetImage(skin_name[string], image_index[string], new_image[iamge])
SetImageDirectory - Sets the image directory of the specified skin
loveframes.skins.SetImageDirectory(skin_name[string], directory[string])
ReloadImages - Reloads a skin's images based on the contents of its image directory
loveframes.skins.ReloadImages(skin_name[string])