Version 0.9.6.3 - Alpha (see changelog.txt)
@ -1,3 +1,10 @@
|
|||||||
|
================================================
|
||||||
|
Version 0.9.6.3 - Alpha (August 15 - 2013)
|
||||||
|
================================================
|
||||||
|
[CHANGED] the collapsible category icons used in the stock skins
|
||||||
|
|
||||||
|
[REMOVED] loveframes.info
|
||||||
|
|
||||||
================================================
|
================================================
|
||||||
Version 0.9.6.2 - Alpha (August 14 - 2013)
|
Version 0.9.6.2 - Alpha (August 14 - 2013)
|
||||||
================================================
|
================================================
|
||||||
|
@ -23,9 +23,8 @@ function loveframes.debug.draw()
|
|||||||
local cols = loveframes.util.GetCollisions()
|
local cols = loveframes.util.GetCollisions()
|
||||||
local topcol = {type = none, children = {}, x = 0, y = 0, width = 0, height = 0}
|
local topcol = {type = none, children = {}, x = 0, y = 0, width = 0, height = 0}
|
||||||
local objects = loveframes.util.GetAllObjects()
|
local objects = loveframes.util.GetAllObjects()
|
||||||
local author = loveframes.info.author
|
local version = loveframes.version
|
||||||
local version = loveframes.info.version
|
local stage = loveframes.stage
|
||||||
local stage = loveframes.info.stage
|
|
||||||
local basedir = loveframes.config["DIRECTORY"]
|
local basedir = loveframes.config["DIRECTORY"]
|
||||||
local loveversion = love._version
|
local loveversion = love._version
|
||||||
local fps = love.timer.getFPS()
|
local fps = love.timer.getFPS()
|
||||||
|
7
init.lua
@ -9,10 +9,9 @@ local path = ...
|
|||||||
loveframes = {}
|
loveframes = {}
|
||||||
|
|
||||||
-- library info
|
-- library info
|
||||||
loveframes.info = {}
|
loveframes.author = "Kenny Shields"
|
||||||
loveframes.info.author = "Kenny Shields"
|
loveframes.version = "0.9.6.3"
|
||||||
loveframes.info.version = "0.9.6.2"
|
loveframes.stage = "Alpha"
|
||||||
loveframes.info.stage = "Alpha"
|
|
||||||
|
|
||||||
-- library configurations
|
-- library configurations
|
||||||
loveframes.config = {}
|
loveframes.config = {}
|
||||||
|
@ -91,7 +91,8 @@ function loveframes.skins.Register(skin)
|
|||||||
local filename = v.name
|
local filename = v.name
|
||||||
local extension = v.extension
|
local extension = v.extension
|
||||||
local fullpath = v.fullpath
|
local fullpath = v.fullpath
|
||||||
loveframes.skins.available[name].images[filename .. "." .. extension] = love.graphics.newImage(fullpath)
|
local key = filename .. "." .. extension
|
||||||
|
loveframes.skins.available[name].images[key] = love.graphics.newImage(fullpath)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 180 B After Width: | Height: | Size: 197 B |
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 201 B |
@ -1293,10 +1293,12 @@ function skin.DrawCollapsibleCategory(object)
|
|||||||
love.graphics.setColor(255, 255, 255, 255)
|
love.graphics.setColor(255, 255, 255, 255)
|
||||||
if open then
|
if open then
|
||||||
local icon = skin.images["collapse.png"]
|
local icon = skin.images["collapse.png"]
|
||||||
love.graphics.draw(icon, x + (width - 21), y + 5)
|
icon:setFilter("nearest", "nearest")
|
||||||
|
love.graphics.draw(icon, x + width - 21, y + 5)
|
||||||
else
|
else
|
||||||
local icon = skin.images["expand.png"]
|
local icon = skin.images["expand.png"]
|
||||||
love.graphics.draw(icon, x + (width - 21), y + 5)
|
icon:setFilter("nearest", "nearest")
|
||||||
|
love.graphics.draw(icon, x + width - 21, y + 5)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Before Width: | Height: | Size: 180 B After Width: | Height: | Size: 197 B |
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 201 B |