50 lines
1.5 KiB
C++
50 lines
1.5 KiB
C++
/*
|
|
basic-draw-strategy.hpp - Declaration of a basic draw strategy
|
|
|
|
Copyright (C) Lumiera.org
|
|
2010, Stefan Kangas <skangas@skangas.se
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License as
|
|
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.
|
|
|
|
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.
|
|
|
|
* *****************************************************/
|
|
|
|
/** @file basic-draw-strategy.hpp
|
|
** Declares the Timeline Entity draw strategy class.
|
|
*/
|
|
|
|
#ifndef WIDGETS_TIMELINE_BASIC_DRAW_STRATEGY_H
|
|
#define WIDGETS_TIMELINE_BASIC_DRAW_STRATEGY_H
|
|
|
|
#include "gui/widgets/timeline/draw-strategy.hpp"
|
|
|
|
namespace gui {
|
|
namespace widgets {
|
|
namespace timeline {
|
|
|
|
class BasicDrawStrategy
|
|
: public DrawStrategy
|
|
{
|
|
public:
|
|
|
|
BasicDrawStrategy() { };
|
|
|
|
void
|
|
draw (const Entity &entity,
|
|
Cairo::RefPtr<Cairo::Context> cr,
|
|
TimelineViewWindow* const window) const;
|
|
};
|
|
|
|
}}} // namespace gui::widgets::timeline
|
|
#endif // TIMELINE_BASIC_DRAW_STRATEGY_HPP
|