From 7b8bf9c79e793556efff7d9802a7e7e6219e4fee Mon Sep 17 00:00:00 2001 From: Kenny Shields Date: Thu, 15 Aug 2013 15:28:18 -0400 Subject: [PATCH] Version 0.9.6.3 - Alpha (see changelog.txt) --- changelog.txt | 7 +++++++ debug.lua | 5 ++--- init.lua | 7 +++---- skins.lua | 3 ++- skins/Blue/images/collapse.png | Bin 180 -> 197 bytes skins/Blue/images/expand.png | Bin 195 -> 201 bytes skins/Blue/skin.lua | 6 ++++-- skins/Orange/images/collapse.png | Bin 180 -> 197 bytes skins/Orange/images/expand.png | Bin 195 -> 201 bytes 9 files changed, 18 insertions(+), 10 deletions(-) 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 ef0742d82265ecb81f344e78f2bec72be412bb51..15f5b718763a4d749a8598b90085c53191e844bd 100644 GIT binary patch delta 119 zcmdnOc$9I1BnKM<1B3kM|A`azq`3|;Fz_8>6xHx*m>8@X=IH6-7-HeS_RL0J1_hoY z2j1LId9s}Kq$`g|_>oJ?C)pg#NH8&wlHl!Ob9-#D%UbyNv-i!?U@r6G#)}6mrbq4f W_;z~kEfFoC6%3xPelF{r5}E+(F)WAx delta 102 zcmX@gxP@_oq$m>u1H*)g8D>C=u{g-xiDBJ2nU@n4rMV6>Fz_8_Jf6QIWulv=g|erM zV~B-+@(Xpr29rPPQaxD=Mjse0EGX;0m%W783+ad001BJ|6!3X8w$bz01m)hB#spK!@w*KDwEzGB002ovPDHLkV1ixQE$#pS delta 117 zcmX@fc$jg5q$m>u1H*)g8D>C=u{g-xiDBJ2nU@n4rMV6>Fz_8_Jf6QIWulv=yOF1h zV~B-+@(Xpr29rPPQUU(V0Rq#1EV#xH)+~JBYQO?U$%d;5;_^mP1&l?e6BvH|X5122 VFaKjU{}Z6e44$rjF6*2UngE{`C$Rtk 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 ef0742d82265ecb81f344e78f2bec72be412bb51..15f5b718763a4d749a8598b90085c53191e844bd 100644 GIT binary patch delta 119 zcmdnOc$9I1BnKM<1B3kM|A`azq`3|;Fz_8>6xHx*m>8@X=IH6-7-HeS_RL0J1_hoY z2j1LId9s}Kq$`g|_>oJ?C)pg#NH8&wlHl!Ob9-#D%UbyNv-i!?U@r6G#)}6mrbq4f W_;z~kEfFoC6%3xPelF{r5}E+(F)WAx delta 102 zcmX@gxP@_oq$m>u1H*)g8D>C=u{g-xiDBJ2nU@n4rMV6>Fz_8_Jf6QIWulv=g|erM zV~B-+@(Xpr29rPPQaxD=Mjse0EGX;0m%W783+ad001BJ|6!3X8w$bz01m)hB#spK!@w*KDwEzGB002ovPDHLkV1ixQE$#pS delta 117 zcmX@fc$jg5q$m>u1H*)g8D>C=u{g-xiDBJ2nU@n4rMV6>Fz_8_Jf6QIWulv=yOF1h zV~B-+@(Xpr29rPPQUU(V0Rq#1EV#xH)+~JBYQO?U$%d;5;_^mP1&l?e6BvH|X5122 VFaKjU{}Z6e44$rjF6*2UngE{`C$Rtk