WIP: Added a dummy toolbar
This commit is contained in:
parent
b2df771149
commit
a9a592fe45
2 changed files with 16 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,13 @@ namespace panels {
|
|||
TimelinePanel();
|
||||
|
||||
protected:
|
||||
|
||||
// Widgets
|
||||
Gtk::Toolbar toolbar;
|
||||
TimelineWidget timeline_widget;
|
||||
|
||||
// Toolbar Widgets
|
||||
Gtk::ToolButton button;
|
||||
};
|
||||
|
||||
} // namespace panels
|
||||
|
|
|
|||
Loading…
Reference in a new issue