Usermode/AxWin4 - Code now compiling (if STL is present)
[tpg/acess2.git] / Usermode / Applications / axwin4_src / Server / include / CWindow.hpp
1 /*
2  * Acess2 GUI v4
3  * - By John Hodge (thePowersGang)
4  *
5  * CWindow.hpp
6  * - Window class
7  */
8 #ifndef _CWINDOW_HPP_
9 #define _CWINDOW_HPP_
10
11 #include <string>
12 #include <vector>
13 #include <cstdint>
14 #include "CRect.hpp"
15
16 namespace AxWin {
17
18 class CClient;
19
20 class CWindow
21 {
22         CClient&        m_client;
23 public:
24         CWindow(CClient& client, const ::std::string &name);
25         ~CWindow();
26         
27         void Repaint(const CRect& rect);
28         
29         void MouseButton(int ButtonID, int X, int Y, bool Down);
30         void MouseMove(int NewX, int NewY);
31         void KeyEvent(::uint32_t Scancode, const ::std::string &Translated, bool Down);
32
33         CRect   m_rect;
34 private:
35         const ::std::string     m_name;
36 };
37
38 };      // namespace AxWin
39
40 #endif
41
42

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