Simplify and optimize code call transformed to othes functions

This commit is contained in:
Desmis
2019-11-26 08:51:09 +01:00
parent b1aaaea74b
commit bbb6a02980
15 changed files with 236 additions and 224 deletions

View File

@@ -74,7 +74,8 @@ public:
bool deltae;
bool shortc;
bool savrest;
// int mergeMethod; // 0 = None, 1 = short circuit, 2 = original
int complexMethod; // 0 = Simple, 1 = Moderate, 2 = all
};
/**
@@ -114,7 +115,7 @@ public:
bool deltae;
bool shortc;
bool savrest;
// bool mergeMethod;
bool complexMethod;
};
/**
@@ -273,6 +274,8 @@ private:
void shapeMethodChanged();
// void mergeMethodChanged();
void qualityMethodChanged();
void complexMethodChanged();
void updateParamVisibility();
void adjusterChanged(Adjuster* a, double newval);
void adjusterAutoToggled(Adjuster* a, bool newval);
@@ -342,7 +345,7 @@ private:
Gtk::TreeModelColumn<bool> deltae;
Gtk::TreeModelColumn<bool> shortc;
Gtk::TreeModelColumn<bool> savrest;
// Gtk::TreeModelColumn<int> mergeMethod; // 0 = None, 1 = short cir, 2 = original
Gtk::TreeModelColumn<int> complexMethod; // 0 = Simple, 1 = mod, 2 = all
};
class RenameDialog:
@@ -389,8 +392,8 @@ private:
sigc::connection shapeMethodconn_;
MyComboBoxText* const qualityMethod_;
sigc::connection qualityMethodconn_;
// MyComboBoxText* const mergeMethod_;
// sigc::connection mergeMethodconn_;
MyComboBoxText* const complexMethod_;
sigc::connection complexMethodconn_;
Adjuster* const sensiexclu_;
Adjuster* const structexclu_;