summaryrefslogtreecommitdiff
path: root/src/T2DLL/URect.h
blob: 4b71ed9c76201bb6a8a33a76f6fec1b51be6acb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef T2DLL_URECT_H
#define T2DLL_URECT_H
#include "../common.h"

class AFX_CLASS_EXPORT URect : public CRect {
public:
	static void SetEmpty(RECT& outRect);
	static void Center(const RECT& inRect, RECT& ioRect, BOOL inFlag = false);
	static int Width(const RECT& inRect);
	static int Height(const RECT& inRect);
	static void Union(const RECT& inRect1, const RECT& inRect2, RECT& outRect);
	static POINT Center(const RECT& inRect);
};
#endif