Subversion Repositories wimsdev

Rev

Rev 2286 | Rev 8402 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7235 bpr 1
 
1744 bpr 2
!if $wims_read_parm!=$empty
3
 !set parms=$wims_read_parm
4
 !set parms=!replace internal $ $ by $\
5
$ in $parms
6
 !set size=!line 1 of $parms
7
 !distribute items $size into sx,sy
8
 !set ppm=!line 2 to -1 of $parms
9
!else
10
 !if $parms=$empty
11
  !exit
12
 !endif
13
 !distribute items $parms into sx,sy
14
 !set ppm=!item 3 to -1 of $parms
15
!endif
16
 
17
!set ppm=!replace internal \filedir/ by $ in $ppm
18
!for pm in ppm, sx, sy
19
 !set $pm=!slashsubst $($pm)
20
!next pp
21
!set ppm=!replace internal $    $ by $\
22
$ in $ppm
23
!set pp=!trim $ppm
24
 
25
!set a=!word 1 of $pp
26
!if $a=animate
27
 !set a=!line 1 of $pp
28
 !set a=!word 2 to -1 of $a
29
 !set pp=!line 2 to -1 of $pp
30
 !if $printable!=yes
31
  !set ins_anim_frames=!item 1 of $a
32
  !set ins_anim_delay =!item 2 of $a
33
  !set ins_anim_loop  =!item 3 of $a
34
 !endif
35
!endif
7235 bpr 36
!readproc $docdir/doc/.def
37
!if $common_files=yes
38
  !set doc_=
39
!else
40
 !set doc_=$doc/
41
!endif
42
!set insdraw_filebase=$docdir/$(doc_)files
1744 bpr 43
!set insdraw_size=$sx,$sy
44
!set ins_align=middle
45
!insdraw $pp