~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/dropper-context.h

  • Committer: cilix42
  • Date: 2008-09-18 17:48:42 UTC
  • Revision ID: cilix42@users.sourceforge.net-20080918174842-1ad33a7d7gqhv2hq
Next roud of NR ==> Geom conversion

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 * Released under GNU GPL, read the file 'COPYING' for more information
13
13
 */
14
14
 
15
 
#include <libnr/nr-point.h>
16
 
 
17
15
#include "display/display-forward.h"
18
16
#include "event-context.h"
19
17
 
30
28
};
31
29
 
32
30
struct SPDropperContext {
33
 
        SPEventContext event_context;
34
 
 
35
 
        unsigned int dragging : 1;
36
 
 
37
 
        SPCanvasItem *area;
38
 
        NR::Point centre;
39
 
 
40
 
        double R;
41
 
        double G;
42
 
        double B;
43
 
        double alpha;
 
31
    SPEventContext event_context;
 
32
 
 
33
    unsigned int dragging : 1;
 
34
 
 
35
    SPCanvasItem *area;
 
36
    Geom::Point centre;
 
37
 
 
38
    double R;
 
39
    double G;
 
40
    double B;
 
41
    double alpha;
44
42
};
45
43
 
46
44
struct SPDropperContextClass {
47
 
        SPEventContextClass parent_class;
 
45
    SPEventContextClass parent_class;
48
46
};
49
47
 
50
48
GType sp_dropper_context_get_type (void);
52
50
guint32 sp_dropper_context_get_color(SPEventContext *ec);
53
51
 
54
52
#endif
 
53
 
 
54
/*
 
55
  Local Variables:
 
56
  mode:c++
 
57
  c-file-style:"stroustrup"
 
58
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
59
  indent-tabs-mode:nil
 
60
  fill-column:99
 
61
  End:
 
62
*/
 
63
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :