Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
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
34#ifndef STAGE_PANEL_TIMELINE_PANEL_H
35#define STAGE_PANEL_TIMELINE_PANEL_H
36
37#include "stage/panel/panel.hpp"
39
40#include <gtkmm/notebook.h>
41#include <memory>
42#include <vector>
43
44
45
46namespace stage {
47namespace panel{
48
49
55 : public Panel
56 {
57 using PageHandle = std::unique_ptr<timeline::TimelinePage>;
58 using Timelines = std::vector<PageHandle>;
59
60 Gtk::Notebook tabs_;
62
63 public:
68 TimelinePanel (workspace::PanelManager&, Gdl::DockItem&);
69
70
71 static const char* getTitle();
72 static const gchar* getStockID();
73
75 void addTimeline (PageHandle &&);
76
77 private:
78 };
79
80
81}}// namespace stage::panel
82#endif /*STAGE_PANEL_TIMELINE_PANEL_H*/
The base class for all dockable panels.
Definition panel.hpp:42
Dockable panel to hold timeline widget(s).
void addTimeline(PageHandle &&)
take ownership of the widget and place it into a new tab
std::unique_ptr< timeline::TimelinePage > PageHandle
static const char * getTitle()
static const gchar * getStockID()
std::vector< PageHandle > Timelines
A class to manage DockItem objects for WorkspaceWindow.
Lumiera GTK UI implementation root.
Definition guifacade.cpp:37
Base class and interface for all dockable panels.
This file defines the core component of the Lumiera GUI.