Use symbolic names for most of the duck colors, rather than hardcoded hex color values.
[synfig.git] / synfig-studio / trunk / src / gtkmm / renderer_ducks.h
1 /* === S Y N F I G ========================================================= */
2 /*!     \file renderer_ducks.h
3 **      \brief Template Header
4 **
5 **      $Id$
6 **
7 **      \legal
8 **      Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
9 **
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.
14 **
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.
19 **      \endlegal
20 */
21 /* ========================================================================= */
22
23 /* === S T A R T =========================================================== */
24
25 #ifndef __SYNFIG_RENDERER_DUCKS_H
26 #define __SYNFIG_RENDERER_DUCKS_H
27
28 /* === H E A D E R S ======================================================= */
29
30 #include "workarearenderer.h"
31 #include <vector>
32
33 /* === M A C R O S ========================================================= */
34
35 #define DUCK_COLOR_NOT_EDITABLE Gdk::Color("#cfcfcf")
36
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")
43
44 #define DUCK_COLOR_OTHER                Gdk::Color("#00ff00")
45
46 #define DUCK_COLOR_OUTLINE              Gdk::Color("#000000") // the outline around each duck
47
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")
50
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")
53
54 #define DUCK_COLOR_SELECTED             Gdk::Color("#ff0000") // the color of the box drawn when a valuenode is selected
55
56 /* === T Y P E D E F S ===================================================== */
57
58 /* === C L A S S E S & S T R U C T S ======================================= */
59
60 namespace studio {
61
62 class Renderer_Ducks : public studio::WorkAreaRenderer
63 {
64
65 public:
66         ~Renderer_Ducks();
67
68         void render_vfunc(const Glib::RefPtr<Gdk::Drawable>& drawable,const Gdk::Rectangle& expose_area );
69
70 protected:
71 //      bool get_enabled_vfunc()const;
72 };
73
74 }; // END of namespace studio
75
76 /* === E N D =============================================================== */
77
78 #endif