Implemented SpotPicker using the guiutils class in filmnegative

This commit is contained in:
Dániel Battyányi
2023-07-18 17:53:27 +02:00
parent c06ba81a23
commit 1e6ef3e2a2
2 changed files with 39 additions and 133 deletions

View File

@@ -97,8 +97,8 @@ private:
void readOutputSliders(RGB &refOutput);
void writeOutputSliders(const RGB &refOutput);
void spotSizeChanged();
void refSpotChanged();
// void spotSizeChanged();
// void refSpotChanged();
// ColorTemp value corresponding to neutral RGB multipliers (1,1,1). Should be around 6500K.
const rtengine::ColorTemp NEUTRAL_TEMP;
@@ -137,15 +137,11 @@ private:
#define DEFAULT_SPOT_WIDTH 8
Gtk::ToggleButton* const spotButton;
int spotWidth;
MyComboBoxText* const spotSize;
SpotPicker* const picker;
Gtk::Label* const refInputLabel;
Gtk::ToggleButton* const refSpotButton;
int refSpotWidth;
MyComboBoxText* const refSpotSize;
SpotPicker* const refPicker;
int* displayRectWidth;
Adjuster* const outputLevel;