win32_v.h
Go to the documentation of this file.00001
00002
00005 #ifndef VIDEO_WIN32_H
00006 #define VIDEO_WIN32_H
00007
00008 #include "video_driver.hpp"
00009
00010 class VideoDriver_Win32: public VideoDriver {
00011 public:
00012 const char *Start(const char * const *param);
00013
00014 void Stop();
00015
00016 void MakeDirty(int left, int top, int width, int height);
00017
00018 void MainLoop();
00019
00020 bool ChangeResolution(int w, int h);
00021
00022 bool ToggleFullscreen(bool fullscreen);
00023 };
00024
00025 class FVideoDriver_Win32: public VideoDriverFactory<FVideoDriver_Win32> {
00026 public:
00027 static const int priority = 10;
00028 const char *GetName() { return "win32"; }
00029 const char *GetDescription() { return "Win32 GDI Video Driver"; }
00030 Driver *CreateInstance() { return new VideoDriver_Win32(); }
00031 };
00032
00033 #endif