view src/win32/Display.h @ 6:458a4f18f3cd

working on lua generation
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:48:33 -0600
parents f9f4f1b99eed
children
line wrap: on
line source
1 #ifndef VBA_WIN32_DISASSEMBLE_H
2 #define VBA_WIN32_DISASSEMBLE_H
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
8 enum DISPLAY_TYPE
9 {
10 GDI = 0,
11 DIRECT_DRAW = 1,
12 DIRECT_3D = 2,
13 OPENGL = 3
14 };
16 class IDisplay
17 {
18 public:
19 IDisplay() {};
20 virtual ~IDisplay() {};
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 };
35 #endif // VBA_WIN32_DISASSEMBLE_H