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

« back to all changes in this revision

Viewing changes to plug-ins/maze/maze.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
/*
 
2
 * This program is free software; you can redistribute it and/or modify
 
3
 * it under the terms of the GNU General Public License as published by
 
4
 * the Free Software Foundation; either version 2 of the License, or
 
5
 * (at your option) any later version.
 
6
 *
 
7
 * This program is distributed in the hope that it will be useful,
 
8
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
9
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
10
 * GNU General Public License for more details.
 
11
 *
 
12
 * You should have received a copy of the GNU General Public License
 
13
 * along with this program; if not, write to the Free Software
 
14
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
15
 *
 
16
 */
 
17
 
 
18
#ifndef __MAZE_H__
 
19
#define __MAZE_H__
 
20
 
1
21
 
2
22
#define MAZE_TITLE N_("Maze")
3
23
 
18
38
 
19
39
#include "glib.h"
20
40
 
 
41
#define PLUG_IN_PROC   "plug-in-maze"
 
42
#define PLUG_IN_BINARY "maze"
 
43
 
21
44
typedef enum {
22
45
     DEPTH_FIRST,
23
46
     PRIMS_ALGORITHM
41
64
     FRONTIER,
42
65
     MASKED
43
66
};
 
67
 
 
68
 
 
69
void  get_colors (GimpDrawable *drawable,
 
70
                  guint8       *fg,
 
71
                  guint8       *bg);
 
72
void  drawbox    (GimpPixelRgn *dest_rgn,
 
73
                  guint         x,
 
74
                  guint         y,
 
75
                  guint         w,
 
76
                  guint         h,
 
77
                  guint8        clr[4]);
 
78
 
 
79
 
 
80
#endif  /* __MAZE_H__ */