synfig-studio
1.0.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
gui
workarearenderer
renderer_ducks.h
Go to the documentation of this file.
1
/* === S Y N F I G ========================================================= */
22
/* ========================================================================= */
23
24
/* === S T A R T =========================================================== */
25
26
#ifndef __SYNFIG_RENDERER_DUCKS_H
27
#define __SYNFIG_RENDERER_DUCKS_H
28
29
/* === H E A D E R S ======================================================= */
30
31
#include "
workarearenderer.h
"
32
#include <vector>
33
34
/* === M A C R O S ========================================================= */
35
36
#define DUCK_COLOR_NOT_EDITABLE Gdk::Color("#cfcfcf")
37
38
#define DUCK_COLOR_ANGLE Gdk::Color("#0000ff") // blue
39
#define DUCK_COLOR_RADIUS Gdk::Color("#00ffff") // cyan
40
#define DUCK_COLOR_LINEAR Gdk::Color("#00ffff") // cyan // for linear radius ducks
41
#define DUCK_COLOR_TANGENT_1 Gdk::Color("#ffff00") // yellow
42
#define DUCK_COLOR_TANGENT_2 Gdk::Color("#ff0000") // red
43
#define DUCK_COLOR_VERTEX Gdk::Color("#ff7f00") // orange
44
#define DUCK_COLOR_WIDTH Gdk::Color("#ff00ff") // magenta
45
#define DUCK_COLOR_WIDTHPOINT_POSITION Gdk::Color("#d3afff") // purple
46
#define DUCK_COLOR_OTHER Gdk::Color("#00ff00") // green
47
48
#define DUCK_COLOR_OUTLINE Gdk::Color("#000000") // the outline around each duck
49
50
#define DUCK_COLOR_BEZIER_1 Gdk::Color("#000000") // black // the 2 colors used to draw bezier curves
51
#define DUCK_COLOR_BEZIER_2 Gdk::Color("#afafaf") // grey
52
53
#define DUCK_COLOR_BOX_1 Gdk::Color("#ffffff") // white // the 2 colors used to draw boxes
54
#define DUCK_COLOR_BOX_2 Gdk::Color("#000000") // black
55
56
#define DUCK_COLOR_SELECTED Gdk::Color("#ff0000") // red // the color of the box drawn when a valuenode is selected
57
58
#define DUCK_COLOR_CONNECT_INSIDE Gdk::Color("#9fefef") // the color of the inside of the line connecting a vertex duck to the tangent ducks
59
#define DUCK_COLOR_CONNECT_OUTSIDE Gdk::Color("#000000") // the color of the outside of the line connecting a vertex duck to the tangent ducks
60
61
#define DUCK_COLOR_WIDTH_TEXT_1 Gdk::Color("#000000") // the color of the text's shadow when hovering over a width duck
62
#define DUCK_COLOR_WIDTH_TEXT_2 Gdk::Color("#ff00ff") // the color of the text when hovering over a width duck
63
64
/* === T Y P E D E F S ===================================================== */
65
66
/* === C L A S S E S & S T R U C T S ======================================= */
67
68
namespace
studio {
69
70
class
Renderer_Ducks
:
public
studio::WorkAreaRenderer
71
{
72
73
public
:
74
~Renderer_Ducks
();
75
76
void
render_vfunc
(
const
Glib::RefPtr<Gdk::Window>& drawable,
const
Gdk::Rectangle& expose_area );
77
78
protected
:
79
// bool get_enabled_vfunc()const;
80
};
81
82
};
// END of namespace studio
83
84
/* === E N D =============================================================== */
85
86
#endif
Generated on Mon Nov 16 2015 15:36:49 for synfig-studio by
1.8.1.2