1 /* === S Y N F I G ========================================================= */
2 /*! \file renderer_ducks.h
3 ** \brief Template Header
8 ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
10 ** This package is free software; you can redistribute it and/or
11 ** modify it under the terms of the GNU General Public License as
12 ** published by the Free Software Foundation; either version 2 of
13 ** the License, or (at your option) any later version.
15 ** This package is distributed in the hope that it will be useful,
16 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 ** General Public License for more details.
21 /* ========================================================================= */
23 /* === S T A R T =========================================================== */
25 #ifndef __SYNFIG_RENDERER_DUCKS_H
26 #define __SYNFIG_RENDERER_DUCKS_H
28 /* === H E A D E R S ======================================================= */
30 #include "workarearenderer.h"
33 /* === M A C R O S ========================================================= */
35 #define DUCK_COLOR_NOT_EDITABLE Gdk::Color("#cfcfcf")
37 #define DUCK_COLOR_ANGLE Gdk::Color("#0000ff")
38 #define DUCK_COLOR_RADIUS Gdk::Color("#00ffff")
39 #define DUCK_COLOR_TANGENT_1 Gdk::Color("#ffff00")
40 #define DUCK_COLOR_TANGENT_2 Gdk::Color("#ff0000")
41 #define DUCK_COLOR_VERTEX Gdk::Color("#ff7f00")
42 #define DUCK_COLOR_WIDTH Gdk::Color("#ff00ff")
44 #define DUCK_COLOR_OTHER Gdk::Color("#00ff00")
46 #define DUCK_COLOR_OUTLINE Gdk::Color("#000000") // the outline around each duck
48 #define DUCK_COLOR_BEZIER_1 Gdk::Color("#000000") // the 2 colors used to draw bezier curves
49 #define DUCK_COLOR_BEZIER_2 Gdk::Color("#afafaf")
51 #define DUCK_COLOR_BOX_1 Gdk::Color("#ffffff") // the 2 colors used to draw boxes
52 #define DUCK_COLOR_BOX_2 Gdk::Color("#000000")
54 #define DUCK_COLOR_SELECTED Gdk::Color("#ff0000") // the color of the box drawn when a valuenode is selected
56 /* === T Y P E D E F S ===================================================== */
58 /* === C L A S S E S & S T R U C T S ======================================= */
62 class Renderer_Ducks : public studio::WorkAreaRenderer
68 void render_vfunc(const Glib::RefPtr<Gdk::Drawable>& drawable,const Gdk::Rectangle& expose_area );
71 // bool get_enabled_vfunc()const;
74 }; // END of namespace studio
76 /* === E N D =============================================================== */