From 4139a71f5c0b72f88813a15d7112fdac76756fe4 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 월, 15 11월 2021 10:31:35 +0900 Subject: [PATCH] 프로그램 종료시 팝업 멘트 고객사 요청사항 반영 --- ReviewHistory/include/akCore/akStructPoint.h | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/ReviewHistory/include/akCore/akStructPoint.h b/ReviewHistory/include/akCore/akStructPoint.h new file mode 100644 index 0000000..e02888c --- /dev/null +++ b/ReviewHistory/include/akCore/akStructPoint.h @@ -0,0 +1,51 @@ +#pragma once + +#include "akCoreLinker.h" + + +namespace akCore +{ + + class AKCORE_DLLSPEC khPoint + { + public: + khPoint(void) + { + X = Y = 0; + }; + + khPoint(const khPoint &point) + { + X = point.X; + Y = point.Y; + }; + khPoint(int x, int y) + { + X = x; + Y = y; + }; + + khPoint operator+(const khPoint& point) const + { + return khPoint(X + point.X, + Y + point.Y); + }; + + khPoint operator-(const khPoint& point) const + { + return khPoint(X - point.X, + Y - point.Y); + }; + + bool Equals(const khPoint& point) + { + return (X == point.X) && (Y == point.Y); + }; + + public: + + long X; + long Y; + }; + +}; -- Gitblit v1.9.3