Mercurial > vba-clojure
view src/win32/Display.h @ 8:08a8e09ca414
add files required by automake
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:54:39 -0600 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #ifndef VBA_WIN32_DISASSEMBLE_H2 #define VBA_WIN32_DISASSEMBLE_H4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10008 enum DISPLAY_TYPE9 {10 GDI = 0,11 DIRECT_DRAW = 1,12 DIRECT_3D = 2,13 OPENGL = 314 };16 class IDisplay17 {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