git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin4_src
/
Server
/
include
/
CRect.hpp
diff --git
a/Usermode/Applications/axwin4_src/Server/include/CRect.hpp
b/Usermode/Applications/axwin4_src/Server/include/CRect.hpp
index
7461568
..
3c344b2
100644
(file)
--- a/
Usermode/Applications/axwin4_src/Server/include/CRect.hpp
+++ b/
Usermode/Applications/axwin4_src/Server/include/CRect.hpp
@@
-14,6
+14,13
@@
public:
};
CRect(int X, int Y, unsigned int W, unsigned int H);
};
CRect(int X, int Y, unsigned int W, unsigned int H);
+ void Translate(int DX, int DY) {
+ m_x += DX; m_x2 += DX;
+ m_y += DY; m_y2 += DY;
+ }
+ void Move(int NewX, int NewY);
+ void Resize(int NewW, int NewH);
+
bool HasIntersection(const CRect& other) const;
CRect Intersection(const CRect& other) const;
bool HasIntersection(const CRect& other) const;
CRect Intersection(const CRect& other) const;
UCC
git Repository :: git.ucc.asn.au