X-Boost
2.3.8
Main Page
Related Pages
Classes
Files
File List
File Members
include
GUI
Window.h
1
#ifndef _XBOOST_WINDOW_H
2
#define _XBOOST_WINDOW_H
3
4
#include "
Image.h
"
5
7
class
WindowEventManager
{
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
WindowEventManager
A generic Window object.
Definition:
Window.h:7
ImageHandle
Definition:
Image.h:35
WindowEventManager::GetImage
virtual const ImageHandle & GetImage(int width, int height)=0
Display an Image.
Image.h
method to hold an image
Generated on Wed Jul 30 2014 18:01:12 for X-Boost by
1.8.7