src/mainWindow.cc

changeset 851
dbed6938238c
parent 850
a3d72b0e916d
child 852
cbd89b33f70d
equal deleted inserted replaced
850:a3d72b0e916d 851:dbed6938238c
61 EXTERN_CFGENTRY (List, RecentFiles); 61 EXTERN_CFGENTRY (List, RecentFiles);
62 EXTERN_CFGENTRY (Bool, DrawAxes); 62 EXTERN_CFGENTRY (Bool, DrawAxes);
63 EXTERN_CFGENTRY (String, MainColor); 63 EXTERN_CFGENTRY (String, MainColor);
64 EXTERN_CFGENTRY (Float, MainColorAlpha); 64 EXTERN_CFGENTRY (Float, MainColorAlpha);
65 EXTERN_CFGENTRY (Bool, DrawWireframe); 65 EXTERN_CFGENTRY (Bool, DrawWireframe);
66 EXTERN_CFGENTRY (Bool, BfcRedGreenView); 66 EXTERN_CFGENTRY (Bool, BFCRedGreenView);
67 EXTERN_CFGENTRY (Bool, DrawAngles); 67 EXTERN_CFGENTRY (Bool, DrawAngles);
68 EXTERN_CFGENTRY (Bool, RandomColors); 68 EXTERN_CFGENTRY (Bool, RandomColors);
69 EXTERN_CFGENTRY (Bool, DrawSurfaces) 69 EXTERN_CFGENTRY (Bool, DrawSurfaces)
70 EXTERN_CFGENTRY (Bool, DrawEdgeLines) 70 EXTERN_CFGENTRY (Bool, DrawEdgeLines)
71 EXTERN_CFGENTRY (Bool, DrawConditionalLines) 71 EXTERN_CFGENTRY (Bool, DrawConditionalLines)
976 ui->actionRedo->setEnabled (pos < (long) his->getSize() - 1); 976 ui->actionRedo->setEnabled (pos < (long) his->getSize() - 1);
977 } 977 }
978 978
979 ui->actionWireframe->setChecked (cfg::DrawWireframe); 979 ui->actionWireframe->setChecked (cfg::DrawWireframe);
980 ui->actionAxes->setChecked (cfg::DrawAxes); 980 ui->actionAxes->setChecked (cfg::DrawAxes);
981 ui->actionBFCView->setChecked (cfg::BfcRedGreenView); 981 ui->actionBFCView->setChecked (cfg::BFCRedGreenView);
982 ui->actionRandomColors->setChecked (cfg::RandomColors); 982 ui->actionRandomColors->setChecked (cfg::RandomColors);
983 ui->actionDrawAngles->setChecked (cfg::DrawAngles); 983 ui->actionDrawAngles->setChecked (cfg::DrawAngles);
984 ui->actionDrawSurfaces->setChecked (cfg::DrawSurfaces); 984 ui->actionDrawSurfaces->setChecked (cfg::DrawSurfaces);
985 ui->actionDrawEdgeLines->setChecked (cfg::DrawEdgeLines); 985 ui->actionDrawEdgeLines->setChecked (cfg::DrawEdgeLines);
986 ui->actionDrawConditionalLines->setChecked (cfg::DrawConditionalLines); 986 ui->actionDrawConditionalLines->setChecked (cfg::DrawConditionalLines);

mercurial