GUI touchups: panel ending images

This commit is contained in:
michael
2011-06-02 21:17:27 -04:00
parent db094134e1
commit e906427a76
3 changed files with 27 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -125,11 +125,35 @@ ToolPanelCoordinator::ToolPanelCoordinator () : ipc(NULL) {
transformPanelSW->set_policy (Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); transformPanelSW->set_policy (Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
rawPanelSW->set_policy (Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); rawPanelSW->set_policy (Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
// load panel endings
for (int i=0; i<5; i++) {
vbPanelEnd[i] = Gtk::manage (new Gtk::VBox ());
imgPanelEnd[i] = Gtk::manage (new Gtk::Image (argv0+"/images/PanelEnding_01.png"));
imgPanelEnd[i]->show ();
vbPanelEnd[i]->pack_start (*imgPanelEnd[i],Gtk::PACK_SHRINK);
vbPanelEnd[i]->show_all();
}
exposurePanelSW->add (*exposurePanel); exposurePanelSW->add (*exposurePanel);
exposurePanel->pack_start (*Gtk::manage(new Gtk::HSeparator), Gtk::PACK_SHRINK,4);
exposurePanel->pack_start (*vbPanelEnd[0],Gtk::PACK_SHRINK,4);
detailsPanelSW->add (*detailsPanel); detailsPanelSW->add (*detailsPanel);
detailsPanel->pack_start (*Gtk::manage(new Gtk::HSeparator), Gtk::PACK_SHRINK,4);
detailsPanel->pack_start (*vbPanelEnd[1],Gtk::PACK_SHRINK,4);
colorPanelSW->add (*colorPanel); colorPanelSW->add (*colorPanel);
colorPanel->pack_start (*Gtk::manage(new Gtk::HSeparator), Gtk::PACK_SHRINK,4);
colorPanel->pack_start (*vbPanelEnd[2],Gtk::PACK_SHRINK,4);
transformPanelSW->add (*transformPanel); transformPanelSW->add (*transformPanel);
transformPanel->pack_start (*Gtk::manage(new Gtk::HSeparator), Gtk::PACK_SHRINK,4);
transformPanel->pack_start (*vbPanelEnd[3],Gtk::PACK_SHRINK,4);
rawPanelSW->add (*rawPanel); rawPanelSW->add (*rawPanel);
rawPanel->pack_start (*Gtk::manage(new Gtk::HSeparator), Gtk::PACK_SHRINK,4);
rawPanel->pack_start (*vbPanelEnd[4],Gtk::PACK_SHRINK,4);
Gtk::HBox* hbe = Gtk::manage (new Gtk::HBox ()); Gtk::HBox* hbe = Gtk::manage (new Gtk::HBox ());
hbe->pack_start (*Gtk::manage (new Gtk::Label (M("MAIN_TAB_EXPOSURE")))); hbe->pack_start (*Gtk::manage (new Gtk::Label (M("MAIN_TAB_EXPOSURE"))));

View File

@@ -127,6 +127,9 @@ class ToolPanelCoordinator : public ToolPanelListener,
IPTCPanel* iptcpanel; IPTCPanel* iptcpanel;
ToolBar* toolBar; ToolBar* toolBar;
Gtk::Image* imgPanelEnd[5];
Gtk::VBox* vbPanelEnd[5];
Gtk::ScrolledWindow* exposurePanelSW; Gtk::ScrolledWindow* exposurePanelSW;
Gtk::ScrolledWindow* detailsPanelSW; Gtk::ScrolledWindow* detailsPanelSW;
Gtk::ScrolledWindow* colorPanelSW; Gtk::ScrolledWindow* colorPanelSW;