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)
5  2016, Hermann Vosseler <Ichthyostega@web.de>
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 
32 #ifndef STAGE_PANEL_TIMELINE_PANEL_H
33 #define STAGE_PANEL_TIMELINE_PANEL_H
34 
35 #include "stage/panel/panel.hpp"
37 
38 #include <gtkmm/notebook.h>
39 #include <memory>
40 #include <vector>
41 
42 
43 
44 namespace stage {
45 namespace panel{
46 
47 
53  : public Panel
54  {
55  using PageHandle = std::unique_ptr<timeline::TimelinePage>;
56  using Timelines = std::vector<PageHandle>;
57 
58  Gtk::Notebook tabs_;
59  Timelines pages_;
60 
61  public:
66  TimelinePanel (workspace::PanelManager&, Gdl::DockItem&);
67 
68 
69  static const char* getTitle();
70  static const gchar* getStockID();
71 
73  void addTimeline (PageHandle &&);
74 
75  private:
76  };
77 
78 
79 }}// namespace stage::panel
80 #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:40
Base class and interface for all dockable panels.
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:37
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.