Lumiera  0.pre.03
»edit your freedom«
assets-panel.cpp
Go to the documentation of this file.
1 /*
2  assets-panel.cpp - Implementation of the assets panel
3 
4  Copyright (C)
5  2008, Joel Holdsworth <joel@airwebreathe.org.uk>
6 
7   **Lumiera** is free software; you can redistribute it and/or modify it
8   under the terms of the GNU General Public License as published by the
9   Free Software Foundation; either version 2 of the License, or (at your
10   option) any later version. See the file COPYING for further details.
11 
12 * *****************************************************************/
13 
14 
19 #include "stage/gtk-base.hpp"
21 
22 namespace stage {
23 namespace panel {
24 
25  AssetsPanel::AssetsPanel(workspace::PanelManager& panelManager, Gdl::DockItem& dockItem)
26  : Panel(panelManager, dockItem, getTitle(), getStockID())
27  {
28  notebook_.append_page(media_, _("Media"));
29  notebook_.append_page(clips_, _("Clips"));
30  notebook_.append_page(effects_, _("Effects"));
31  notebook_.append_page(transitions_, _("Transitions"));
32 
33  pack_start(notebook_);
34  }
35 
36  const char*
37  AssetsPanel::getTitle()
38  {
39  return _("Assets");
40  }
41 
42  const gchar*
43  AssetsPanel::getStockID()
44  {
45  return "panel_assets";
46  }
47 
48 
49 }}// namespace stage::panel
AssetsPanel(workspace::PanelManager &, Gdl::DockItem &)
Build a new Asset-Panel.
A class to manage DockItem objects for WorkspaceWindow.
A (dockable) panel to organise the assets of a project.
The base class for all dockable panels.
Definition: panel.hpp:40
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:37
A set of basic GTK includes for the UI.