]> git.sur5r.net Git - glabels/blob - glabels2/libglabels/enums.h
2009-09-22 Jim Evins <evins@snaught.com>
[glabels] / glabels2 / libglabels / enums.h
1 /*
2  *  enums.h
3  *  Copyright (C) 2003-2009  Jim Evins <evins@snaught.com>.
4  *
5  *  This file is part of libglabels.
6  *
7  *  libglabels is free software: you can redistribute it and/or modify
8  *  it under the terms of the GNU Lesser General Public License as published by
9  *  the Free Software Foundation, either version 3 of the License, or
10  *  (at your option) any later version.
11  *
12  *  libglabels is distributed in the hope that it will be useful,
13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  *  GNU Lesser General Public License for more details.
16  *
17  *  You should have received a copy of the GNU Lesser General Public License
18  *  along with libglabels.  If not, see <http://www.gnu.org/licenses/>.
19  */
20
21 #ifndef __ENUMS_H__
22 #define __ENUMS_H__
23
24 #include <glib.h>
25
26 G_BEGIN_DECLS
27
28 /* Units of distance */
29 typedef enum {
30         LGL_UNITS_POINT, /* encoded as "pt" */
31         LGL_UNITS_INCH,  /* encoded as "in" */
32         LGL_UNITS_MM,    /* encoded as "mm" */
33         LGL_UNITS_CM,    /* encoded as "cm" */
34         LGL_UNITS_PICA,  /* encoded as "pc" */
35
36         LGL_UNITS_FIRST = LGL_UNITS_POINT,
37         LGL_UNITS_LAST  = LGL_UNITS_PICA,
38 } lglUnitsType;
39
40
41 G_END_DECLS
42
43
44 #endif /* __ENUMS_H__ */
45
46
47
48 /*
49  * Local Variables:       -- emacs
50  * mode: C                -- emacs
51  * c-basic-offset: 8      -- emacs
52  * tab-width: 8           -- emacs
53  * indent-tabs-mode: nil  -- emacs
54  * End:                   -- emacs
55  */