X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Frenderer_ducks.h;h=cd5c8f18e9c2118ef7ec03d3914afec4d7bb0893;hb=e6e385d724df6e43dcf9846c947576d61feb29d1;hp=49c9800936f801e669d41295825f13bbd0e624d0;hpb=ce408de81ca266b1f334ee9bc6c8fb7ba1492ed4;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/renderer_ducks.h b/synfig-studio/trunk/src/gtkmm/renderer_ducks.h index 49c9800..cd5c8f1 100644 --- a/synfig-studio/trunk/src/gtkmm/renderer_ducks.h +++ b/synfig-studio/trunk/src/gtkmm/renderer_ducks.h @@ -1,8 +1,8 @@ /* === S Y N F I G ========================================================= */ -/*! \file template.h +/*! \file renderer_ducks.h ** \brief Template Header ** -** $Id: renderer_ducks.h,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -32,6 +32,27 @@ /* === M A C R O S ========================================================= */ +#define DUCK_COLOR_NOT_EDITABLE Gdk::Color("#cfcfcf") + +#define DUCK_COLOR_ANGLE Gdk::Color("#0000ff") +#define DUCK_COLOR_RADIUS Gdk::Color("#00ffff") +#define DUCK_COLOR_TANGENT_1 Gdk::Color("#ffff00") +#define DUCK_COLOR_TANGENT_2 Gdk::Color("#ff0000") +#define DUCK_COLOR_VERTEX Gdk::Color("#ff7f00") +#define DUCK_COLOR_WIDTH Gdk::Color("#ff00ff") + +#define DUCK_COLOR_OTHER Gdk::Color("#00ff00") + +#define DUCK_COLOR_OUTLINE Gdk::Color("#000000") // the outline around each duck + +#define DUCK_COLOR_BEZIER_1 Gdk::Color("#000000") // the 2 colors used to draw bezier curves +#define DUCK_COLOR_BEZIER_2 Gdk::Color("#afafaf") + +#define DUCK_COLOR_BOX_1 Gdk::Color("#ffffff") // the 2 colors used to draw boxes +#define DUCK_COLOR_BOX_2 Gdk::Color("#000000") + +#define DUCK_COLOR_SELECTED Gdk::Color("#ff0000") // the color of the box drawn when a valuenode is selected + /* === T Y P E D E F S ===================================================== */ /* === C L A S S E S & S T R U C T S ======================================= */ @@ -40,10 +61,10 @@ namespace studio { class Renderer_Ducks : public studio::WorkAreaRenderer { - + public: ~Renderer_Ducks(); - + void render_vfunc(const Glib::RefPtr& drawable,const Gdk::Rectangle& expose_area ); protected: