~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to app/tools/gimpcolortool.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* The GIMP -- an image manipulation program
 
1
/* GIMP - The GNU Image Manipulation Program
2
2
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
30
30
#define GIMP_IS_COLOR_TOOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_COLOR_TOOL))
31
31
#define GIMP_COLOR_TOOL_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_COLOR_TOOL, GimpColorToolClass))
32
32
 
 
33
#define GIMP_COLOR_TOOL_GET_OPTIONS(t)  (GIMP_COLOR_OPTIONS (gimp_tool_get_options (GIMP_TOOL (t))))
 
34
 
33
35
 
34
36
typedef struct _GimpColorToolClass GimpColorToolClass;
35
37
 
36
38
struct _GimpColorTool
37
39
{
38
 
  GimpDrawTool      parent_instance;
39
 
 
40
 
  gboolean          enabled;
41
 
  gint              center_x;
42
 
  gint              center_y;
43
 
  GimpColorPickMode pick_mode;
44
 
 
45
 
  GimpColorOptions *options;
 
40
  GimpDrawTool       parent_instance;
 
41
 
 
42
  gboolean           enabled;
 
43
  gint               center_x;
 
44
  gint               center_y;
 
45
  GimpColorPickMode  pick_mode;
 
46
 
 
47
  GimpColorOptions  *options;
 
48
 
 
49
  GimpSamplePoint   *sample_point;
 
50
  gboolean           moving_sample_point;
 
51
  gint               sample_point_x;
 
52
  gint               sample_point_y;
46
53
};
47
54
 
48
55
struct _GimpColorToolClass
66
73
};
67
74
 
68
75
 
69
 
GType      gimp_color_tool_get_type   (void) G_GNUC_CONST;
70
 
 
71
 
void       gimp_color_tool_enable     (GimpColorTool    *color_tool,
72
 
                                       GimpColorOptions *options);
73
 
void       gimp_color_tool_disable    (GimpColorTool    *color_tool);
74
 
gboolean   gimp_color_tool_is_enabled (GimpColorTool    *color_tool);
 
76
GType      gimp_color_tool_get_type           (void) G_GNUC_CONST;
 
77
 
 
78
void       gimp_color_tool_enable             (GimpColorTool    *color_tool,
 
79
                                               GimpColorOptions *options);
 
80
void       gimp_color_tool_disable            (GimpColorTool    *color_tool);
 
81
gboolean   gimp_color_tool_is_enabled         (GimpColorTool    *color_tool);
 
82
 
 
83
void       gimp_color_tool_start_sample_point (GimpTool         *tool,
 
84
                                               GimpDisplay      *display);
75
85
 
76
86
 
77
87
#endif  /*  __GIMP_COLOR_TOOL_H__  */