WIP: Added a dummy toolbar

This commit is contained in:
Joel Holdsworth 2008-07-15 19:00:24 +01:00
parent b2df771149
commit a9a592fe45
2 changed files with 16 additions and 1 deletions

View file

@ -30,8 +30,17 @@ namespace gui {
namespace panels {
TimelinePanel::TimelinePanel() :
Panel("timeline", _("Timeline"), "timeline_panel")
Panel("timeline", _("Timeline"), "timeline_panel"),
button(Stock::OK)
{
// Setup the toolbar
toolbar.append(button);
toolbar.set_icon_size(IconSize(ICON_SIZE_MENU));
toolbar.set_toolbar_style(TOOLBAR_ICONS);
// Add the toolbar
pack_start(toolbar, PACK_SHRINK);
pack_start(timeline_widget, PACK_EXPAND_WIDGET);
}

View file

@ -41,7 +41,13 @@ namespace panels {
TimelinePanel();
protected:
// Widgets
Gtk::Toolbar toolbar;
TimelineWidget timeline_widget;
// Toolbar Widgets
Gtk::ToolButton button;
};
} // namespace panels