From 05830912f78436fc916bf459fbec9977198f5f20 Mon Sep 17 00:00:00 2001 From: Desmis Date: Mon, 27 Jul 2020 11:09:21 +0200 Subject: [PATCH] Second normal expert --- rtgui/wavelet.cc | 21 +++++++++++++++++++-- rtgui/wavelet.h | 1 + 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/rtgui/wavelet.cc b/rtgui/wavelet.cc index 0fd153d40..ee251f35f 100644 --- a/rtgui/wavelet.cc +++ b/rtgui/wavelet.cc @@ -192,7 +192,8 @@ Wavelet::Wavelet() : expbl(Gtk::manage(new MyExpander(true, M("TP_WAVELET_BL")))), neutrHBox(Gtk::manage(new Gtk::HBox())), usharpHBox(Gtk::manage(new Gtk::HBox())), - ctboxch(Gtk::manage(new Gtk::HBox())) + ctboxch(Gtk::manage(new Gtk::HBox())), + ctboxBA(Gtk::manage(new Gtk::VBox())) { CurveListener::setMulti(true); @@ -1022,7 +1023,7 @@ Wavelet::Wavelet() : resBox->pack_start(*neutrHBox); // Final Touchup - Gtk::VBox* const ctboxBA = Gtk::manage(new Gtk::VBox()); + // Gtk::VBox* const ctboxBA = Gtk::manage(new Gtk::VBox()); ctboxBA->set_spacing(2); @@ -2907,6 +2908,14 @@ void Wavelet::convertParamToNormal() edgesensi->setValue(def_params.edgesensi); edgeampli->setValue(def_params.edgeampli); NPmethod->set_active(0); + //resid + oldsh->set_active(true); + resblur->setValue(def_params.resblur); + resblurc->setValue(def_params.resblurc); + cbenab->set_active(false); + + //final touchup + BAmethod->set_active(0); enableListener(); // Update GUI based on converted widget parameters: @@ -2922,6 +2931,10 @@ void Wavelet::updateGUIToMode(int mode) chroFrame->hide(); expbl->hide(); lipst->hide(); + dirFrame->hide(); + oldsh->hide(); + blurFrame->hide(); + cbenab->hide(); } else { offset->show(); ctboxch->show(); @@ -2930,6 +2943,10 @@ void Wavelet::updateGUIToMode(int mode) chroFrame->show(); expbl->show(); lipst->show(); + dirFrame->show(); + oldsh->show(); + blurFrame->show(); + cbenab->show(); } } diff --git a/rtgui/wavelet.h b/rtgui/wavelet.h index 127be0efa..a497d2c4f 100644 --- a/rtgui/wavelet.h +++ b/rtgui/wavelet.h @@ -343,6 +343,7 @@ private: Gtk::HBox* const neutrHBox; Gtk::HBox* const usharpHBox; Gtk::HBox* const ctboxch; + Gtk::VBox* const ctboxBA;// = Gtk::manage(new Gtk::VBox()); sigc::connection enableChromaConn, enableContrastConn, enableEdgeConn, enabletmConn, enableFinalConn, enableclariConn; sigc::connection enableNoiseConn, enableResidConn, enableToningConn;