Usermode/AxWin4 - Fix deserialiser, ::std::map for client windows, debugging
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / include / CSurface.hpp
1 /*
2  */
3 #ifndef _CSURFACE_H_
4 #define _CSURFACE_H_
5
6 #include <cstdint>
7 #include "CRect.hpp"
8
9 namespace AxWin {
10
11 class CSurface
12 {
13 public:
14         CSurface(unsigned int x, unsigned int y, unsigned int w, unsigned int h);
15         ~CSurface();
16         
17         const uint32_t* GetScanline(unsigned int row, unsigned int x_ofs) const;
18         
19         CRect   m_rect;
20         uint32_t*       m_data;
21 };
22
23 };      // namespace AxWin
24
25 #endif
26

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