]> git.sur5r.net Git - glabels/blob - src/str-util.h
Imported Upstream version 3.2.0
[glabels] / src / str-util.h
1 /*
2  *  str-util.h
3  *  Copyright (C) 2001-2009  Jim Evins <evins@snaught.com>.
4  *
5  *  This file is part of gLabels.
6  *
7  *  gLabels is free software: you can redistribute it and/or modify
8  *  it under the terms of the GNU 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  *  gLabels 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 General Public License for more details.
16  *
17  *  You should have received a copy of the GNU General Public License
18  *  along with gLabels.  If not, see <http://www.gnu.org/licenses/>.
19  */
20
21 #ifndef __STR_UTIL_H__
22 #define __STR_UTIL_H__
23
24 #include <glib.h>
25 #include <pango/pango.h>
26
27 #include "label-object.h"
28
29 G_BEGIN_DECLS
30
31 const gchar        *gl_str_util_align_to_string       (PangoAlignment     align);
32 PangoAlignment      gl_str_util_string_to_align       (const gchar       *string);
33
34 const gchar        *gl_str_util_valign_to_string      (glValignment       valign);
35 glValignment        gl_str_util_string_to_valign      (const gchar       *string);
36
37 const gchar        *gl_str_util_weight_to_string      (PangoWeight        weight);
38 PangoWeight         gl_str_util_string_to_weight      (const gchar       *string);
39
40 G_END_DECLS
41
42 #endif /* __STR_UTIL_H__ */
43
44
45
46 /*
47  * Local Variables:       -- emacs
48  * mode: C                -- emacs
49  * c-basic-offset: 8      -- emacs
50  * tab-width: 8           -- emacs
51  * indent-tabs-mode: nil  -- emacs
52  * End:                   -- emacs
53  */