summaryrefslogtreecommitdiff
path: root/src/T2DLL/URect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/URect.h')
-rw-r--r--src/T2DLL/URect.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/T2DLL/URect.h b/src/T2DLL/URect.h
index 2b9b047..f2fdaaa 100644
--- a/src/T2DLL/URect.h
+++ b/src/T2DLL/URect.h
@@ -1,15 +1,12 @@
#pragma once
#include "common.h"
-class URect {
+class AFX_EXT_CLASS URect : public CRect {
public:
- static void SetEmpty(RECT&);
- static void Center(const RECT&, RECT&, int);
- static int Width(const RECT&);
- static int Height(const RECT&);
- static void Union(const RECT&, const RECT&, RECT&);
- static POINT Center(const RECT&);
-
- URect() {}
- URect& operator=(const URect&) {}
+ 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);
};