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,10 +27,15 @@ namespace gui {
namespace panels { namespace panels {
ResourcesPanel::ResourcesPanel(workspace::WorkspaceWindow &workspace_window) : ResourcesPanel::ResourcesPanel(workspace::WorkspaceWindow &workspace_window) :
Panel(workspace_window, "resources", _("Resources"), "panel_resources"), Panel(workspace_window, "resources", _("Resources"), "panel_resources")
placeholder("Resources")
{ {
pack_start(placeholder);
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 panels

View file

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