对多个显示器有意义,决定窗口在哪个显示器上显示,默认为0,即当前主显示器。
osgViewer/GraphicsWindowWin32.cpp
bool GraphicsWindowWin32::determineWindowPositionAndStyle( unsigned int screenNum,
int clientAreaX,
int clientAreaY,
unsigned int clientAreaWidth,
unsigned int clientAreaHeight,
bool decorated,
int& x,
int& y,
unsigned int& w,
unsigned int& h,

本文详细探讨了在OpenSceneGraph(OSG)中,screenNum参数如何决定窗口在哪个显示器上显示,特别是在多显示器配置中的应用。默认情况下,screenNum设置为0,意味着窗口将显示在主显示器上。
最低0.47元/天 解锁文章
717

被折叠的 条评论
为什么被折叠?



