From 48166a3836ea82ebbab1d622d5ff770eefbd59a1 Mon Sep 17 00:00:00 2001 From: mescalinum Date: Sat, 26 Sep 2009 18:28:46 +0000 Subject: - fix update issues with resize/rename/creation - allow to resize patterns by any dimension - add license docs - makefile fixes svn path=/trunk/externals/ffext/; revision=12466 --- composer/Pattern.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'composer/Pattern.cpp') diff --git a/composer/Pattern.cpp b/composer/Pattern.cpp index 8335b28..070838a 100644 --- a/composer/Pattern.cpp +++ b/composer/Pattern.cpp @@ -2,12 +2,12 @@ #include +#include "Common.hpp" + using std::cout; using std::cerr; using std::endl; -#define WRAP(v,w) (((v)<0)?(((w)-1)-((-(v)-1)%(w))):((v)%(w))) - Pattern::Pattern(int numRows, int numCols, string patternName) : name(patternName) { -- cgit v1.2.1