void StCADViewerGUI::doMobileSettings(const size_t ) { const StHandle<StWindow>& aRend = myPlugin->getMainWindow(); StParamsList aParams; aParams.add(myPlugin->StApplication::params.ActiveDevice); aRend->getOptions(aParams); aParams.add(myPlugin->params.ToShowFps); aParams.add(myLangMap->params.language); //aParams.add(myPlugin->params.IsMobileUI); aParams.add(myPlugin->params.ToShowTrihedron); aParams.add(myPlugin->params.ProjectMode); StInfoDialog* aDialog = new StInfoDialog(myPlugin, this, tr(MENU_HELP_SETTINGS), scale(512), scale(300)); const int aWidthMax = aDialog->getContent()->getRectPx().width(); int aRowLast = (int )aParams.size(); const int aNbRowsMax = aRowLast + 2; StGLTable* aTable = new StGLTable(aDialog->getContent(), 0, 0, StGLCorner(ST_VCORNER_TOP, ST_HCORNER_CENTER)); aTable->changeItemMargins().top = scale(4); aTable->changeItemMargins().bottom = scale(4); aTable->setupTable(aNbRowsMax, 2); aTable->fillFromParams(aParams, StGLVec3(1.0f, 1.0f, 1.0f), aWidthMax); aDialog->addButton(tr(BUTTON_CLOSE), true); aDialog->stglInit(); }
void StOutAnaglyph::getOptions(StParamsList& theList) const { theList.add(params.Glasses); theList.add(params.RedCyan); theList.add(params.AmberBlue); }
void StOutPageFlipExt::getOptions(StParamsList& theList) const { StOutPageFlip::getOptions(theList); if(StOutPageFlip::params.ToShowExtra->getValue()) { theList.add(params.ControlCode); } }
void StOutIZ3D::getOptions(StParamsList& theList) const { theList.add(params.Glasses); }