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
usermode/axwin4 - Blit to screen planned
[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
69e7c19
..
7461568
100644
(file)
--- a/
Usermode/Applications/axwin4_src/Server/include/CRect.hpp
+++ b/
Usermode/Applications/axwin4_src/Server/include/CRect.hpp
@@
-8,9
+8,23
@@
namespace AxWin {
class CRect
{
public:
class CRect
{
public:
- CRect(int X, int Y, int W, int H);
+ CRect():
+ CRect(0,0,0,0)
+ {
+ };
+ CRect(int X, int Y, unsigned int W, unsigned int H);
- bool Contains(const CRect& other) const;
+ bool HasIntersection(const CRect& other) const;
+ CRect Intersection(const CRect& other) const;
+
+ CRect RelativeIntersection(const CRect& area);
+
+ int m_x;
+ int m_y;
+ int m_w;
+ int m_h;
+ int m_x2;
+ int m_y2;
};
}; // namespace AxWin
};
}; // namespace AxWin
UCC
git Repository :: git.ucc.asn.au