Showed some love to viewer panel

This commit is contained in:
Joel Holdsworth 2008-10-20 18:50:37 +01:00
parent 3a41758682
commit d880b341b4
2 changed files with 20 additions and 20 deletions

View file

@ -31,18 +31,10 @@ namespace panels {
ViewerPanel::ViewerPanel() :
Panel("viewer", _("Viewer"), "panel_viewer")
{
//----- Set up the Tool Bar -----//
// Add the commands
// Configure the toolbar
toolBar.set_toolbar_style(TOOLBAR_ICONS);
//----- Pack in the Widgets -----//
pack_start(display, PACK_EXPAND_WIDGET);
pack_start(toolBar, PACK_SHRINK);
}
{
//----- Pack in the Widgets -----//
pack_start(display, PACK_EXPAND_WIDGET);
}
} // namespace panels
} // namespace gui

View file

@ -34,16 +34,24 @@
namespace gui {
namespace panels {
class ViewerPanel : public Panel
{
public:
ViewerPanel();
/**
* A panel to display the video output.
**/
class ViewerPanel : public Panel
{
public:
/**
* Contructor.
**/
ViewerPanel();
protected:
protected:
gui::widgets::VideoDisplayWidget display;
Gtk::Toolbar toolBar;
};
/**
* The video display widget, which will display the video.
**/
gui::widgets::VideoDisplayWidget display;
};
} // namespace panels
} // namespace gui