Bugfixe: Move "Avoid" check button to "Settings" locallab panel

This commit is contained in:
Pandagrapher
2019-03-17 13:32:16 +01:00
parent 8569738cf6
commit a3e9b1bd7c
8 changed files with 90 additions and 98 deletions

View File

@@ -63,6 +63,7 @@ public:
double thresh;
double iter;
double balan;
bool avoid;
};
/**
@@ -91,6 +92,7 @@ public:
bool thresh;
bool iter;
bool balan;
bool avoid;
};
// Constructor and management functions
@@ -237,6 +239,7 @@ private:
void adjusterChanged(ThresholdAdjuster* a, int newBottom, int newTop);
void adjusterChanged(ThresholdAdjuster* a, int newBottomLeft, int newTopLeft, int newBottomRight, int newTopRight);
void adjusterChanged2(ThresholdAdjuster* a, int newBottomL, int newTopL, int newBottomR, int newTopR);
void avoidChanged();
void disableParamlistener(bool cond);
@@ -279,6 +282,7 @@ private:
Gtk::TreeModelColumn<double> thresh;
Gtk::TreeModelColumn<double> iter;
Gtk::TreeModelColumn<double> balan;
Gtk::TreeModelColumn<bool> avoid;
};
class RenameDialog:
@@ -336,6 +340,9 @@ private:
Adjuster* const iter_;
Adjuster* const balan_;
Gtk::CheckButton* const avoid_;
sigc::connection avoidConn_;
// Internal variables
int lastObject_;
rtengine::Coord* lastCoord_;