I've implemented it for OpenGL but I dont know much about linux so thats why I didnt make a patch.
This is how I implemented it:
Code: Select all
//usage
Ogre::NameValuePairList params;
params["visible"] = Ogre::StringConverter::toString(false);
root->createRenderWindow("MyWindow", 0, 0, false, ¶ms);
Code: Select all
//impl
bool visible = true;
//.............
if ((opt = miscParams->find("visible")) != end)
{
visible = StringConverter::parseBool(opt->second);
}
//.............
if (!mIsExternal)
{
DWORD dwStyle = WS_CLIPCHILDREN | WS_CLIPSIBLINGS;
if (visible)
dwStyle |= WS_VISIBLE;
//...........
