Showed some love to viewer panel
This commit is contained in:
parent
3a41758682
commit
d880b341b4
2 changed files with 20 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue