正确输出显示器数量,以及显示模式

This commit is contained in:
2018-11-27 20:20:29 +08:00
parent c4db898439
commit b7248b3e97
4 changed files with 66 additions and 36 deletions

View File

@@ -33,8 +33,8 @@ namespace hgl
public:
virtual const VideoMode *GetCurVideoMode()=0;
virtual const ObjectList<VideoMode> &GetVideoModeList()=0;
virtual const VideoMode *GetCurVideoMode()const=0;
virtual const ObjectList<VideoMode> &GetVideoModeList()const=0;
};
struct WindowSetup
@@ -108,7 +108,7 @@ namespace hgl
virtual const UTF8String GetName()=0; ///<取得设备名称
virtual const void GetDisplayList(List<Display *> &); ///<取得显示屏列表
virtual const void GetDisplayList(List<Display *> &)=0; ///<取得显示屏列表
virtual const Display * GetDefaultDisplay()=0; ///<取得默认显示屏
public: