Replaces the following deprecated Gtk classes throughout the codebase by their non-deprecated counterparts. Style, HBox, VBox, HPaned, VPaned, HScrollbar, VScrollbar, VSeparator, HSeparator, Stock, Table, VScale and HScale.
This commit is contained in:
@@ -35,7 +35,7 @@ PrSharpening::PrSharpening () : FoldableToolPanel(this, "prsharpening", M("TP_PR
|
||||
|
||||
//setEnabledTooltipMarkup(M("TP_PRSHARPENING_TOOLTIP"));
|
||||
|
||||
Gtk::HBox* hb = Gtk::manage (new Gtk::HBox ());
|
||||
Gtk::Box* hb = Gtk::manage (new Gtk::Box ());
|
||||
hb->show ();
|
||||
contrast = Gtk::manage(new Adjuster (M("TP_SHARPENING_CONTRAST"), 0, 200, 1, 15));
|
||||
contrast->setAdjusterListener (this);
|
||||
@@ -52,7 +52,7 @@ PrSharpening::PrSharpening () : FoldableToolPanel(this, "prsharpening", M("TP_PR
|
||||
hb->pack_start(*method);
|
||||
pack_start (*hb);
|
||||
|
||||
rld = new Gtk::VBox ();
|
||||
rld = new Gtk::Box(Gtk::ORIENTATION_VERTICAL);
|
||||
dradius = Gtk::manage (new Adjuster (M("TP_SHARPENING_EDRADIUS"), 0.4, 2.5, 0.01, 0.45));
|
||||
damount = Gtk::manage (new Adjuster (M("TP_SHARPENING_RLD_AMOUNT"), 0.0, 100, 1, 100));
|
||||
ddamping = Gtk::manage (new Adjuster (M("TP_SHARPENING_RLD_DAMPING"), 0, 100, 1, 0));
|
||||
@@ -67,10 +67,10 @@ PrSharpening::PrSharpening () : FoldableToolPanel(this, "prsharpening", M("TP_PR
|
||||
diter->show ();
|
||||
rld->show ();
|
||||
|
||||
usm = new Gtk::VBox ();
|
||||
usm = new Gtk::Box(Gtk::ORIENTATION_VERTICAL);
|
||||
usm->show ();
|
||||
|
||||
Gtk::HSeparator *hsep6a = Gtk::manage (new Gtk::HSeparator());
|
||||
Gtk::Separator* hsep6a = Gtk::manage (new Gtk::Separator(Gtk::ORIENTATION_HORIZONTAL));
|
||||
amount = Gtk::manage (new Adjuster (M("TP_SHARPENING_AMOUNT"), 1, 1000, 1, 200));
|
||||
radius = Gtk::manage (new Adjuster (M("TP_SHARPENING_RADIUS"), 0.3, 3, 0.01, 0.5));
|
||||
threshold = Gtk::manage (new ThresholdAdjuster (M("TP_SHARPENING_THRESHOLD"), 0., 2000., 20., 80., 2000., 1200., 0, false));
|
||||
@@ -88,10 +88,10 @@ PrSharpening::PrSharpening () : FoldableToolPanel(this, "prsharpening", M("TP_PR
|
||||
amount->show ();
|
||||
threshold->show ();
|
||||
|
||||
Gtk::HSeparator *hsep6 = Gtk::manage (new Gtk::HSeparator());
|
||||
Gtk::Separator* hsep6 = Gtk::manage (new Gtk::Separator(Gtk::ORIENTATION_HORIZONTAL));
|
||||
edgesonly = Gtk::manage (new Gtk::CheckButton (M("TP_SHARPENING_ONLYEDGES")));
|
||||
edgesonly->set_active (false);
|
||||
edgebox = new Gtk::VBox ();
|
||||
edgebox = new Gtk::Box(Gtk::ORIENTATION_VERTICAL);
|
||||
eradius = Gtk::manage (new Adjuster (M("TP_SHARPENING_EDRADIUS"), 0.5, 2.5, 0.1, 1.9));
|
||||
etolerance = Gtk::manage (new Adjuster (M("TP_SHARPENING_EDTOLERANCE"), 10, 10000, 100, 1800));
|
||||
usm->pack_start(*hsep6, Gtk::PACK_SHRINK, 2);
|
||||
@@ -99,7 +99,7 @@ PrSharpening::PrSharpening () : FoldableToolPanel(this, "prsharpening", M("TP_PR
|
||||
edgebox->pack_start(*eradius);
|
||||
edgebox->pack_start(*etolerance);
|
||||
edgebox->show ();
|
||||
edgebin = Gtk::manage (new Gtk::VBox ());
|
||||
edgebin = Gtk::manage (new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
|
||||
usm->pack_start (*edgebin);
|
||||
edgebin->show ();
|
||||
hsep6->show();
|
||||
@@ -107,16 +107,16 @@ PrSharpening::PrSharpening () : FoldableToolPanel(this, "prsharpening", M("TP_PR
|
||||
eradius->show();
|
||||
etolerance->show();
|
||||
|
||||
Gtk::HSeparator *hsep6b = Gtk::manage (new Gtk::HSeparator());
|
||||
Gtk::Separator* hsep6b = Gtk::manage (new Gtk::Separator(Gtk::ORIENTATION_HORIZONTAL));
|
||||
halocontrol = Gtk::manage (new Gtk::CheckButton (M("TP_SHARPENING_HALOCONTROL")));
|
||||
halocontrol->set_active (false);
|
||||
hcbox = new Gtk::VBox ();
|
||||
hcbox = new Gtk::Box(Gtk::ORIENTATION_VERTICAL);
|
||||
hcamount = Gtk::manage (new Adjuster (M("TP_SHARPENING_HCAMOUNT"), 1, 100, 1, 75));
|
||||
usm->pack_start(*hsep6b, Gtk::PACK_SHRINK, 2);
|
||||
usm->pack_start(*halocontrol);
|
||||
hcbox->pack_start(*hcamount);
|
||||
hcbox->show ();
|
||||
hcbin = Gtk::manage (new Gtk::VBox ());
|
||||
hcbin = Gtk::manage (new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
|
||||
usm->pack_start (*hcbin);
|
||||
hcbin->show ();
|
||||
hsep6b->show ();
|
||||
|
Reference in New Issue
Block a user