Ported Retinex to Gtk3 and removed "Theme=" workaround
This commit is contained in:
parent
35775f3b3f
commit
4c4430be34
@ -283,10 +283,6 @@ int main(int argc, char **argv)
|
||||
simpleEditor = true;
|
||||
}
|
||||
|
||||
if (options.theme.empty()) {
|
||||
options.theme = "21-Gray-Gray";
|
||||
}
|
||||
|
||||
Gtk::Main m(&argc, &argv);
|
||||
|
||||
Glib::ustring icon_path = Glib::build_filename(argv0, "images");
|
||||
|
@ -33,19 +33,19 @@ Retinex::Retinex () : FoldableToolPanel(this, "retinex", M("TP_RETINEX_LABEL"),
|
||||
dhbox->pack_start (*labmdh, Gtk::PACK_SHRINK, 1);
|
||||
|
||||
retinexMethod = Gtk::manage (new MyComboBoxText ());
|
||||
retinexMethod->append_text (M("TP_RETINEX_LOW"));
|
||||
retinexMethod->append_text (M("TP_RETINEX_UNIFORM"));
|
||||
retinexMethod->append_text (M("TP_RETINEX_HIGH"));
|
||||
retinexMethod->append_text (M("TP_RETINEX_HIGHLIG"));
|
||||
// retinexMethod->append_text (M("TP_RETINEX_HIGHLIGPLUS"));
|
||||
retinexMethod->append (M("TP_RETINEX_LOW"));
|
||||
retinexMethod->append (M("TP_RETINEX_UNIFORM"));
|
||||
retinexMethod->append (M("TP_RETINEX_HIGH"));
|
||||
retinexMethod->append (M("TP_RETINEX_HIGHLIG"));
|
||||
// retinexMethod->append (M("TP_RETINEX_HIGHLIGPLUS"));
|
||||
retinexMethod->set_active(0);
|
||||
retinexMethodConn = retinexMethod->signal_changed().connect ( sigc::mem_fun(*this, &Retinex::retinexMethodChanged) );
|
||||
retinexMethod->set_tooltip_markup (M("TP_RETINEX_METHOD_TOOLTIP"));
|
||||
|
||||
retinexcolorspace = Gtk::manage (new MyComboBoxText ());
|
||||
retinexcolorspace->append_text (M("TP_RETINEX_LABSPACE"));
|
||||
retinexcolorspace->append_text (M("TP_RETINEX_HSLSPACE_LOG"));
|
||||
retinexcolorspace->append_text (M("TP_RETINEX_HSLSPACE_LIN"));
|
||||
retinexcolorspace->append (M("TP_RETINEX_LABSPACE"));
|
||||
retinexcolorspace->append (M("TP_RETINEX_HSLSPACE_LOG"));
|
||||
retinexcolorspace->append (M("TP_RETINEX_HSLSPACE_LIN"));
|
||||
retinexcolorspace->set_active(0);
|
||||
retinexColorSpaceConn = retinexcolorspace->signal_changed().connect ( sigc::mem_fun(*this, &Retinex::retinexColorSpaceChanged) );
|
||||
|
||||
@ -103,11 +103,11 @@ Retinex::Retinex () : FoldableToolPanel(this, "retinex", M("TP_RETINEX_LABEL"),
|
||||
gambox->pack_start (*labgam, Gtk::PACK_SHRINK, 1);
|
||||
|
||||
gammaretinex = Gtk::manage (new MyComboBoxText ());
|
||||
gammaretinex->append_text (M("TP_RETINEX_GAMMA_NONE"));
|
||||
gammaretinex->append_text (M("TP_RETINEX_GAMMA_LOW"));
|
||||
gammaretinex->append_text (M("TP_RETINEX_GAMMA_MID"));
|
||||
gammaretinex->append_text (M("TP_RETINEX_GAMMA_HIGH"));
|
||||
gammaretinex->append_text (M("TP_RETINEX_GAMMA_FREE"));
|
||||
gammaretinex->append (M("TP_RETINEX_GAMMA_NONE"));
|
||||
gammaretinex->append (M("TP_RETINEX_GAMMA_LOW"));
|
||||
gammaretinex->append (M("TP_RETINEX_GAMMA_MID"));
|
||||
gammaretinex->append (M("TP_RETINEX_GAMMA_HIGH"));
|
||||
gammaretinex->append (M("TP_RETINEX_GAMMA_FREE"));
|
||||
gammaretinex->set_active(0);
|
||||
gammaretinexConn = gammaretinex->signal_changed().connect ( sigc::mem_fun(*this, &Retinex::gammaretinexChanged) );
|
||||
gammaretinex->set_tooltip_markup (M("TP_RETINEX_GAMMA_TOOLTIP"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user