~ubuntu-branches/ubuntu/hoary/gimp/hoary

« back to all changes in this revision

Viewing changes to tools/pdbgen/stddefs.pdb

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-04-04 14:51:23 UTC
  • Revision ID: james.westby@ubuntu.com-20050404145123-9py049eeelfymur8
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# The GIMP -- an image manipulation program
 
2
# Copyright (C) 1998-2003 Manish Singh <yosh@gimp.org>
 
3
 
 
4
# This program is free software; you can redistribute it and/or modify
 
5
# it under the terms of the GNU General Public License as published by
 
6
# the Free Software Foundation; either version 2 of the License, or
 
7
# (at your option) any later version.
 
8
 
 
9
# This program is distributed in the hope that it will be useful,
 
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
# GNU General Public License for more details.
 
13
 
 
14
# You should have received a copy of the GNU General Public License
 
15
# along with this program; if not, write to the Free Software
 
16
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
17
 
 
18
# Boilerplate PDB stuff
 
19
 
 
20
sub std_pdb_misc {
 
21
    $author = $copyright = 'Spencer Kimball & Peter Mattis';
 
22
    $date   = '1995-1996';
 
23
}
 
24
 
 
25
sub std_pdb_deprecated {
 
26
    if (@_) {
 
27
        $blurb = $help = "This procedure is deprecated! Use '@_' instead.";
 
28
        $deprecated = "@_";
 
29
    } else {
 
30
        $blurb = $help = "This procedure is deprecated!";
 
31
        $deprecated = "NONE";
 
32
    }
 
33
    $author = $copyright = $date = '';
 
34
}
 
35
 
 
36
sub std_image_arg () {{
 
37
    name  => 'image',   
 
38
    type  => 'image',
 
39
    desc  => 'The image',
 
40
    alias => 'gimage'
 
41
}}
 
42
 
 
43
sub std_antialias_arg () {{
 
44
    name => 'antialias',
 
45
    type => 'boolean',
 
46
    desc => 'Antialiasing (%%desc%%)'
 
47
}}
 
48
 
 
49
sub std_orientation_enum () {
 
50
    'enum GimpOrientationType (no GIMP_ORIENTATION_UNKNOWN)'
 
51
}
 
52
 
 
53
1;