When the right mouse button is clisked over a section title, it unfold that section and fold all the other one of the same level (RMB on Vignetting won't fold Resize)

This commit is contained in:
Hombre
2011-02-06 14:21:46 +01:00
parent 3711a6df5e
commit 4c6f9176c7
63 changed files with 738 additions and 656 deletions

View File

@@ -129,7 +129,8 @@ class ToolPanelCoordinator : public ToolPanelListener,
bool hasChanged;
void addPanel (Gtk::Box* where, Gtk::Container* panel, Glib::ustring label);
void addPanel (Gtk::Box* where, FoldableToolPanel* panel, Glib::ustring label);
void foldThemAll (GdkEventButton* event);
public:
@@ -141,6 +142,7 @@ class ToolPanelCoordinator : public ToolPanelListener,
bool getChangedState () { return hasChanged; }
void updateCurveBackgroundHistogram (unsigned* histrgb, unsigned* histl);
void foldAllButOne (Gtk::Box* parent, FoldableToolPanel* openedSection);
// multiple listeners can be added that are notified on changes (typical: profile panel and the history)
void addPParamsChangeListener (PParamsChangeListener* pp) { paramcListeners.push_back (pp); }