Applied requested changes from review comments

This commit is contained in:
Dániel Battyányi
2023-08-19 00:17:10 +02:00
parent f59122e05a
commit 3d5810f088
4 changed files with 43 additions and 75 deletions

View File

@@ -43,12 +43,6 @@ public:
virtual bool getFilmNegativeSpot(rtengine::Coord spot, int spotSize, RGB &refInput, RGB &refOutput) = 0;
};
// class FilmNegSpotListener
// {
// public:
// virtual ~FilmNegSpotListener() = default;
// virtual void spotNegRequested(int size) = 0;
// };
class FilmNegative final :
public ToolParamBlock,
@@ -85,10 +79,6 @@ public:
bool button1Released() override;
bool button3Pressed(int modifierKey) override;
void switchOffEditMode() override;
// void setFilmNegSpotListener(FilmNegSpotListener* listener)
// {
// spotlistener = listener;
// }
private:
void editToggled();
@@ -97,9 +87,6 @@ private:
void readOutputSliders(RGB &refOutput);
void writeOutputSliders(const RGB &refOutput);
// void spotSizeChanged();
// void refSpotChanged();
// ColorTemp value corresponding to neutral RGB multipliers (1,1,1). Should be around 6500K.
const rtengine::ColorTemp NEUTRAL_TEMP;
@@ -109,8 +96,6 @@ private:
const rtengine::ProcEvent evFilmNegativeBalance;
const rtengine::ProcEvent evFilmNegativeColorSpace;
// FilmNegSpotListener* spotlistener;
std::vector<rtengine::Coord> refSpotCoords;
RGB refInputValues;
@@ -135,14 +120,14 @@ private:
Adjuster* const redRatio;
Adjuster* const blueRatio;
#define DEFAULT_SPOT_WIDTH 8
static constexpr int DEFAULT_SPOT_WIDTH = 8;
SpotPicker picker;
Gtk::Label* const refInputLabel;
SpotPicker refPicker;
int* displayRectWidth;
SpotPicker* activePicker;
Adjuster* const outputLevel;
Adjuster* const greenBalance;