Patch from issue 975 on behalf of Phil: "Proposition of a patch right Pannel (new visual rendering <-> icons instead of text)"

It moreover better handle workflow changes: no need to restart RT for some options.
This commit is contained in:
natureh
2011-09-18 15:39:21 +02:00
parent d37af496b4
commit 08b967f62b
27 changed files with 345 additions and 59 deletions

View File

@@ -120,6 +120,26 @@ class ToolPanelCoordinator : public ToolPanelListener,
IPTCPanel* iptcpanel;
ToolBar* toolBar;
TextOrIcon* toiE;
TextOrIcon* toiD;
TextOrIcon* toiC;
TextOrIcon* toiT;
TextOrIcon* toiR;
TextOrIcon* toiM;
Gtk::Label* labelE;
Gtk::Label* labelD;
Gtk::Label* labelC;
Gtk::Label* labelT;
Gtk::Label* labelR;
Gtk::Label* labelM;
Gtk::Image* imgIconE;
Gtk::Image* imgIconD;
Gtk::Image* imgIconC;
Gtk::Image* imgIconT;
Gtk::Image* imgIconR;
Gtk::Image* imgIconM;
Gtk::Image* imgPanelEnd[5];
Gtk::VBox* vbPanelEnd[5];
@@ -136,6 +156,7 @@ class ToolPanelCoordinator : public ToolPanelListener,
void addPanel (Gtk::Box* where, FoldableToolPanel* panel, Glib::ustring label);
void foldThemAll (GdkEventButton* event);
void updateVScrollbars (bool hide);
void updateTabsHeader (bool useIcons);
public:
@@ -203,6 +224,7 @@ class ToolPanelCoordinator : public ToolPanelListener,
CropGUIListener* startCropEditing (Thumbnail* thm=NULL) { return crop; }
void updateTPVScrollbar (bool hide);
void updateTabsUsesIcons (bool useIcons);
bool handleShortcutKey (GdkEventKey* event);
};