1 /* Dia -- a diagram creation/manipulation program
2 * Copyright (C) 1998 Alexander Larsson
4 * Property system for dia objects/shapes.
5 * Copyright (C) 2000 James Henstridge
6 * Copyright (C) 2001 Cyrille Chepelov
7 * Major restructuration done in August 2001 by C. Chepelov
9 * properties.c: initialisation routines and stuff that didn't fit anywhere
10 * else. Most of what used to be here has been moved elsewhere !
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
32 #ifndef LIBDIA_COMPILATION
33 # define LIBDIA_COMPILATION
36 #define G_INLINE_FUNC extern
37 #define G_CAN_INLINE 1
38 #include "properties.h"
39 #include "propinternals.h"
41 /* --------------------------------------- */
46 prop_basic_register();
47 prop_inttypes_register();
48 prop_geomtypes_register();
51 prop_widgets_register();
52 prop_sdarray_register();
55 /* --------------------------------------- */
58 /* moved to properties.h ... */
60 /* standard property extra data members */
61 PropNumData prop_std_line_width_data
= { 0.0, 10.0, 0.01 };
62 PropNumData prop_std_text_height_data
= { 0.1, 10.0, 0.1 };
63 PropEnumData prop_std_text_align_data
[] = {
64 { N_("Left"), ALIGN_LEFT
},
65 { N_("Center"), ALIGN_CENTER
},
66 { N_("Right"), ALIGN_RIGHT
},
71 #ifdef FOR_TRANSLATORS_ONLY
72 static char *list
[] = {
76 N_("Draw background"),