Lumiera  0.pre.03
»edityourfreedom«
basic-draw-strategy.hpp
Go to the documentation of this file.
1 /*
2  basic-draw-strategy.hpp - Declaration of a basic draw strategy
3 
4  Copyright (C) Lumiera.org
5  2010, Stefan Kangas <skangas@skangas.se
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 
30 #ifndef GUI_WIDGET_TIMELINE_BASIC_DRAW_STRATEGY_H
31 #define GUI_WIDGET_TIMELINE_BASIC_DRAW_STRATEGY_H
32 
34 
35 
36 namespace gui {
37 namespace widget {
38 namespace timeline {
39 
41  : public DrawStrategy
42  {
43  public:
44 
46 
47  void
48  draw (Entity const& entity
49  ,Cairo::RefPtr<Cairo::Context> cr
50  ,TimelineViewWindow* const window) const;
51  };
52 
53 }}}// namespace gui::widget::timeline
54 #endif /*GUI_WIDGET_TIMELINE_BASIC_DRAW_STRATEGY_H*/
Lumiera GTK UI implementation root.
Definition: guifacade.cpp:47
void draw(Entity const &entity, Cairo::RefPtr< Cairo::Context > cr, TimelineViewWindow *const window) const
Base class for timeline entities.
Strategy interface for drawing timeline entities.
An interface for drawing strategies for timeline entities.
TimelineViewWindow is a helper class for TimelineWidget which manages the view window of the timeline...