Change position of contrast threshold adjuster in demosaic and microcontrast tool for consistency with sharpening tool
This commit is contained in:
parent
c4791f6bc5
commit
1d78aa4c3a
@ -46,6 +46,20 @@ BayerProcess::BayerProcess () : FoldableToolPanel(this, "bayerprocess", M("TP_RA
|
||||
hb1->pack_end (*method, Gtk::PACK_EXPAND_WIDGET, 4);
|
||||
pack_start( *hb1, Gtk::PACK_SHRINK, 4);
|
||||
|
||||
|
||||
dualDemosaicOptions = Gtk::manage (new Gtk::VBox ());
|
||||
|
||||
dualDemosaicContrast = Gtk::manage(new Adjuster (M("TP_RAW_DUALDEMOSAICCONTRAST"), 0, 100, 1, 20));
|
||||
dualDemosaicContrast->setAdjusterListener (this);
|
||||
|
||||
if (dualDemosaicContrast->delay < options.adjusterMaxDelay) {
|
||||
dualDemosaicContrast->delay = options.adjusterMaxDelay;
|
||||
}
|
||||
|
||||
dualDemosaicContrast->show();
|
||||
dualDemosaicOptions->pack_start(*dualDemosaicContrast);
|
||||
pack_start( *dualDemosaicOptions, Gtk::PACK_SHRINK, 4);
|
||||
|
||||
borderbox = Gtk::manage(new Gtk::HBox());
|
||||
border = Gtk::manage(new Adjuster(M("TP_RAW_BORDER"), 0, 16, 1, 4));
|
||||
border->setAdjusterListener (this);
|
||||
@ -112,20 +126,6 @@ BayerProcess::BayerProcess () : FoldableToolPanel(this, "bayerprocess", M("TP_RA
|
||||
lmmseOptions->pack_start(*lmmseIterations);
|
||||
pack_start( *lmmseOptions, Gtk::PACK_SHRINK, 4);
|
||||
|
||||
dualDemosaicOptions = Gtk::manage (new Gtk::VBox ());
|
||||
|
||||
dualDemosaicContrast = Gtk::manage(new Adjuster (M("TP_RAW_DUALDEMOSAICCONTRAST"), 0, 100, 1, 20));
|
||||
dualDemosaicContrast->setAdjusterListener (this);
|
||||
|
||||
if (dualDemosaicContrast->delay < options.adjusterMaxDelay) {
|
||||
dualDemosaicContrast->delay = options.adjusterMaxDelay;
|
||||
}
|
||||
|
||||
dualDemosaicContrast->show();
|
||||
dualDemosaicOptions->pack_start(*dualDemosaicContrast);
|
||||
pack_start( *dualDemosaicOptions, Gtk::PACK_SHRINK, 4);
|
||||
|
||||
|
||||
// -------------------- PixelShift ----------------------
|
||||
|
||||
|
||||
|
@ -44,15 +44,15 @@ SharpenMicro::SharpenMicro () : FoldableToolPanel(this, "sharpenmicro", M("TP_SH
|
||||
uniformity->setAdjusterListener (this);
|
||||
uniformity->show();
|
||||
|
||||
pack_start( *contrast, Gtk::PACK_SHRINK, 0);
|
||||
pack_start( *amount, Gtk::PACK_SHRINK, 0);
|
||||
pack_start( *uniformity, Gtk::PACK_SHRINK, 0);
|
||||
|
||||
matrix = Gtk::manage (new Gtk::CheckButton (M("TP_SHARPENMICRO_MATRIX")));
|
||||
matrix->set_active (true);
|
||||
pack_start(*matrix, Gtk::PACK_SHRINK, 0);
|
||||
matrix->show ();
|
||||
|
||||
pack_start( *contrast, Gtk::PACK_SHRINK, 0);
|
||||
pack_start( *amount, Gtk::PACK_SHRINK, 0);
|
||||
pack_start( *uniformity, Gtk::PACK_SHRINK, 0);
|
||||
|
||||
matrixconn = matrix->signal_toggled().connect( sigc::mem_fun(*this, &SharpenMicro::matrix_toggled) );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user