Platform_Screen.h
Go to the documentation of this file.00001 00025 #ifndef __Platform_Screen_H__ 00026 #define __Platform_Screen_H__ 00027 00028 // Includes 00029 #include "Platform.h" 00030 00031 // Forward declares 00032 00033 // Platform_Screen 00034 class Platform_Screen 00035 { 00036 public: 00040 virtual ~Platform_Screen() { }; 00041 00042 00052 virtual void Present( 00053 unsigned short* bitmapData, 00054 int bitmapWidth, 00055 int bitmapHeight, 00056 unsigned short modulate = 0xffff, 00057 unsigned short backgroundColor = 0x0000 00058 ) = 0; 00059 00060 00079 virtual void SetFullscreen( 00080 bool fullscreen 00081 ) = 0; 00082 00083 00090 virtual bool GetFullscreen() = 0; 00091 00092 00098 virtual void SetSize( 00099 int width, 00100 int height 00101 ) = 0; 00102 00103 00110 virtual int GetWidth() = 0; 00111 00112 00119 virtual int GetHeight() = 0; 00120 00121 00138 virtual void SetInterpolationMode( 00139 bool enabled 00140 ) = 0; 00141 00142 00149 virtual bool GetInterpolationMode() = 0; 00150 00151 00162 virtual void TransformCursorCoordinates( 00163 float& x, 00164 float& y 00165 ) = 0; 00166 }; 00167 00168 #endif /* __Platform_Screen_H__ */
Reproduction/republishing of any material on this site without permission is strictly prohibited.
