synfig-studio
1.0.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
gui
workarearenderer
renderer_dragbox.h
Go to the documentation of this file.
1
/* === S Y N F I G ========================================================= */
24
/* ========================================================================= */
25
26
/* === S T A R T =========================================================== */
27
28
#ifndef __SYNFIG_RENDERER_DRAGBOX_H
29
#define __SYNFIG_RENDERER_DRAGBOX_H
30
31
/* === H E A D E R S ======================================================= */
32
33
#include "
workarearenderer.h
"
34
#include "
duckmatic.h
"
35
#include <vector>
36
#include <synfig/vector.h>
37
#include <synfig/guidset.h>
38
39
40
/* === M A C R O S ========================================================= */
41
42
#define DRAGBOX_COLOR_OUTLINE Gdk::Color("#000000")
43
44
/* === T Y P E D E F S ===================================================== */
45
46
/* === C L A S S E S & S T R U C T S ======================================= */
47
48
namespace
studio {
49
50
class
Renderer_Dragbox
:
public
studio::WorkAreaRenderer
51
{
52
53
public
:
54
~Renderer_Dragbox
();
55
57
void
render_vfunc
(
const
Glib::RefPtr<Gdk::Window>& drawable,
const
Gdk::Rectangle& expose_area );
59
bool
event_vfunc
(GdkEvent* event);
60
61
const
synfig::Point&
get_drag_point
()
const
;
62
const
synfig::Point&
get_curr_point
()
const
;
63
64
private
:
66
DuckList
handles_selected_;
67
DuckList
handles_all_;
68
synfig::GUIDSet handles_selected_guid_;
69
71
bool
drag_paused;
72
73
protected
:
74
bool
get_enabled_vfunc
()
const
;
75
};
76
77
};
// END of namespace studio
78
79
/* === E N D =============================================================== */
80
81
#endif
Generated on Mon Nov 16 2015 15:36:48 for synfig-studio by
1.8.1.2