Lumiera  0.pre.03
»edityourfreedom«
assets-panel.cpp
Go to the documentation of this file.
1 /*
2  assets-panel.cpp - Implementation of the assets panel
3 
4  Copyright (C) Lumiera.org
5  2008, Joel Holdsworth <joel@airwebreathe.org.uk>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License, or (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 
21 * *****************************************************/
22 
23 
28 #include "gui/gtk-base.hpp"
30 
31 namespace gui {
32 namespace panel{
33 
34  AssetsPanel::AssetsPanel(workspace::PanelManager& panelManager, Gdl::DockItem& dockItem)
35  : Panel(panelManager, dockItem, getTitle(), getStockID())
36  {
37  notebook_.append_page(media_, _("Media"));
38  notebook_.append_page(clips_, _("Clips"));
39  notebook_.append_page(effects_, _("Effects"));
40  notebook_.append_page(transitions_, _("Transitions"));
41 
42  pack_start(notebook_);
43  }
44 
45  const char*
47  {
48  return _("Assets");
49  }
50 
51  const gchar*
53  {
54  return "panel_assets";
55  }
56 
57 
58 }}// namespace gui::panel
#define _(String)
Definition: gtk-base.hpp:76
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:47
static const char * getTitle()
A (dockable) panel to organise the assets of a project.
The base class for all dockable panels.
Definition: panel.hpp:49
Gtk::IconView transitions_
static const gchar * getStockID()
A class to manage DockItem objects for WorkspaceWindow.
AssetsPanel(workspace::PanelManager &, Gdl::DockItem &)
Build a new Asset-Panel.
A set of basic GTK includes for the UI.