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

« back to all changes in this revision

Viewing changes to app/tools/gimpmeasuretool.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
42
42
#define GIMP_IS_MEASURE_TOOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_MEASURE_TOOL))
43
43
#define GIMP_MEASURE_TOOL_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_MEASURE_TOOL, GimpMeasureToolClass))
44
44
 
 
45
#define GIMP_MEASURE_TOOL_GET_OPTIONS(t)  (GIMP_MEASURE_OPTIONS (gimp_tool_get_options (GIMP_TOOL (t))))
 
46
 
45
47
 
46
48
typedef struct _GimpMeasureTool      GimpMeasureTool;
47
49
typedef struct _GimpMeasureToolClass GimpMeasureToolClass;
51
53
  GimpDrawTool     parent_instance;
52
54
 
53
55
  MeasureFunction  function;    /*  function we're performing  */
 
56
  gdouble          mouse_x;     /*  pointer x coordinate       */
 
57
  gdouble          mouse_y;     /*  pointer y coordinate       */
54
58
  gint             last_x;      /*  last x coordinate          */
55
59
  gint             last_y;      /*  last y coordinate          */
56
60
  gint             point;       /*  what are we manipulating?  */
59
63
  gint             y[3];        /*  three y coordinates        */
60
64
  gdouble          angle1;      /*  first angle                */
61
65
  gdouble          angle2;      /*  second angle               */
 
66
  gboolean         status_help; /*  help is currently in s.bar */
62
67
 
63
68
  GtkWidget       *dialog;
64
69
  GtkWidget       *distance_label[2];
65
70
  GtkWidget       *angle_label[2];
66
 
  GtkWidget       *unit_label[2];
 
71
  GtkWidget       *width_label[2];
 
72
  GtkWidget       *height_label[2];
 
73
  GtkWidget       *unit_label[4];
67
74
};
68
75
 
69
76
struct _GimpMeasureToolClass