diff --git a/changelog.txt b/changelog.txt index dfbf97b..60f75ff 100644 --- a/changelog.txt +++ b/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) ================================================ diff --git a/debug.lua b/debug.lua index 8ec5612..82ffa76 100644 --- a/debug.lua +++ b/debug.lua @@ -23,9 +23,8 @@ function loveframes.debug.draw() local cols = loveframes.util.GetCollisions() local topcol = {type = none, children = {}, x = 0, y = 0, width = 0, height = 0} local objects = loveframes.util.GetAllObjects() - local author = loveframes.info.author - local version = loveframes.info.version - local stage = loveframes.info.stage + local version = loveframes.version + local stage = loveframes.stage local basedir = loveframes.config["DIRECTORY"] local loveversion = love._version local fps = love.timer.getFPS() diff --git a/init.lua b/init.lua index ddec193..a3d5eb1 100644 --- a/init.lua +++ b/init.lua @@ -9,10 +9,9 @@ local path = ... loveframes = {} -- library info -loveframes.info = {} -loveframes.info.author = "Kenny Shields" -loveframes.info.version = "0.9.6.2" -loveframes.info.stage = "Alpha" +loveframes.author = "Kenny Shields" +loveframes.version = "0.9.6.3" +loveframes.stage = "Alpha" -- library configurations loveframes.config = {} diff --git a/skins.lua b/skins.lua index 054373b..f0e0134 100644 --- a/skins.lua +++ b/skins.lua @@ -91,7 +91,8 @@ function loveframes.skins.Register(skin) local filename = v.name local extension = v.extension 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 diff --git a/skins/Blue/images/collapse.png b/skins/Blue/images/collapse.png index ef0742d..15f5b71 100644 Binary files a/skins/Blue/images/collapse.png and b/skins/Blue/images/collapse.png differ diff --git a/skins/Blue/images/expand.png b/skins/Blue/images/expand.png index 9d820ba..fd22cf1 100644 Binary files a/skins/Blue/images/expand.png and b/skins/Blue/images/expand.png differ diff --git a/skins/Blue/skin.lua b/skins/Blue/skin.lua index ba38ecc..2f99211 100644 --- a/skins/Blue/skin.lua +++ b/skins/Blue/skin.lua @@ -1293,10 +1293,12 @@ function skin.DrawCollapsibleCategory(object) love.graphics.setColor(255, 255, 255, 255) if open then 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 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 diff --git a/skins/Orange/images/collapse.png b/skins/Orange/images/collapse.png index ef0742d..15f5b71 100644 Binary files a/skins/Orange/images/collapse.png and b/skins/Orange/images/collapse.png differ diff --git a/skins/Orange/images/expand.png b/skins/Orange/images/expand.png index 9d820ba..fd22cf1 100644 Binary files a/skins/Orange/images/expand.png and b/skins/Orange/images/expand.png differ