~ubuntu-branches/ubuntu/maverick/gimp/maverick-updates

« back to all changes in this revision

Viewing changes to libgimp/gimppatternselect.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-12-09 19:44:52 UTC
  • Revision ID: james.westby@ubuntu.com-20051209194452-yggpemjlofpjqyf4
Tags: upstream-2.2.9
ImportĀ upstreamĀ versionĀ 2.2.9

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
 * gimppatternselect.h
 
5
 *
 
6
 * This library is free software; you can redistribute it and/or
 
7
 * modify it under the terms of the GNU Lesser General Public
 
8
 * License as published by the Free Software Foundation; either
 
9
 * version 2 of the License, or (at your option) any later version.
 
10
 *
 
11
 * This library is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
14
 * Lesser General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU Lesser General Public
 
17
 * License along with this library; if not, write to the
 
18
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
19
 * Boston, MA 02111-1307, USA.
 
20
 */
 
21
 
 
22
#ifndef __GIMP_PATTERN_SELECT_H__
 
23
#define __GIMP_PATTERN_SELECT_H__
 
24
 
 
25
G_BEGIN_DECLS
 
26
 
 
27
 
 
28
typedef void (* GimpRunPatternCallback)   (const gchar  *pattern_name,
 
29
                                           gint          width,
 
30
                                           gint          height,
 
31
                                           gint          bpp,
 
32
                                           const guchar *mask_data,
 
33
                                           gboolean      dialog_closing,
 
34
                                           gpointer      user_data);
 
35
 
 
36
 
 
37
const gchar * gimp_pattern_select_new     (const gchar            *title,
 
38
                                           const gchar            *pattern_name,
 
39
                                           GimpRunPatternCallback  callback,
 
40
                                           gpointer                data);
 
41
void          gimp_pattern_select_destroy (const gchar            *pattern_callback);
 
42
 
 
43
 
 
44
G_END_DECLS
 
45
 
 
46
#endif /* __GIMP_PATTERN_SELECT_H__ */