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

« back to all changes in this revision

Viewing changes to app/tools/gimpselectiontool.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_SELECTION_TOOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_SELECTION_TOOL))
31
31
#define GIMP_SELECTION_TOOL_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_SELECTION_TOOL, GimpSelectionToolClass))
32
32
 
 
33
#define GIMP_SELECTION_TOOL_GET_OPTIONS(t)  (GIMP_SELECTION_OPTIONS (gimp_tool_get_options (GIMP_TOOL (t))))
 
34
 
33
35
 
34
36
typedef struct _GimpSelectionTool      GimpSelectionTool;
35
37
typedef struct _GimpSelectionToolClass GimpSelectionToolClass;
36
38
 
37
39
struct _GimpSelectionTool
38
40
{
39
 
  GimpDrawTool  parent_instance;
40
 
 
41
 
  SelectOps     op;       /*  selection operation (SELECTION_ADD etc.)  */
42
 
  SelectOps     saved_op; /*  saved tool options state                  */
 
41
  GimpDrawTool   parent_instance;
 
42
 
 
43
  SelectFunction function;         /*  selection function        */
 
44
  GimpChannelOps saved_operation;  /*  saved tool options state  */
 
45
 
 
46
  gboolean       allow_move;
43
47
};
44
48
 
45
49
struct _GimpSelectionToolClass