src/configDialog.cpp

changeset 529
c294b2070185
parent 527
47c068f2e7e3
child 538
2f85d4d286e5
equal deleted inserted replaced
528:e38d199ef9aa 529:c294b2070185
47 extern_cfg (Float, gl_maincolor_alpha); 47 extern_cfg (Float, gl_maincolor_alpha);
48 extern_cfg (Int, gl_linethickness); 48 extern_cfg (Int, gl_linethickness);
49 extern_cfg (String, gui_colortoolbar); 49 extern_cfg (String, gui_colortoolbar);
50 extern_cfg (Bool, edit_schemanticinline); 50 extern_cfg (Bool, edit_schemanticinline);
51 extern_cfg (Bool, gl_blackedges); 51 extern_cfg (Bool, gl_blackedges);
52 extern_cfg (Bool, gl_aa);
52 extern_cfg (Bool, gui_implicitfiles); 53 extern_cfg (Bool, gui_implicitfiles);
53 extern_cfg (String, net_downloadpath); 54 extern_cfg (String, net_downloadpath);
54 extern_cfg (Bool, net_guesspaths); 55 extern_cfg (Bool, net_guesspaths);
55 extern_cfg (Bool, net_autoclose); 56 extern_cfg (Bool, net_autoclose);
56 extern_cfg (Bool, gl_logostuds); 57 extern_cfg (Bool, gl_logostuds);
101 ui->mainColorAlpha->setValue (gl_maincolor_alpha * 10.0f); 102 ui->mainColorAlpha->setValue (gl_maincolor_alpha * 10.0f);
102 ui->lineThickness->setValue (gl_linethickness); 103 ui->lineThickness->setValue (gl_linethickness);
103 ui->colorizeObjects->setChecked (lv_colorize); 104 ui->colorizeObjects->setChecked (lv_colorize);
104 ui->colorBFC->setChecked (gl_colorbfc); 105 ui->colorBFC->setChecked (gl_colorbfc);
105 ui->blackEdges->setChecked (gl_blackedges); 106 ui->blackEdges->setChecked (gl_blackedges);
107 ui->m_aa->setChecked (gl_aa);
106 ui->implicitFiles->setChecked (gui_implicitfiles); 108 ui->implicitFiles->setChecked (gui_implicitfiles);
107 ui->m_logostuds->setChecked (gl_logostuds); 109 ui->m_logostuds->setChecked (gl_logostuds);
108 110
109 int i = 0; 111 int i = 0;
110 #define act(N) addShortcut (key_##N, ACTION(N), i); 112 #define act(N) addShortcut (key_##N, ACTION(N), i);
304 net_autoclose = ui->autoCloseNetPrompt->isChecked(); 306 net_autoclose = ui->autoCloseNetPrompt->isChecked();
305 gl_logostuds = ui->m_logostuds->isChecked(); 307 gl_logostuds = ui->m_logostuds->isChecked();
306 ld_defaultuser = ui->m_profileUsername->text(); 308 ld_defaultuser = ui->m_profileUsername->text();
307 ld_defaultname = ui->m_profileName->text(); 309 ld_defaultname = ui->m_profileName->text();
308 ld_defaultlicense = ui->m_profileLicense->currentIndex(); 310 ld_defaultlicense = ui->m_profileLicense->currentIndex();
311 gl_aa = ui->m_aa->isChecked();
309 312
310 // Rebuild the quick color toolbar 313 // Rebuild the quick color toolbar
311 g_win->setQuickColors (quickColors); 314 g_win->setQuickColors (quickColors);
312 gui_colortoolbar = quickColorString(); 315 gui_colortoolbar = quickColorString();
313 316

mercurial