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:
@@ -51,7 +51,7 @@ ColorToning::ColorToning () : FoldableToolPanel(this, "colortoning", M("TP_COLOR
|
||||
method->set_active (0);
|
||||
method->set_tooltip_text (M("TP_COLORTONING_METHOD_TOOLTIP"));
|
||||
|
||||
ctbox = Gtk::manage (new Gtk::HBox ());
|
||||
ctbox = Gtk::manage (new Gtk::Box ());
|
||||
Gtk::Label* lab = Gtk::manage (new Gtk::Label (M("TP_COLORTONING_METHOD")));
|
||||
ctbox->pack_start (*lab, Gtk::PACK_SHRINK, 4);
|
||||
ctbox->pack_start (*method);
|
||||
@@ -61,7 +61,7 @@ ColorToning::ColorToning () : FoldableToolPanel(this, "colortoning", M("TP_COLOR
|
||||
|
||||
//----------- Color curve ------------------------------
|
||||
|
||||
colorSep = Gtk::manage (new Gtk::HSeparator());
|
||||
colorSep = Gtk::manage (new Gtk::Separator(Gtk::ORIENTATION_HORIZONTAL));
|
||||
pack_start (*colorSep);
|
||||
|
||||
colorCurveEditorG = new CurveEditorGroup (options.lastColorToningCurvesDir, M("TP_COLORTONING_COLOR"));
|
||||
@@ -202,18 +202,18 @@ ColorToning::ColorToning () : FoldableToolPanel(this, "colortoning", M("TP_COLOR
|
||||
|
||||
//----------- Saturation and strength ------------------------------
|
||||
|
||||
// satLimiterSep = Gtk::manage (new Gtk::HSeparator());
|
||||
// satLimiterSep = Gtk::manage (new Gtk::Separator(Gtk::ORIENTATION_HORIZONTAL));
|
||||
|
||||
|
||||
// pack_start (*satLimiterSep, Gtk::PACK_SHRINK);
|
||||
|
||||
// Gtk::Frame *p1Frame;
|
||||
// Vertical box container for the content of the Process 1 frame
|
||||
Gtk::VBox *p1VBox;
|
||||
Gtk::Box* p1VBox;
|
||||
p1Frame = Gtk::manage (new Gtk::Frame(M("TP_COLORTONING_SA")) );
|
||||
p1Frame->set_label_align(0.025, 0.5);
|
||||
|
||||
p1VBox = Gtk::manage ( new Gtk::VBox());
|
||||
p1VBox = Gtk::manage ( new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
|
||||
p1VBox->set_spacing(2);
|
||||
|
||||
autosat = Gtk::manage (new Gtk::CheckButton (M("TP_COLORTONING_AUTOSAT")));
|
||||
@@ -244,10 +244,10 @@ ColorToning::ColorToning () : FoldableToolPanel(this, "colortoning", M("TP_COLOR
|
||||
|
||||
// --------------------Sliders BW Colortoning -------------------
|
||||
|
||||
chanMixerBox = Gtk::manage (new Gtk::VBox());
|
||||
Gtk::VBox *chanMixerHLBox = Gtk::manage (new Gtk::VBox());
|
||||
Gtk::VBox *chanMixerMidBox = Gtk::manage (new Gtk::VBox());
|
||||
Gtk::VBox *chanMixerShadowsBox = Gtk::manage (new Gtk::VBox());
|
||||
chanMixerBox = Gtk::manage (new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
|
||||
Gtk::Box* chanMixerHLBox = Gtk::manage (new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
|
||||
Gtk::Box* chanMixerMidBox = Gtk::manage (new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
|
||||
Gtk::Box* chanMixerShadowsBox = Gtk::manage (new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
|
||||
|
||||
Gtk::Image* iblueR = Gtk::manage (new RTImage ("circle-blue-small.png"));
|
||||
Gtk::Image* iyelL = Gtk::manage (new RTImage ("circle-yellow-small.png"));
|
||||
@@ -312,7 +312,7 @@ ColorToning::ColorToning () : FoldableToolPanel(this, "colortoning", M("TP_COLOR
|
||||
pack_start( *strength, Gtk::PACK_SHRINK, 2); //I have moved after Chanmixer
|
||||
|
||||
//--------------------- Reset sliders ---------------------------
|
||||
neutrHBox = Gtk::manage (new Gtk::HBox ());
|
||||
neutrHBox = Gtk::manage (new Gtk::Box());
|
||||
|
||||
neutral = Gtk::manage (new Gtk::Button (M("TP_COLORTONING_NEUTRAL")));
|
||||
neutral->set_tooltip_text (M("TP_COLORTONING_NEUTRAL_TIP"));
|
||||
@@ -378,7 +378,7 @@ ColorToning::ColorToning () : FoldableToolPanel(this, "colortoning", M("TP_COLOR
|
||||
EvLabRegionMaskBlur = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_COLORTONING_LABREGION_MASKBLUR");
|
||||
EvLabRegionShowMask = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_COLORTONING_LABREGION_SHOWMASK");
|
||||
EvLabRegionChannel = m->newEvent(LUMINANCECURVE, "HISTORY_MSG_COLORTONING_LABREGION_CHANNEL");
|
||||
labRegionBox = Gtk::manage(new Gtk::VBox());
|
||||
labRegionBox = Gtk::manage(new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
|
||||
|
||||
labRegionList = Gtk::manage(new Gtk::ListViewText(3));
|
||||
labRegionList->set_size_request(-1, 150);
|
||||
@@ -388,9 +388,9 @@ ColorToning::ColorToning () : FoldableToolPanel(this, "colortoning", M("TP_COLOR
|
||||
labRegionList->set_column_title(2, M("TP_COLORTONING_LABREGION_MASK"));
|
||||
labRegionList->set_activate_on_single_click(true);
|
||||
labRegionSelectionConn = labRegionList->get_selection()->signal_changed().connect(sigc::mem_fun(this, &ColorToning::onLabRegionSelectionChanged));
|
||||
Gtk::HBox *hb = Gtk::manage(new Gtk::HBox());
|
||||
Gtk::Box *hb = Gtk::manage(new Gtk::Box());
|
||||
hb->pack_start(*labRegionList, Gtk::PACK_EXPAND_WIDGET);
|
||||
Gtk::VBox *vb = Gtk::manage(new Gtk::VBox());
|
||||
Gtk::Box* vb = Gtk::manage(new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
|
||||
labRegionAdd = Gtk::manage(new Gtk::Button());
|
||||
labRegionAdd->add(*Gtk::manage(new RTImage("add-small.png")));
|
||||
labRegionAdd->signal_clicked().connect(sigc::mem_fun(*this, &ColorToning::labRegionAddPressed));
|
||||
@@ -433,7 +433,7 @@ ColorToning::ColorToning () : FoldableToolPanel(this, "colortoning", M("TP_COLOR
|
||||
labRegionPower->setLogScale(4, 0.1);
|
||||
labRegionBox->pack_start(*labRegionPower);
|
||||
|
||||
hb = Gtk::manage(new Gtk::HBox());
|
||||
hb = Gtk::manage(new Gtk::Box());
|
||||
labRegionChannel = Gtk::manage(new MyComboBoxText());
|
||||
labRegionChannel->append(M("TP_COLORTONING_LABREGION_CHANNEL_ALL"));
|
||||
labRegionChannel->append(M("TP_COLORTONING_LABREGION_CHANNEL_R"));
|
||||
@@ -446,7 +446,7 @@ ColorToning::ColorToning () : FoldableToolPanel(this, "colortoning", M("TP_COLOR
|
||||
hb->pack_start(*labRegionChannel);
|
||||
labRegionBox->pack_start(*hb);
|
||||
|
||||
labRegionBox->pack_start(*Gtk::manage(new Gtk::HSeparator()));
|
||||
labRegionBox->pack_start(*Gtk::manage(new Gtk::Separator(Gtk::ORIENTATION_HORIZONTAL)));
|
||||
|
||||
CurveEditorGroup *labRegionEditorG = Gtk::manage(new CurveEditorGroup(options.lastColorToningCurvesDir, M("TP_COLORTONING_LABREGION_MASK")));
|
||||
labRegionEditorG->setCurveListener(this);
|
||||
|
Reference in New Issue
Block a user