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

« back to all changes in this revision

Viewing changes to libgimpbase/gimpchecks.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
 * This library is free software; you can redistribute it and/or
 
5
 * modify it under the terms of the GNU Lesser General Public
 
6
 * License as published by the Free Software Foundation; either
 
7
 * version 2 of the License, or (at your option) any later version.
 
8
 *
 
9
 * This library 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 GNU
 
12
 * Library General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU Lesser General Public
 
15
 * License along with this library; if not, write to the
 
16
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
17
 * Boston, MA 02111-1307, USA.
 
18
 */
 
19
 
 
20
#ifndef __GIMP_CHECKS_H__
 
21
#define __GIMP_CHECKS_H__
 
22
 
 
23
G_BEGIN_DECLS
 
24
 
 
25
 
 
26
/*  the default size of the checks which indicate transparency ...
 
27
 */
 
28
#define GIMP_CHECK_SIZE      8
 
29
#define GIMP_CHECK_SIZE_SM   4
 
30
 
 
31
/*  ... and their default shades
 
32
 */
 
33
#define GIMP_CHECK_DARK      0.4
 
34
#define GIMP_CHECK_LIGHT     0.6
 
35
 
 
36
 
 
37
void  gimp_checks_get_shades (GimpCheckType  type,
 
38
                              guchar        *light,
 
39
                              guchar        *dark);
 
40
 
 
41
 
 
42
G_END_DECLS
 
43
 
 
44
#endif  /* __GIMP_CHECKS_H__ */