diff options
Diffstat (limited to 'src/lib/util.h')
| -rw-r--r-- | src/lib/util.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h index 1faef0cd3..16afb7bb6 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -103,6 +103,19 @@ struct Size int height; }; +struct Crop +{ + Crop () : left (0), right (0), top (0), bottom (0) {} + + int left; + int right; + int top; + int bottom; +}; + +extern bool operator== (Crop const & a, Crop const & b); +extern bool operator!= (Crop const & a, Crop const & b); + struct Position { Position () |
