[aseprite] 265/308: Add more zoom levels
Tobias Hansen
thansen at moszumanska.debian.org
Tue Mar 8 02:45:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit d78f892236f3dbf61f71cb60723c2ebca73f70e4
Author: David Capello <davidcapello at gmail.com>
Date: Thu Feb 25 18:51:13 2016 -0300
Add more zoom levels
---
src/render/zoom.cpp | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/render/zoom.cpp b/src/render/zoom.cpp
index 27d60cf..2e219a6 100644
--- a/src/render/zoom.cpp
+++ b/src/render/zoom.cpp
@@ -1,5 +1,5 @@
// Aseprite Render Library
-// Copyright (c) 2001-2015 David Capello
+// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@@ -14,10 +14,14 @@ namespace render {
static int scales[][2] = {
{ 1, 64 },
+ { 1, 48 },
{ 1, 32 },
+ { 1, 24 },
{ 1, 16 },
+ { 1, 12 },
{ 1, 8 },
{ 1, 6 },
+ { 1, 5 },
{ 1, 4 },
{ 1, 3 },
{ 1, 2 },
@@ -25,10 +29,14 @@ static int scales[][2] = {
{ 2, 1 },
{ 3, 1 },
{ 4, 1 },
+ { 5, 1 },
{ 6, 1 },
{ 8, 1 },
+ { 12, 1 },
{ 16, 1 },
+ { 24, 1 },
{ 32, 1 },
+ { 48, 1 },
{ 64, 1 },
};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list