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

« back to all changes in this revision

Viewing changes to app/display/gimpdisplayshell-selection.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
20
20
#define __GIMP_DISPLAY_SHELL_SELECTION_H__
21
21
 
22
22
 
23
 
struct _Selection
24
 
{
25
 
  GimpDisplayShell *shell;            /*  shell that owns the selection     */
26
 
  GdkSegment       *segs_in;          /*  gdk segments of area boundary     */
27
 
  GdkSegment       *segs_out;         /*  gdk segments of area boundary     */
28
 
  GdkSegment       *segs_layer;       /*  gdk segments of area boundary     */
29
 
  gint              num_segs_in;      /*  number of segments in segs1       */
30
 
  gint              num_segs_out;     /*  number of segments in segs2       */
31
 
  gint              num_segs_layer;   /*  number of segments in segs3       */
32
 
  guint             index;            /*  index of current stipple pattern  */
33
 
  gint              state;            /*  internal drawing state            */
34
 
  gint              paused;           /*  count of pause requests           */
35
 
  gboolean          recalc;           /*  flag to recalculate the selection */
36
 
  gboolean          hidden;           /*  is the selection hidden?          */
37
 
  gboolean          layer_hidden;     /*  is the layer boundary hidden?     */
38
 
  guint             timeout_id;       /*  timer for successive draws        */
39
 
  GdkPoint         *points_in[8];     /*  points of segs_in for fast ants   */
40
 
  gint              num_points_in[8]; /*  number of points in points_in     */
41
 
};
42
 
 
43
 
 
44
 
Selection * gimp_display_shell_selection_new     (GimpDisplayShell *shell);
45
 
void   gimp_display_shell_selection_free             (Selection    *select);
46
 
 
47
 
void   gimp_display_shell_selection_pause            (Selection    *select);
48
 
void   gimp_display_shell_selection_resume           (Selection    *select);
49
 
 
50
 
void   gimp_display_shell_selection_start            (Selection    *select,
51
 
                                                      gboolean      recalc);
52
 
void   gimp_display_shell_selection_invis            (Selection    *select);
53
 
void   gimp_display_shell_selection_layer_invis      (Selection    *select);
54
 
 
55
 
void   gimp_display_shell_selection_set_hidden       (Selection    *select,
56
 
                                                      gboolean      hidden);
57
 
void   gimp_display_shell_selection_layer_set_hidden (Selection    *select,
58
 
                                                      gboolean      hidden);
 
23
void   gimp_display_shell_selection_init     (GimpDisplayShell     *shell);
 
24
void   gimp_display_shell_selection_free     (GimpDisplayShell     *shell);
 
25
 
 
26
void   gimp_display_shell_selection_control  (GimpDisplayShell     *shell,
 
27
                                              GimpSelectionControl  control);
 
28
 
 
29
void   gimp_display_shell_selection_set_hidden       (GimpDisplayShell *shell,
 
30
                                                      gboolean          hidden);
 
31
void   gimp_display_shell_selection_layer_set_hidden (GimpDisplayShell *shell,
 
32
                                                      gboolean          hidden);
59
33
 
60
34
 
61
35
#endif  /*  __GIMP_DISPLAY_SHELL_SELECTION_H__  */