Lumiera  0.pre.03
»edit your freedom«
timeline-panel.hpp
Go to the documentation of this file.
1 /*
2  TIMELINE-PANEL.hpp - Dockable panel to hold the main timeline view
3 
4  Copyright (C) Lumiera.org
5  2016, Hermann Vosseler <Ichthyostega@web.de>
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 
41 #ifndef STAGE_PANEL_TIMELINE_PANEL_H
42 #define STAGE_PANEL_TIMELINE_PANEL_H
43 
44 #include "stage/panel/panel.hpp"
46 
47 #include <gtkmm/notebook.h>
48 #include <memory>
49 #include <vector>
50 
51 
52 
53 namespace stage {
54 namespace panel{
55 
56 
62  : public Panel
63  {
64  using PageHandle = std::unique_ptr<timeline::TimelinePage>;
65  using Timelines = std::vector<PageHandle>;
66 
67  Gtk::Notebook tabs_;
68  Timelines pages_;
69 
70  public:
75  TimelinePanel (workspace::PanelManager&, Gdl::DockItem&);
76 
77 
78  static const char* getTitle();
79  static const gchar* getStockID();
80 
82  void addTimeline (PageHandle &&);
83 
84  private:
85  };
86 
87 
88 }}// namespace stage::panel
89 #endif /*STAGE_PANEL_TIMELINE_PANEL_H*/
Dockable panel to hold timeline widget(s).
A class to manage DockItem objects for WorkspaceWindow.
The base class for all dockable panels.
Definition: panel.hpp:49
Base class and interface for all dockable panels.
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:46
TimelinePanel(workspace::PanelManager &, Gdl::DockItem &)
void addTimeline(PageHandle &&)
take ownership of the widget and place it into a new tab
This file defines the core component of the Lumiera GUI.