Local complexity - Add 'Basic' to 'Standard'(Normal) and 'Advanced'(Expert) (#5858)
* Mode simple to color and light * Exposure complex * Vibrance and SH complex * Soft and Blur complex * Common mask complex * Sharp Retinex complex * Localcontrast complex * Change label tooltip complex * Change labels and tooltip * Change tooltip french * Change default value scope TM * Some forgotten hide..with basic in inverse mode * Another hide in basic and inverse * Change some type in labels * Change typo contrast * Refine some labels tootips * Change after review Ingo - thanks * Improve history behaviour when changing local adjustments complexity mode * Added normal to original retinex - basic to dehaze * Fixed bad behavior normal expert Color and Light * Improve edge sharpness * Another improvment edge sharpness * various improvement * locallab: speedup and reduced memory usage for wavcontrast4() * remove file * French labels complexity * calckoe(): cleanup, speedup and bugfix for 3x3 gaussian kernels * calckoe(): cleanup for 3x3 gaussian kernels * calckoe(): fill koeli[] with zeroes if level <= 1 && tloww >= 75.f * GUI part fixes and cleanup * Fix in Locallab Settings panel Additionnal minor fix in Preferences windows * Change default mode complexity in preferences - basic * Change complexity in option * Improve gui when lauch first image Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de> Co-authored-by: Pandagrapher <pierre.cab@gmail.com>
This commit is contained in:
@@ -95,6 +95,7 @@ ControlSpotPanel::ControlSpotPanel():
|
||||
|
||||
preview_(Gtk::manage(new Gtk::ToggleButton(M("TP_LOCALLAB_PREVIEW")))),
|
||||
ctboxshape(Gtk::manage(new Gtk::HBox())),
|
||||
ctboxshapemethod(Gtk::manage(new Gtk::HBox())),
|
||||
|
||||
controlPanelListener(nullptr),
|
||||
lastObject_(-1),
|
||||
@@ -250,7 +251,7 @@ ControlSpotPanel::ControlSpotPanel():
|
||||
pack_start(*excluFrame);
|
||||
|
||||
|
||||
Gtk::HBox* const ctboxshapemethod = Gtk::manage(new Gtk::HBox());
|
||||
// Gtk::HBox* const ctboxshapemethod = Gtk::manage(new Gtk::HBox());
|
||||
Gtk::Label* const labelshapemethod = Gtk::manage(new Gtk::Label(M("TP_LOCALLAB_STYPE") + ":"));
|
||||
ctboxshapemethod->pack_start(*labelshapemethod, Gtk::PACK_SHRINK, 4);
|
||||
|
||||
@@ -914,6 +915,7 @@ void ControlSpotPanel::prevMethodChanged()
|
||||
expMaskMerge_->hide();
|
||||
circrad_->hide();
|
||||
ctboxshape->hide();
|
||||
shapeMethod_->set_active(0);
|
||||
|
||||
} else { // Excluding case
|
||||
expTransGrad_->show();
|
||||
@@ -1730,6 +1732,25 @@ void ControlSpotPanel::setParamEditable(bool cond)
|
||||
savrest_->set_sensitive(cond);
|
||||
complexMethod_->set_sensitive(cond);
|
||||
wavMethod_->set_sensitive(cond);
|
||||
preview_->set_sensitive(cond);
|
||||
|
||||
if (!cond) {
|
||||
// Reset complex parameters visibility to default state
|
||||
expTransGrad_->hide();
|
||||
expShapeDetect_->hide();
|
||||
expSpecCases_->hide();
|
||||
expMaskMerge_->hide();
|
||||
circrad_->hide();
|
||||
ctboxshape->hide();
|
||||
excluFrame->hide();
|
||||
// ctboxshapemethod->hide();
|
||||
locX_->hide();
|
||||
locXL_->hide();
|
||||
locY_->hide();
|
||||
locYT_->hide();
|
||||
centerX_->hide();
|
||||
centerY_->hide();
|
||||
}
|
||||
}
|
||||
|
||||
void ControlSpotPanel::setDefaultExpanderVisibility()
|
||||
|
Reference in New Issue
Block a user