SO3Engine
|
SCOLObjWindowWidget.cpp
Go to the documentation of this file.
79 if ((scolObjWindowWidget == NIL) || (s == NIL) || (vp == NIL) || (nam == NIL) || (w == NIL) || (h == NIL) || (z == NIL))
122 objWindowWidget = static_cast<SObjWindowWidget*> (SWidgetManager::getSingleton().CreateWidget(scene, name, leftPos, topPos, w, h, viewport, z, SO3_OBJ_WINDOW_WIDGET_TYPE));
127 MMechostr(MSKDEBUG, "An exception has occurred while creating ObjWindow widget: %s\n", e.what());
186 if ((scolObjWindowWidget == NIL) || (s == NIL) || (vp == NIL) || (nam == NIL) || (w == NIL) || (h == NIL))
229 objWindowWidget = static_cast<SObjWindowWidget*> (SWidgetManager::getSingleton().CreateWidget(scene, name, leftPos, topPos, w, h, viewport, SO3_OBJ_WINDOW_WIDGET_TYPE));
234 MMechostr(MSKDEBUG, "An exception has occurred while creating objWindow widget: %s\n", e.what());
294 if ((scolObjWindowWidget == NIL) || (s == NIL) || (mat == NIL) || (tec == NIL) || (pass == NIL) || (index == NIL) || (w == NIL) || (h == NIL) || (n == NIL))
325 Ogre::LogManager::getSingleton().logMessage("Can't load ObjWindow Control : Material BaseWhite is Protected!", Ogre::LML_CRITICAL, true);
333 Ogre::LogManager::getSingleton().logMessage("Can't load ObjWindow widget : Material has not enough Technique! ", Ogre::LML_CRITICAL, true);
340 Ogre::LogManager::getSingleton().logMessage("Can't load ObjWindow widget : Material has not enough Pass! ", Ogre::LML_CRITICAL, true);
345 if ((material->getOgreMaterialPointer()->getTechnique(tec)->getPass(pass)->getNumTextureUnitStates()) == 0)
347 Ogre::LogManager::getSingleton().logMessage("Can't load ObjWindow widget : Material has not enough Texture! ", Ogre::LML_CRITICAL, true);
352 if ((material->getOgreMaterialPointer()->getTechnique(tec)->getPass(pass)->getNumTextureUnitStates()) < index + 1)
354 Ogre::LogManager::getSingleton().logMessage("Can't load ObjWindow widget : Material has not enough Texture! ", Ogre::LML_CRITICAL, true);
373 objWindowWidget = static_cast<SObjWindowWidget*> (SWidgetManager::getSingleton().CreateWidget(scene, name, MTOI(w), MTOI(h), material, tec, pass, index, SO3_OBJ_WINDOW_WIDGET_TYPE));
378 MMechostr(MSKDEBUG, "An exception has occurred while creating objWindow widget: %s\n", e.what());
564 { "SO3ObjWindowWidgetCreate", 9, "fun [SO3_SCENE SO3_VIEWPORT S I I I I I ObjWin] SO3_WIDGET", SO3ObjWindowWidgetCreate },
565 { "SO3ObjWindowWidgetCreateBackground", 8, "fun [SO3_SCENE SO3_VIEWPORT S I I I I ObjWin] SO3_WIDGET", SO3ObjWindowWidgetCreateBackground },
566 { "SO3ObjWindowWidgetCreateOnMaterial", 9, "fun [SO3_SCENE SO3_MATERIAL S I I I I I ObjWin] SO3_WIDGET", SO3ObjWindowWidgetCreateOnMaterial },
568 { "SO3ObjWindowWidgetGetBorderVisible", 1, "fun [SO3_WIDGET] I", SO3ObjWindowWidgetGetBorderVisible },
569 { "SO3ObjWindowWidgetSetBorderVisible", 2, "fun [SO3_WIDGET I] I", SO3ObjWindowWidgetSetBorderVisible }
580 return PKhardpak2(m, "SO3Wwidget.pkg", sizeof(natSO3Wwidget) / sizeof(natSO3Wwidget[0]), natSO3Wwidget);
int SO3ObjWindowWidgetSetBorderVisible(mmachine m)
Definition SCOLObjWindowWidget.cpp:515
int SO3ObjWindowWidgetGetBorderVisible(mmachine m)
Definition SCOLObjWindowWidget.cpp:471
int SCOLloadObjWindowWidget(mmachine m, cbmachine w)
Load the SO3Engine ObjWindow widget function.
Definition SCOLObjWindowWidget.cpp:578
int SCOLfreeObjWindowWidget()
free the SO3Engine ObjWindow widget function
Definition SCOLObjWindowWidget.cpp:588
MMechostr(MSKDEBUG, " > Start loading Plugin SO3Engine dll\n")
int SO3ObjWindowWidgetBlit(mmachine m)
SO3ObjWindowWidgetBlit : Blit a scol objWindow on a "ObjWindow Widget".
Definition SCOLObjWindowWidget.cpp:415
int SO3ObjWindowWidgetCreateOnMaterial(mmachine m)
SO3ObjWindowWidgetCreateOnMaterial : Set a texture objWindow on a material.
Definition SCOLObjWindowWidget.cpp:278
int SO3ObjWindowWidgetCreateBackground(mmachine m)
SO3ObjWindowWidgetCreateBackground : Create a new ObjWindow widget on background.
Definition SCOLObjWindowWidget.cpp:170
Generated by 1.9.8