From 37e364b2c6cc7487a1c888d256a73e5337bb7189 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 14 Jun 2023 00:50:34 +0100 Subject: initial commit --- src/T2DLL/URect.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/T2DLL/URect.h (limited to 'src/T2DLL/URect.h') diff --git a/src/T2DLL/URect.h b/src/T2DLL/URect.h new file mode 100644 index 0000000..2b9b047 --- /dev/null +++ b/src/T2DLL/URect.h @@ -0,0 +1,15 @@ +#pragma once +#include "common.h" + +class URect { +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&) {} +}; -- cgit v1.2.3