Usermode/libc - Fix strchr and strrchr behavior
[tpg/acess2.git] / 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 "CRect.hpp"
14
15 namespace AxWin {
16
17 class IWindow
18 {
19 public:
20         virtual IWindow(const ::std::string &name);
21         virtual ~IWindow();
22         
23         virtual void Repaint() = 0;
24         
25         virtual void MouseButton(int ButtonID, int X, int Y, bool Down);
26         virtual void MouseMove(int NewX, int NewY);
27         virtual void KeyEvent(uint32_t Scancode, const ::std::string &Translated, bool Down);
28 protected:
29         const ::std::string     m_name;
30 };
31
32 }       // namespace AxWin
33
34 #endif
35

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