~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to src/dropper-context.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Ted Gould, Kees Cook
  • Date: 2009-06-24 14:00:43 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090624140043-07stp20mry48hqup
Tags: 0.47~pre0-0ubuntu1
* New upstream release

[ Ted Gould ]
* debian/control: Adding libgsl0 and removing version specifics on boost

[ Kees Cook ]
* debian/watch: updated to run uupdate and mangle pre-release versions.
* Dropped patches that have been taken upstream:
  - 01_mips
  - 02-poppler-0.8.3
  - 03-chinese-inkscape
  - 05_fix_latex_patch
  - 06_gcc-4.4
  - 07_cdr2svg
  - 08_skip-bad-utf-on-pdf-import
  - 09_gtk-clist
  - 10_belarussian
  - 11_libpng
  - 12_desktop
  - 13_slider
  - 100_svg_import_improvements
  - 102_sp_pattern_painter_free
  - 103_bitmap_type_print

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);
51
49
 
52
 
void sp_dropper_context_copy (SPEventContext *ec);
53
 
 
54
 
void sp_dropper_c32_color_copy (guint32 c32);
55
 
 
56
 
void sp_dropper_c32_color_copy_hex (guint32 c32);
 
50
guint32 sp_dropper_context_get_color(SPEventContext *ec);
57
51
 
58
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 :