wxWindows的OpenGL全屏

类别:编程语言 点击:0 评论:0 推荐:

Jan Boehme([email protected])的问题:OpenGL fullscreen

回答:

Casey ODonnell wrote:
 wxTopLevelWindow
 wxTopLevelWindow is a common base class for wxDialog and wxFrame. It
 is an abstract base class meaning that you never work with objects of
 this class directly, but all of its methods are also applicable for
 the two classes above.
 
 wxTopLevelWindow::ShowFullScreen
 bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL)
 
 Depending on the value of show parameter the window is either shown
 full screen or restored to its normal state. style is a bit list
 containing some or all of the following values, which indicate what
 elements of the window to hide in full-screen mode:
 
 wxFULLSCREEN_NOMENUBAR
 wxFULLSCREEN_NOTOOLBAR
 wxFULLSCREEN_NOSTATUSBAR
 wxFULLSCREEN_NOBORDER
 wxFULLSCREEN_NOCAPTION
 wxFULLSCREEN_ALL (all of the above)
 This function has not been tested with MDI frames.
 
 Note that showing a window full screen also actually Show()s if it
 hadn't been shown yet.
 
 See also
 
 wxTopLevelWindow::IsFullScreen
 

Thanks a lot, Jan.(问者感谢)

本文地址:http://com.8s8s.com/it/it22190.htm