Merge pull request #3004 from adamreichold/remove-unused-colortoning-labels
Remove two unused labels from the color toning tool that were always …
This commit is contained in:
@@ -36,14 +36,6 @@ ColorToning::ColorToning () : FoldableToolPanel(this, "colortoning", M("TP_COLOR
|
||||
colorSep = Gtk::manage (new Gtk::HSeparator());
|
||||
pack_start (*colorSep);
|
||||
|
||||
colLabel = Gtk::manage (new Gtk::Label (M("TP_COLORTONING_LABCOL")));
|
||||
colLabel->set_tooltip_text (M("TP_COLORTONING_LABCOL_TOOLTIP"));
|
||||
|
||||
interLabel = Gtk::manage (new Gtk::Label (M("TP_COLORTONING_LABINT")));
|
||||
interLabel->set_tooltip_text (M("TP_COLORTONING_LABINT_TOOLTIP"));
|
||||
pack_start (*colLabel, Gtk::PACK_SHRINK, 4);
|
||||
pack_start (*interLabel, Gtk::PACK_SHRINK, 4);
|
||||
|
||||
colorCurveEditorG = new CurveEditorGroup (options.lastColorToningCurvesDir, M("TP_COLORTONING_COLOR"));
|
||||
colorCurveEditorG->setCurveListener (this);
|
||||
|
||||
@@ -799,8 +791,6 @@ void ColorToning::methodChanged ()
|
||||
if (!batchMode) {
|
||||
if (method->get_active_row_number() == 0) { // Lab
|
||||
colorSep->show();
|
||||
colLabel->hide();
|
||||
interLabel->hide();
|
||||
colorCurveEditorG->show();
|
||||
twocolor->show();
|
||||
opacityCurveEditorG->hide();
|
||||
@@ -838,8 +828,6 @@ void ColorToning::methodChanged ()
|
||||
twocolorChanged(true);
|
||||
} else if (method->get_active_row_number() == 1) { // RGB Sliders
|
||||
colorSep->hide();
|
||||
colLabel->hide();
|
||||
interLabel->hide();
|
||||
colorCurveEditorG->hide();
|
||||
twocolor->hide();
|
||||
twocolor->set_active (false);
|
||||
@@ -873,8 +861,6 @@ void ColorToning::methodChanged ()
|
||||
|
||||
} else if (method->get_active_row_number() == 2) { // RGB Curves
|
||||
colorSep->hide();
|
||||
colLabel->hide();
|
||||
interLabel->hide();
|
||||
colorCurveEditorG->show();
|
||||
twocolor->hide();
|
||||
twocolor->set_active (false);
|
||||
@@ -908,8 +894,6 @@ void ColorToning::methodChanged ()
|
||||
lumamode->hide();
|
||||
} else if (method->get_active_row_number() == 3) { // Split LR
|
||||
colorSep->hide();
|
||||
colLabel->hide();
|
||||
interLabel->hide();
|
||||
colorCurveEditorG->hide();
|
||||
twocolor->hide();
|
||||
twocolor->set_active (false);
|
||||
@@ -932,8 +916,6 @@ void ColorToning::methodChanged ()
|
||||
lumamode->show();
|
||||
} else if (method->get_active_row_number() == 4) { // Split Color
|
||||
colorSep->show();
|
||||
colLabel->hide();
|
||||
interLabel->hide();
|
||||
colorCurveEditorG->hide();
|
||||
twocolor->hide();
|
||||
opacityCurveEditorG->hide();
|
||||
|
@@ -60,8 +60,6 @@ protected:
|
||||
//Gtk::Button* neutralCurves;
|
||||
Gtk::HBox* neutrHBox;
|
||||
Gtk::HBox* chromaHbox;
|
||||
Gtk::Label* colLabel;
|
||||
Gtk::Label* interLabel;
|
||||
Gtk::Label* chroLabel;
|
||||
int nextbw;
|
||||
int nextsatth;
|
||||
|
Reference in New Issue
Block a user