Lumiera
0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
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
"
20
#include "
stage/panel/assets-panel.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
assets-panel.hpp
A (dockable) panel to organise the assets of a project.
stage::panel::AssetsPanel::effects_
Gtk::IconView effects_
Definition
assets-panel.hpp:56
stage::panel::AssetsPanel::notebook_
Gtk::Notebook notebook_
Definition
assets-panel.hpp:52
stage::panel::AssetsPanel::transitions_
Gtk::IconView transitions_
Definition
assets-panel.hpp:57
stage::panel::AssetsPanel::getTitle
static const char * getTitle()
Definition
assets-panel.cpp:37
stage::panel::AssetsPanel::AssetsPanel
AssetsPanel(workspace::PanelManager &, Gdl::DockItem &)
Build a new Asset-Panel.
Definition
assets-panel.cpp:25
stage::panel::AssetsPanel::clips_
Gtk::IconView clips_
Definition
assets-panel.hpp:55
stage::panel::AssetsPanel::getStockID
static const gchar * getStockID()
Definition
assets-panel.cpp:43
stage::panel::AssetsPanel::media_
Gtk::IconView media_
Definition
assets-panel.hpp:54
stage::panel::Panel
The base class for all dockable panels.
Definition
panel.hpp:42
stage::workspace::PanelManager
A class to manage DockItem objects for WorkspaceWindow.
Definition
panel-manager.hpp:45
gtk-base.hpp
A set of basic GTK includes for the UI.
_
#define _(String)
Definition
gtk-base.hpp:68
stage
Lumiera GTK UI implementation root.
Definition
guifacade.cpp:37
stage
panel
assets-panel.cpp
Generated on Thu Dec 11 2025 for Lumiera by
1.9.8