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

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