Clean Preferences and Tooltip
This commit is contained in:
@@ -847,14 +847,14 @@ Gtk::Widget* Preferences::getColorManagementPanel ()
|
||||
|
||||
//------------------------- CIECAM ----------------------
|
||||
|
||||
Gtk::Label* viewlab = Gtk::manage (new Gtk::Label (M ("PREFERENCES_VIEW") + ":", Gtk::ALIGN_START));
|
||||
setExpandAlignProperties (viewlab, false, false, Gtk::ALIGN_START, Gtk::ALIGN_CENTER);
|
||||
// Gtk::Label* viewlab = Gtk::manage (new Gtk::Label (M ("PREFERENCES_VIEW") + ":", Gtk::ALIGN_START));
|
||||
// setExpandAlignProperties (viewlab, false, false, Gtk::ALIGN_START, Gtk::ALIGN_CENTER);
|
||||
|
||||
view = Gtk::manage (new Gtk::ComboBoxText ());
|
||||
setExpandAlignProperties (view, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_CENTER);
|
||||
// view = Gtk::manage (new Gtk::ComboBoxText ());
|
||||
// setExpandAlignProperties (view, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_CENTER);
|
||||
// view->append (M("PREFERENCES_D50_MENU"));
|
||||
|
||||
view->append (M ("PREFERENCES_D50"));
|
||||
// view->append (M ("PREFERENCES_D50"));
|
||||
// view->append (M("PREFERENCES_D55"));
|
||||
// view->append (M("PREFERENCES_D60"));
|
||||
// view->append (M("PREFERENCES_D65"));
|
||||
@@ -863,14 +863,14 @@ Gtk::Widget* Preferences::getColorManagementPanel ()
|
||||
// view->append (M("PREFERENCES_FLUOF7"));
|
||||
// view->append (M("PREFERENCES_FLUOF11"));
|
||||
|
||||
Gtk::Label* greylab = Gtk::manage (new Gtk::Label (M ("PREFERENCES_GREY") + ":", Gtk::ALIGN_START));
|
||||
setExpandAlignProperties (greylab, false, false, Gtk::ALIGN_START, Gtk::ALIGN_CENTER);
|
||||
grey = Gtk::manage (new Gtk::ComboBoxText ());
|
||||
setExpandAlignProperties (grey, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_CENTER);
|
||||
// Gtk::Label* greylab = Gtk::manage (new Gtk::Label (M ("PREFERENCES_GREY") + ":", Gtk::ALIGN_START));
|
||||
// setExpandAlignProperties (greylab, false, false, Gtk::ALIGN_START, Gtk::ALIGN_CENTER);
|
||||
// grey = Gtk::manage (new Gtk::ComboBoxText ());
|
||||
// setExpandAlignProperties (grey, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_CENTER);
|
||||
// grey->append (M("PREFERENCES_GREY05"));
|
||||
// grey->append (M("PREFERENCES_GREY10"));
|
||||
// grey->append (M("PREFERENCES_GREY15"));
|
||||
grey->append (M ("PREFERENCES_GREY18"));
|
||||
// grey->append (M ("PREFERENCES_GREY18"));
|
||||
// grey->append (M("PREFERENCES_GREY18_MENU"));
|
||||
|
||||
// grey->append (M("PREFERENCES_GREY23"));
|
||||
@@ -892,10 +892,10 @@ Gtk::Widget* Preferences::getColorManagementPanel ()
|
||||
Gtk::Label* lreloadneeded1 = Gtk::manage (new Gtk::Label (M ("PREFERENCES_IMG_RELOAD_NEEDED"), Gtk::ALIGN_START));
|
||||
setExpandAlignProperties (lreloadneeded1, true, false, Gtk::ALIGN_START, Gtk::ALIGN_CENTER);
|
||||
colo->attach (*lreloadneeded1, 0, 0, 2, 1);
|
||||
colo->attach (*viewlab, 0, 1, 1, 1);
|
||||
colo->attach (*view, 1, 1, 1, 1);
|
||||
colo->attach (*greylab, 0, 2, 1, 1);
|
||||
colo->attach (*grey, 1, 2, 1, 1);
|
||||
// colo->attach (*viewlab, 0, 1, 1, 1);
|
||||
// colo->attach (*view, 1, 1, 1, 1);
|
||||
// colo->attach (*greylab, 0, 2, 1, 1);
|
||||
// colo->attach (*grey, 1, 2, 1, 1);
|
||||
colo->attach (*greySclab, 0, 3, 1, 1);
|
||||
colo->attach (*greySc, 1, 3, 1, 1);
|
||||
cbciecamfloat = Gtk::manage (new Gtk::CheckButton (M ("PREFERENCES_CIEART_LABEL")));
|
||||
@@ -1710,8 +1710,8 @@ void Preferences::storePreferences ()
|
||||
#endif
|
||||
|
||||
moptions.rtSettings.iccDirectory = iccDir->get_filename ();
|
||||
moptions.rtSettings.viewingdevice = view->get_active_row_number ();
|
||||
moptions.rtSettings.viewingdevicegrey = grey->get_active_row_number ();
|
||||
// moptions.rtSettings.viewingdevice = view->get_active_row_number ();
|
||||
// moptions.rtSettings.viewingdevicegrey = grey->get_active_row_number ();
|
||||
moptions.rtSettings.viewinggreySc = greySc->get_active_row_number ();
|
||||
// moptions.rtSettings.autocielab = cbAutocielab->get_active ();
|
||||
moptions.rtSettings.ciecamfloat = cbciecamfloat->get_active ();
|
||||
@@ -1870,8 +1870,8 @@ void Preferences::fillPreferences ()
|
||||
iccDir->set_current_folder (moptions.rtSettings.iccDirectory);
|
||||
}
|
||||
|
||||
view->set_active (moptions.rtSettings.viewingdevice);
|
||||
grey->set_active (moptions.rtSettings.viewingdevicegrey);
|
||||
// view->set_active (moptions.rtSettings.viewingdevice);
|
||||
// grey->set_active (moptions.rtSettings.viewingdevicegrey);
|
||||
greySc->set_active (moptions.rtSettings.viewinggreySc);
|
||||
dnv->set_active (moptions.rtSettings.leveldnv);
|
||||
dnti->set_active (moptions.rtSettings.leveldnti);
|
||||
|
Reference in New Issue
Block a user