00001 /* 00002 * SoftPixel Device Mac OS X header 00003 * 00004 * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) 00005 * See "SoftPixelEngine.hpp" for license information. 00006 */ 00007 00008 #ifndef __SP_SOFTPIXELDEVICE_MACOSX_H__ 00009 #define __SP_SOFTPIXELDEVICE_MACOSX_H__ 00010 00011 00012 #include "Base/spStandard.hpp" 00013 00014 #if defined(SP_PLATFORM_MACOSX) 00015 00016 00017 #include "Platform/spSoftPixelDevice.hpp" 00018 00019 00020 namespace sp 00021 { 00022 00023 00025 class SP_EXPORT SoftPixelDeviceMacOSX : public SoftPixelDevice 00026 { 00027 00028 public: 00029 00030 SoftPixelDeviceMacOSX( 00031 const video::ERenderSystems RendererType, const dim::size2di &Resolution, s32 ColorDepth, 00032 const io::stringc &Title, bool isFullScreen, const SDeviceFlags &Flags 00033 ); 00034 SoftPixelDeviceMacOSX(); 00035 00036 /* Functions */ 00037 00038 bool updateEvents(); 00039 void deleteDevice(); 00040 00041 private: 00042 00043 /* Functions */ 00044 00045 bool openGraphicsScreen(); 00046 void closeGraphicsScreen(); 00047 00048 /* Members */ 00049 00050 //todo 00051 00052 }; 00053 00054 00055 } // /namespace sp 00056 00057 00058 #endif 00059 00060 #endif 00061 00062 00063 00064 // ================================================================================