Subversion Repositories wimsdev

Rev

Rev 18118 | Rev 18129 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18118 Rev 18125
Line 13... Line 13...
13
        char *name;
13
        char *name;
14
        int required_parms,color_pos,fill_tag,subst;
14
        int required_parms,color_pos,fill_tag,subst;
15
        void (*routine) (objparm *pm);
15
        void (*routine) (objparm *pm);
16
"
16
"
17
export prepstruct colorstruct objstruct
17
export prepstruct colorstruct objstruct
18
 
-
 
-
 
18
/* for fill_tag, -1:dashed, 1:filled, 0: nothing */
19
header="
19
header="
20
        /* This file is automatically generated! Do not edit it. */
20
        /* This file is automatically generated! Do not edit it. */
21
#include \"flydraw.h\"
21
#include \"flydraw.h\"
22
"
22
"
23
 
23
 
Line 31... Line 31...
31
 
31
 
32
color   t_prep  p_color
32
color   t_prep  p_color
33
colour  t_prep  p_color
33
colour  t_prep  p_color
34
colors  t_prep  p_color
34
colors  t_prep  p_color
35
colours t_prep  p_color
35
colours t_prep  p_color
36
 
36
 
37
tiny    t_prep  p_font
37
tiny    t_prep  p_font
38
small   t_prep  p_font
38
small   t_prep  p_font
39
medium  t_prep  p_font
39
medium  t_prep  p_font
40
large   t_prep  p_font
40
large   t_prep  p_font
41
huge    t_prep  p_font
41
huge    t_prep  p_font
42
giant   t_prep  p_font
42
giant   t_prep  p_font
43
 
43
 
-
 
44
dashed t_obj    0,0,0,0,        obj_dashed
-
 
45
filled t_obj    0,0,0,0,        obj_filled
44
affine          t_obj   6,0,0,0,        obj_affine
46
affine          t_obj   6,0,0,0,        obj_affine
45
arrow           t_obj   5,1,0,1,        obj_arrow
47
arrow           t_obj   5,1,0,1,        obj_arrow
46
arrow2          t_obj   5,1,0,1,        obj_arrow2
48
arrow2          t_obj   5,1,0,1,        obj_arrow2
47
arrows          t_obj   5,-1,0,1,       obj_arrows
49
arrows          t_obj   5,-1,0,1,       obj_arrows
48
arrows2         t_obj   5,-1,0,1,       obj_arrows2
50
arrows2         t_obj   5,-1,0,1,       obj_arrows2
Line 78... Line 80...
78
disk            t_obj   3,1,1,0,        obj_circle
80
disk            t_obj   3,1,1,0,        obj_circle
79
diskfill        t_obj   4,1,1,0,        obj_dotfill
81
diskfill        t_obj   4,1,1,0,        obj_dotfill
80
dline           t_obj   4,1,0,1,        obj_dline
82
dline           t_obj   4,1,0,1,        obj_dline
81
dlines          t_obj   4,-1,0,1,       obj_dlines
83
dlines          t_obj   4,-1,0,1,       obj_dlines
82
dhline          t_obj   2,1,-1,1,       obj_hline
84
dhline          t_obj   2,1,-1,1,       obj_hline
83
dpolyline       t_obj   4,-1,0,1,       obj_dlines
85
dpolyline       t_obj   4,-1,-1,1,      obj_dlines
84
dotfill         t_obj   4,1,1,0,        obj_dotfill
86
dotfill         t_obj   4,1,1,0,        obj_dotfill
85
dplot           t_obj   0,-1,0,1,       obj_dplot
87
dplot           t_obj   0,-1,0,1,       obj_dplot
86
dsegment        t_obj   4,1,0,1,        obj_dline
88
dsegment        t_obj   4,1,0,1,        obj_dline
87
dvline          t_obj   2,1,-1,1,       obj_vline
89
dvline          t_obj   2,1,-1,1,       obj_vline
88
ellipse         t_obj   4,1,0,3,        obj_ellipse
90
ellipse         t_obj   4,1,0,3,        obj_ellipse
Line 212... Line 214...
212
namelist=`sort -k 1,1 <<@ | uniq
214
namelist=`sort -k 1,1 <<@ | uniq
213
$namecolor
215
$namecolor
214
$names
216
$names
215
@
217
@
216
`
218
`
-
 
219
/*
-
 
220
lines           t_obj   4,-1,0,3,       obj_fulllines
-
 
221
dlines          t_obj   4,-1,-1,3,      obj_fulllines
-
 
222
line            t_obj   4,1,0,3,        obj_fullline
217
 
223
*/
218
o_list=`echo "$namelist" | grep t_obj | awk '{print substr($4,5)}' | sort | uniq`
224
o_list=`echo "$namelist" | grep t_obj | awk '{print substr($4,5)}' | sort | uniq`
219
 
225
 
220
cd `dirname $0`
226
cd `dirname $0`
221
echo "$header" >nametab.c
227
echo "$header" >nametab.c
222
for o in $o_list
228
for o in $o_list