mirror of
https://github.com/Poikilos/SAM-Viewer.git
synced 2023-10-03 07:58:48 -07:00
Minor corrections and improvements
This commit is contained in:
parent
de9fac3f30
commit
b29cc97810
@ -137,7 +137,7 @@ SettingsDialog::SettingsDialog(IGUIEnvironment *env, IGUIElement *parent,
|
||||
E_DIALOG_ID_DEBUG_SKELETON, L"Show skeleton");
|
||||
check->setChecked(conf->getInt("debug_flags") & EDS_SKELETON);
|
||||
check = env->addCheckBox(false, rect<s32>(20,110,380,130), tab_debug,
|
||||
E_DIALOG_ID_DEBUG_WIREFRANE, L"Wireframe overaly");
|
||||
E_DIALOG_ID_DEBUG_WIREFRANE, L"Wireframe overlay");
|
||||
check->setChecked(conf->getInt("debug_flags") & EDS_MESH_WIRE_OVERLAY);
|
||||
check = env->addCheckBox(false, rect<s32>(20,140,380,160), tab_debug,
|
||||
E_DIALOG_ID_DEBUG_ALPHA, L"Use transparent material");
|
||||
@ -153,7 +153,7 @@ SettingsDialog::SettingsDialog(IGUIEnvironment *env, IGUIElement *parent,
|
||||
E_DIALOG_ID_EXPORT_TRANSFORM, L"Apply viewer transformations");
|
||||
check->setChecked(conf->getInt("export_flags") & E_MESH_EXPORT_TRANSFORM);
|
||||
check = env->addCheckBox(false, rect<s32>(20,80,380,100), tab_export,
|
||||
E_DIALOG_ID_EXPORT_FLIP, L"Flip Surfaces");
|
||||
E_DIALOG_ID_EXPORT_FLIP, L"Flip surfaces");
|
||||
check->setChecked(conf->getInt("export_flags") & E_MESH_EXPORT_FLIP);
|
||||
check = env->addCheckBox(false, rect<s32>(20,110,380,130), tab_export,
|
||||
E_DIALOG_ID_EXPORT_NORMAL, L"Recalculate normals");
|
||||
@ -165,7 +165,7 @@ SettingsDialog::SettingsDialog(IGUIEnvironment *env, IGUIElement *parent,
|
||||
false, false, tab_export);
|
||||
spin = env->addSpinBox(L"", rect<s32>(100,140,180,160), false, tab_export,
|
||||
E_DIALOG_ID_EXPORT_SCALE);
|
||||
spin->setRange(0, 100);
|
||||
spin->setRange(0, 10000);
|
||||
spin->setValue(conf->getInt("export_scale"));
|
||||
spin->setDecimalPlaces(0);
|
||||
|
||||
|
@ -137,8 +137,8 @@ GUI::GUI(IrrlichtDevice *device, Config *config) :
|
||||
skin->setFont(font);
|
||||
|
||||
skin->setColor(EGDC_3D_FACE, SColor(255,232,232,232));
|
||||
skin->setColor(EGDC_3D_DARK_SHADOW, SColor(255,160,160,160));
|
||||
skin->setColor(EGDC_3D_HIGH_LIGHT, SColor(255,248,248,248));
|
||||
skin->setColor(EGDC_3D_DARK_SHADOW, SColor(255,172,172,172));
|
||||
skin->setColor(EGDC_3D_HIGH_LIGHT, SColor(255,212,212,212));
|
||||
skin->setColor(EGDC_3D_LIGHT, SColor(255,255,255,255));
|
||||
skin->setColor(EGDC_3D_SHADOW, SColor(255,196,196,196));
|
||||
skin->setColor(EGDC_ACTIVE_BORDER, SColor(255,232,232,232));
|
||||
@ -210,14 +210,13 @@ void GUI::initMenu()
|
||||
submenu->addItem(L"Filters", -1, true, true);
|
||||
submenu->addItem(L"Lights", -1, conf->getBool("lighting"), true);
|
||||
submenu->addSeparator();
|
||||
submenu->addItem(L"Show Wield Item", E_GUI_ID_ENABLE_WIELD, true, false,
|
||||
submenu->addItem(L"Wield Item", E_GUI_ID_ENABLE_WIELD, true, false,
|
||||
conf->getBool("wield_show"), true);
|
||||
submenu->addItem(L"Backface Culling", E_GUI_ID_BACK_FACE_CULL, true, false,
|
||||
conf->getBool("backface_cull"), true);
|
||||
submenu->addItem(L"Lighting", E_GUI_ID_LIGHTING, true, false,
|
||||
conf->getBool("lighting"), true);
|
||||
submenu->addSeparator();
|
||||
submenu->addItem(L"Model Debug Info", E_GUI_ID_DEBUG_INFO, true, false,
|
||||
submenu->addItem(L"Debug Info", E_GUI_ID_DEBUG_INFO, true, false,
|
||||
conf->getBool("debug_info"), true);
|
||||
|
||||
submenu = menu->getSubMenu(2)->getSubMenu(7);
|
||||
|
Loading…
x
Reference in New Issue
Block a user