Merge branch 'master' of git://github.com/thepowersgang/acess2
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / include / CRect.hpp
index e8f9dc8..3c344b2 100644 (file)
@@ -14,7 +14,12 @@ public:
        };
        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;

UCC git Repository :: git.ucc.asn.au