diff options
author | mescalinum <mescalinum@users.sourceforge.net> | 2009-09-26 18:28:46 +0000 |
---|---|---|
committer | mescalinum <mescalinum@users.sourceforge.net> | 2009-09-26 18:28:46 +0000 |
commit | 48166a3836ea82ebbab1d622d5ff770eefbd59a1 (patch) | |
tree | d16abd76aa47c5e1cece01689db07051b80c5454 /composer/Pattern.cpp | |
parent | becd4c66f77da3ff9078ec06aebb9ade3247e30b (diff) |
- 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
Diffstat (limited to 'composer/Pattern.cpp')
-rw-r--r-- | composer/Pattern.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <iostream> +#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) { |