Merge of Locallab tools with actual GUI
Improvements: - Simplification of default values setting/management Limitations: - Possibility to add/remove Locallab tool isn't working - Even if not fully deactivated, batch mode isn't working anymore for Locallab - Mask preview isn't working anymore
This commit is contained in:
@@ -95,6 +95,17 @@ public:
|
||||
return exp;
|
||||
}
|
||||
|
||||
// Getter/setter for Locallab tool expanded status
|
||||
void setExpanded(bool expanded)
|
||||
{
|
||||
exp->set_expanded(expanded);
|
||||
}
|
||||
|
||||
bool getExpanded()
|
||||
{
|
||||
return exp->get_expanded();
|
||||
}
|
||||
|
||||
// Setter for Locallab activation indicator
|
||||
void isLocallabActivated(bool cond)
|
||||
{
|
||||
@@ -149,6 +160,9 @@ private:
|
||||
// Remove button event function
|
||||
bool on_remove_change(GdkEventButton* event);
|
||||
|
||||
// Tool expander event function
|
||||
void foldThemAll(GdkEventButton* event);
|
||||
|
||||
// To be implemented
|
||||
virtual void enabledChanged() {};
|
||||
};
|
||||
@@ -376,6 +390,8 @@ public:
|
||||
void setDefaults(const rtengine::procparams::ProcParams* defParams, const ParamsEdited* pedited = nullptr);
|
||||
void adjusterChanged(Adjuster* a, double newval);
|
||||
|
||||
void resetMaskView();
|
||||
|
||||
private:
|
||||
void enabledChanged();
|
||||
|
||||
|
Reference in New Issue
Block a user