lumiera_/src/gui/panel/timeline-panel.cpp

75 lines
1.8 KiB
C++
Raw Normal View History

/*
TimelinePanel - Dockable panel to hold the main timeline view
2010-12-17 23:28:49 +01:00
Copyright (C) Lumiera.org
2016, Hermann Vosseler <Ichthyostega@web.de>
2010-12-17 23:28:49 +01:00
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
2010-12-17 23:28:49 +01:00
published by the Free Software Foundation; either version 2 of
the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
2010-12-17 23:28:49 +01:00
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
2010-12-17 23:28:49 +01:00
* *****************************************************/
/** @file timeline-panel.cpp
** Implementation of dockable timeline container.
**
** @todo as of 10/2016 this is WIP-WIP-WIP : canvas widgets experiment
** @todo build a new timeline widget, connected to the UI-Bus
** @see timeline-widget.hpp
**
*/
#include "gui/gtk-lumiera.hpp"
#include "gui/panel/timeline-panel.hpp"
//#include "gui/workspace/workspace-window.hpp"
#include "gui/ui-bus.hpp"
//#include "lib/util.hpp"
2008-08-16 23:06:46 +02:00
2008-05-22 20:19:04 +02:00
//using std::shared_ptr;
//using std::weak_ptr;
//using util::contains;
namespace gui {
namespace panel {
2008-09-12 21:55:54 +02:00
TimelinePanel::TimelinePanel (workspace::PanelManager& panelManager,
Gdl::DockItem& dockItem)
: Panel(panelManager, dockItem, getTitle(), getStockID())
2008-10-07 22:17:29 +02:00
{
}
const char*
TimelinePanel::getTitle()
{
return _("Timeline");
}
const gchar*
TimelinePanel::getStockID()
{
return "panel_timeline";
}
}} // namespace gui::panel