]> git.sur5r.net Git - glabels/blob - libglabels/enums.h
Imported Upstream version 2.2.8
[glabels] / libglabels / enums.h
1 /*
2  *  (LIBGLABELS) Template library for GLABELS
3  *
4  *  enums.h:  common libGLabels enumerations header file
5  *
6  *  Copyright (C) 2003, 2004  Jim Evins <evins@snaught.com>.
7  *
8  *  This file is part of the LIBGLABELS library.
9  *
10  *  This library is free software; you can redistribute it and/or
11  *  modify it under the terms of the GNU Library General Public
12  *  License as published by the Free Software Foundation; either
13  *  version 2 of the License, or (at your option) any later version.
14  *
15  *  This library is distributed in the hope that it will be useful,
16  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  *  Library General Public License for more details.
19  *
20  *  You should have received a copy of the GNU Library General Public
21  *  License along with this library; if not, write to the Free
22  *  Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
23  *  MA 02111-1307, USA
24  */
25
26 #ifndef __ENUMS_H__
27 #define __ENUMS_H__
28
29 #include <glib.h>
30
31 G_BEGIN_DECLS
32
33 /* Units of distance */
34 typedef enum {
35         LGL_UNITS_POINT, /* encoded as "pt" */
36         LGL_UNITS_INCH,  /* encoded as "in" */
37         LGL_UNITS_MM,    /* encoded as "mm" */
38         LGL_UNITS_CM,    /* encoded as "cm" */
39         LGL_UNITS_PICA,  /* encoded as "pc" */
40
41         LGL_UNITS_FIRST = LGL_UNITS_POINT,
42         LGL_UNITS_LAST  = LGL_UNITS_PICA,
43 } lglUnitsType;
44
45
46 G_END_DECLS
47
48
49 #endif /* __ENUMS_H__ */