COMMON: Add helper macro for printing rects

This commit is contained in:
Colin Snover 2017-09-02 16:08:35 -05:00 committed by Eugene Sandulenko
parent 9d42bea857
commit 110b4f0991
2 changed files with 2 additions and 4 deletions

View File

@ -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 {
/**

View File

@ -52,10 +52,6 @@ typedef int16 TextAlignment;
#define PORTS_FIRSTWINDOWID 2
#define PORTS_FIRSTSCRIPTWINDOWID 3
#ifdef ENABLE_SCI32
#define PRINT_RECT(x) (x).left,(x).top,(x).right,(x).bottom
#endif
struct Port {
uint16 id;
int16 top, left;