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

« back to all changes in this revision

Viewing changes to libgimp/gimpitemcombobox.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
/* LIBGIMP - The GIMP Library
 
2
 * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
 
3
 *
 
4
 * gimpitemcombobox.h
 
5
 * Copyright (C) 2004 Sven Neumann <sven@gimp.org>
 
6
 * Copyright (C) 2006 Simon Budig <simon@gimp.org>
 
7
 *
 
8
 * This library is free software; you can redistribute it and/or
 
9
 * modify it under the terms of the GNU Lesser General Public
 
10
 * License as published by the Free Software Foundation; either
 
11
 * version 2 of the License, or (at your option) any later version.
 
12
 *
 
13
 * This library is distributed in the hope that it will be useful,
 
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
16
 * Lesser General Public License for more details.
 
17
 *
 
18
 * You should have received a copy of the GNU Lesser General Public
 
19
 * License along with this library; if not, write to the
 
20
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
21
 * Boston, MA 02111-1307, USA.
 
22
 */
 
23
 
 
24
#ifndef __GIMP_ITEM_COMBO_BOX_H__
 
25
#define __GIMP_ITEM_COMBO_BOX_H__
 
26
 
 
27
 
 
28
G_BEGIN_DECLS
 
29
 
 
30
/* For information look into the C source or the html documentation */
 
31
 
 
32
 
 
33
#define GIMP_TYPE_DRAWABLE_COMBO_BOX    (gimp_drawable_combo_box_get_type ())
 
34
#define GIMP_DRAWABLE_COMBO_BOX(obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_DRAWABLE_COMBO_BOX, GimpDrawableComboBox))
 
35
#define GIMP_IS_DRAWABLE_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_DRAWABLE_COMBO_BOX)
 
36
 
 
37
#define GIMP_TYPE_CHANNEL_COMBO_BOX     (gimp_channel_combo_box_get_type ())
 
38
#define GIMP_CHANNEL_COMBO_BOX(obj)     (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_CHANNEL_COMBO_BOX, GimpChannelComboBox))
 
39
#define GIMP_IS_CHANNEL_COMBO_BOX(obj)  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_CHANNEL_COMBO_BOX)
 
40
 
 
41
#define GIMP_TYPE_LAYER_COMBO_BOX       (gimp_layer_combo_box_get_type ())
 
42
#define GIMP_LAYER_COMBO_BOX(obj)       (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_LAYER_COMBO_BOX, GimpLayerComboBox))
 
43
#define GIMP_IS_LAYER_COMBO_BOX(obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_LAYER_COMBO_BOX)
 
44
 
 
45
#define GIMP_TYPE_VECTORS_COMBO_BOX     (gimp_vectors_combo_box_get_type ())
 
46
#define GIMP_VECTORS_COMBO_BOX(obj)     (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_VECTORS_COMBO_BOX, GimpVectorsComboBox))
 
47
#define GIMP_IS_VECTORS_COMBO_BOX(obj)  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_VECTORS_COMBO_BOX)
 
48
 
 
49
 
 
50
typedef gboolean (* GimpItemConstraintFunc) (gint32   image_id,
 
51
                                             gint32   item_id,
 
52
                                             gpointer data);
 
53
 
 
54
typedef GimpItemConstraintFunc GimpVectorsConstraintFunc;
 
55
typedef GimpItemConstraintFunc GimpDrawableConstraintFunc;
 
56
 
 
57
 
 
58
GType       gimp_drawable_combo_box_get_type (void) G_GNUC_CONST;
 
59
GType       gimp_channel_combo_box_get_type  (void) G_GNUC_CONST;
 
60
GType       gimp_layer_combo_box_get_type    (void) G_GNUC_CONST;
 
61
GType       gimp_vectors_combo_box_get_type  (void) G_GNUC_CONST;
 
62
 
 
63
GtkWidget * gimp_drawable_combo_box_new (GimpDrawableConstraintFunc constraint,
 
64
                                         gpointer                   data);
 
65
GtkWidget * gimp_channel_combo_box_new  (GimpDrawableConstraintFunc constraint,
 
66
                                         gpointer                   data);
 
67
GtkWidget * gimp_layer_combo_box_new    (GimpDrawableConstraintFunc constraint,
 
68
                                         gpointer                   data);
 
69
GtkWidget * gimp_vectors_combo_box_new  (GimpVectorsConstraintFunc  constraint,
 
70
                                         gpointer                   data);
 
71
 
 
72
 
 
73
G_END_DECLS
 
74
 
 
75
#endif /* __GIMP_ITEM_COMBO_BOX_H__ */