Fixed bug in GUI preferences - local adjustements
This commit is contained in:
@@ -1515,9 +1515,15 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall)
|
||||
}
|
||||
|
||||
if (versionmip == 10009) {
|
||||
maxind = 58;
|
||||
maxind = 69;
|
||||
}
|
||||
|
||||
// I have forgotten 10010 ==> probably crash...but now it's passed...
|
||||
//enabled this code after...
|
||||
// if (versionmip == 10011) {
|
||||
// maxind = 70;
|
||||
// }
|
||||
|
||||
while (getline (fich, line)) {
|
||||
spotline = line;
|
||||
std::size_t pos = spotline.find ("=");
|
||||
@@ -1663,7 +1669,7 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall)
|
||||
}
|
||||
|
||||
if (versionmip == 10008) {
|
||||
|
||||
//vibrance
|
||||
for (int sp = 1; sp < maxspot; sp++) { // spots default
|
||||
|
||||
dataspot[58][sp] = 19;
|
||||
@@ -1678,7 +1684,7 @@ void ImProcCoordinator::updatePreviewImage (int todo, Crop* cropCall)
|
||||
}
|
||||
}
|
||||
|
||||
if (versionmip == 10009) {
|
||||
if (versionmip == 10009) {//exposure
|
||||
for (int sp = 1; sp < maxspot; sp++) { // spots default
|
||||
dataspot[64][sp] = 0;
|
||||
dataspot[65][sp] = 0;
|
||||
|
||||
@@ -1001,22 +1001,6 @@ Gtk::Widget* Preferences::getGeneralPanel ()
|
||||
|
||||
// ---------------------------------------------
|
||||
|
||||
Gtk::Frame* flocal = Gtk::manage ( new Gtk::Frame (M ("PREFERENCES_LOCAL")) );
|
||||
setExpandAlignProperties (flocal, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_START);
|
||||
Gtk::Grid* localGrid = Gtk::manage ( new Gtk::Grid() );
|
||||
localGrid->set_column_spacing (4);
|
||||
localGrid->set_row_spacing (4);
|
||||
setExpandAlignProperties (localGrid, false, false, Gtk::ALIGN_FILL, Gtk::ALIGN_BASELINE);
|
||||
|
||||
ckbShowdelimspot = Gtk::manage ( new Gtk::CheckButton (M ("PREFERENCES_LOCALSHOWDELIMSPOT")) );
|
||||
setExpandAlignProperties (ckbShowdelimspot, false, false, Gtk::ALIGN_START, Gtk::ALIGN_START);
|
||||
localGrid->attach_next_to (*ckbShowdelimspot, Gtk::POS_LEFT, 3, 1);
|
||||
|
||||
flocal->add (*localGrid);
|
||||
mvbsd->attach_next_to (*flocal, *fworklflow, Gtk::POS_BOTTOM, 2, 1);
|
||||
|
||||
// ---------------------------------------------
|
||||
|
||||
Gtk::Frame* flang = Gtk::manage ( new Gtk::Frame (M ("PREFERENCES_LANG")) );
|
||||
setExpandAlignProperties (flang, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_START);
|
||||
Gtk::Grid* langGrid = Gtk::manage ( new Gtk::Grid() );
|
||||
@@ -1051,6 +1035,23 @@ Gtk::Widget* Preferences::getGeneralPanel ()
|
||||
mvbsd->attach_next_to (*flang, *fworklflow, Gtk::POS_BOTTOM, 2, 1);
|
||||
|
||||
// ---------------------------------------------
|
||||
|
||||
|
||||
Gtk::Frame* flocal = Gtk::manage ( new Gtk::Frame (M ("PREFERENCES_LOCAL")) );
|
||||
setExpandAlignProperties (flocal, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_START);
|
||||
Gtk::Grid* localGrid = Gtk::manage ( new Gtk::Grid() );
|
||||
localGrid->set_column_spacing (4);
|
||||
localGrid->set_row_spacing (4);
|
||||
setExpandAlignProperties (localGrid, false, false, Gtk::ALIGN_FILL, Gtk::ALIGN_BASELINE);
|
||||
|
||||
ckbShowdelimspot = Gtk::manage ( new Gtk::CheckButton (M ("PREFERENCES_LOCALSHOWDELIMSPOT")) );
|
||||
setExpandAlignProperties (ckbShowdelimspot, false, false, Gtk::ALIGN_START, Gtk::ALIGN_START);
|
||||
localGrid->attach_next_to (*ckbShowdelimspot, Gtk::POS_LEFT, 3, 1);
|
||||
|
||||
flocal->add (*localGrid);
|
||||
mvbsd->attach_next_to (*flocal, *flang, Gtk::POS_BOTTOM, 2, 1);
|
||||
|
||||
//--------------------------------------------------
|
||||
|
||||
Gtk::Frame* ftheme = Gtk::manage ( new Gtk::Frame (M ("PREFERENCES_THEME")) );
|
||||
setExpandAlignProperties (ftheme, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_START);
|
||||
@@ -1121,7 +1122,7 @@ Gtk::Widget* Preferences::getGeneralPanel ()
|
||||
themeGrid->attach_next_to (*butNavGuideCol, *navGuideLabel, Gtk::POS_RIGHT, 1, 1);
|
||||
|
||||
ftheme->add (*themeGrid);
|
||||
mvbsd->attach_next_to (*ftheme, *flang, Gtk::POS_BOTTOM, 2, 1);
|
||||
mvbsd->attach_next_to (*ftheme, *flocal, Gtk::POS_BOTTOM, 2, 1);
|
||||
|
||||
// ---------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user