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

« back to all changes in this revision

Viewing changes to plug-ins/script-fu/script-fu-types.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
37
37
 
38
38
typedef struct
39
39
{
40
 
  GtkWidget *file_entry;
41
 
  gchar     *filename;
 
40
  gchar  *filename;
42
41
} SFFilename;
43
42
 
44
43
typedef struct
55
54
  gint     history;
56
55
} SFOption;
57
56
 
 
57
typedef struct
 
58
{
 
59
  gchar   *type_name;
 
60
  gint     history;
 
61
} SFEnum;
 
62
 
58
63
typedef union
59
64
{
60
65
  gint32         sfa_image;
61
66
  gint32         sfa_drawable;
62
67
  gint32         sfa_layer;
63
68
  gint32         sfa_channel;
 
69
  gint32         sfa_vectors;
 
70
  gint32         sfa_display;
64
71
  GimpRGB        sfa_color;
65
72
  gint32         sfa_toggle;
66
73
  gchar         *sfa_value;
72
79
  gchar         *sfa_pattern;
73
80
  SFBrush        sfa_brush;
74
81
  SFOption       sfa_option;
 
82
  SFEnum         sfa_enum;
75
83
} SFArgValue;
76
84
 
77
85
typedef struct
78
86
{
79
 
  gchar         *script_name;
80
 
  gchar         *pdb_name;
 
87
  gchar         *name;
81
88
  gchar         *menu_path;
82
 
  gchar         *help;
 
89
  gchar         *blurb;
83
90
  gchar         *author;
84
91
  gchar         *copyright;
85
92
  gchar         *date;
89
96
  gchar        **arg_labels;
90
97
  SFArgValue    *arg_defaults;
91
98
  SFArgValue    *arg_values;
92
 
  gboolean       image_based;
93
99
  GimpParamDef  *args;     /*  used only temporary until installed  */
94
100
} SFScript;
95
101