summaryrefslogtreecommitdiff
path: root/src/T2DLL/URect.h
blob: 7badbd4f77b3c5afd1a0986ac019c609638f4219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once
#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);
};