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:09:04 +01:00
parent 1bb1f1d900
commit 8d13a6a693
63 changed files with 163 additions and 81 deletions

View File

@@ -121,7 +121,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:
@@ -133,6 +134,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); }