更新windows支持,现vs2017已可编译通过
This commit is contained in:
@@ -127,8 +127,8 @@ namespace hgl
|
||||
|
||||
public:
|
||||
|
||||
virtual RenderWindow *CreateWindow(int,int,const WindowSetup *,const RenderSetup *)=0; ///<创建一个窗口渲染设备
|
||||
virtual RenderWindow *CreateFullscreen(const Display *,const VideoMode *,const RenderSetup *)=0; ///<创建一个全屏渲染设备
|
||||
virtual RenderWindow *Create(int,int,const WindowSetup *,const RenderSetup *)=0; ///<创建一个窗口渲染设备
|
||||
virtual RenderWindow *Create(const Display *,const VideoMode *,const RenderSetup *)=0; ///<创建一个全屏渲染设备
|
||||
};//class RenderDevice
|
||||
|
||||
RenderDevice *CreateRenderDeviceGLFW(); ///<创建一个基于GLFW的渲染设备
|
||||
|
@@ -12,7 +12,7 @@ namespace hgl
|
||||
{
|
||||
protected:
|
||||
|
||||
OSString caption;
|
||||
UTF8String caption;
|
||||
bool full_screen;
|
||||
|
||||
int width,height;
|
||||
@@ -34,8 +34,8 @@ namespace hgl
|
||||
virtual void Show()=0; ///<显示窗口
|
||||
virtual void Hide()=0; ///<隐藏窗口
|
||||
|
||||
virtual const OSString &GetCaption()const{return caption;}
|
||||
virtual void SetCaption(const OSString &)=0;
|
||||
virtual const UTF8String &GetCaption()const{return caption;}
|
||||
virtual void SetCaption(const UTF8String &)=0;
|
||||
|
||||
public: //被实际操作系统接口层所调用的函数,在不了解的情况下请不要使用
|
||||
|
||||
|
Reference in New Issue
Block a user