aboutsummaryrefslogtreecommitdiff
path: root/common/rect.h
diff options
context:
space:
mode:
authorColin Snover2017-09-02 16:08:35 -0500
committerEugene Sandulenko2017-09-04 23:57:19 +0200
commit110b4f09916d366574e5eb62114e68b68510a7a4 (patch)
tree31d79c7a12d024c51f09b379fcbccac0bcef49a5 /common/rect.h
parent9d42bea857e23b66fd2e12a94fb4947acd7de029 (diff)
downloadscummvm-rg350-110b4f09916d366574e5eb62114e68b68510a7a4.tar.gz
scummvm-rg350-110b4f09916d366574e5eb62114e68b68510a7a4.tar.bz2
scummvm-rg350-110b4f09916d366574e5eb62114e68b68510a7a4.zip
COMMON: Add helper macro for printing rects
Diffstat (limited to 'common/rect.h')
-rw-r--r--common/rect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/rect.h b/common/rect.h
index e6534e55d3..6c4292c7af 100644
--- a/common/rect.h
+++ b/common/rect.h
@@ -27,6 +27,8 @@
#include "common/util.h"
#include "common/debug.h"
+#define PRINT_RECT(x) (x).left,(x).top,(x).right,(x).bottom
+
namespace Common {
/**