comparison src/win32/Display.h @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
comparison
equal deleted inserted replaced
0:8ced16adf2e1 1:f9f4f1b99eed
1 #ifndef VBA_WIN32_DISASSEMBLE_H
2 #define VBA_WIN32_DISASSEMBLE_H
3
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7
8 enum DISPLAY_TYPE
9 {
10 GDI = 0,
11 DIRECT_DRAW = 1,
12 DIRECT_3D = 2,
13 OPENGL = 3
14 };
15
16 class IDisplay
17 {
18 public:
19 IDisplay() {};
20 virtual ~IDisplay() {};
21
22 virtual bool initialize() = 0;
23 virtual void cleanup() = 0;
24 virtual void render() = 0;
25 virtual void checkFullScreen() { };
26 virtual void renderMenu() { };
27 virtual void clear() = 0;
28 virtual bool changeRenderSize(int w, int h) { return true; };
29 virtual void resize(int w, int h) {};
30 virtual void setOption(const char *option, int value) = 0;
31 virtual DISPLAY_TYPE getType() = 0;
32 virtual int selectFullScreenMode(GUID * *) = 0;
33 };
34
35 #endif // VBA_WIN32_DISASSEMBLE_H