X-Boost  2.3.8
Window.h
1 #ifndef _XBOOST_WINDOW_H
2 #define _XBOOST_WINDOW_H
3 
4 #include "Image.h"
5 
8 public:
9  virtual ~WindowEventManager();
11  virtual const ImageHandle & GetImage(int width, int height) = 0;
12  virtual int OnMouseMotion(int x, int y, int event_id) = 0;
13  virtual int OnKeyPress(char key) = 0;
14 };
15 
17 void open_window(const char *title, int width, int height, WindowEventManager *callback);
18 
19 #endif
A generic Window object.
Definition: Window.h:7
Definition: Image.h:35
virtual const ImageHandle & GetImage(int width, int height)=0
Display an Image.
method to hold an image