Added an initial resources notebook

This commit is contained in:
Joel Holdsworth 2009-01-24 18:31:26 +00:00
parent 9d9f7c40e9
commit 2f335a87d1
2 changed files with 16 additions and 6 deletions

View file

@ -27,11 +27,16 @@ namespace gui {
namespace panels {
ResourcesPanel::ResourcesPanel(workspace::WorkspaceWindow &workspace_window) :
Panel(workspace_window, "resources", _("Resources"), "panel_resources"),
placeholder("Resources")
{
pack_start(placeholder);
}
Panel(workspace_window, "resources", _("Resources"), "panel_resources")
{
notebook.append_page(media, _("Media"));
notebook.append_page(clips, _("Clips"));
notebook.append_page(effects, _("Effects"));
notebook.append_page(transitions, _("Transitions"));
pack_start(notebook);
}
} // namespace panels
} // namespace gui

View file

@ -42,7 +42,12 @@ public:
ResourcesPanel(workspace::WorkspaceWindow &workspace_window);
protected:
Gtk::Label placeholder;
Gtk::Notebook notebook;
Gtk::IconView media;
Gtk::IconView clips;
Gtk::IconView effects;
Gtk::IconView transitions;
};
} // namespace panels