Subversion Repositories wimsdev

Rev

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

Rev 4349 Rev 9966
Line 130... Line 130...
130
$(comp_$slib_cmd)$slib_extender
130
$(comp_$slib_cmd)$slib_extender
131
  !if $slib_tlen>0 and $slib_name notwordof $comp_notext
131
  !if $slib_tlen>0 and $slib_name notwordof $comp_notext
132
   !ifval $slib_tlen=1 and $slib_cmd iswordof src
132
   !ifval $slib_tlen=1 and $slib_cmd iswordof src
133
    slib_xt=$[$slib_x-0.15]
133
    slib_xt=$[$slib_x-0.15]
134
    slib_yt=$[$slib_y+0.4]
134
    slib_yt=$[$slib_y+0.4]
-
 
135
   !endif
-
 
136
   !if $slib_name iswordof voltmeterN ammeterN lampN
-
 
137
    slib_xt=$[$slib_x+0.30]
-
 
138
    slib_yt=$[$slib_y+0.30]
135
   !endif
139
   !endif
136
   slib_out=$slib_out\
140
   slib_out=$slib_out\
137
killaffine\
141
killaffine\
138
text _color_,$slib_xt,$slib_yt,$slib_textsize,$slib_text
142
text _color_,$slib_xt,$slib_yt,$slib_textsize,$slib_text
139
  !endif
143
  !endif
Line 141... Line 145...
141
 :loopend
145
 :loopend
142
!next slib_i
146
!next slib_i
143
 
147
 
144
slib_out=!replace internal _color_ by $slib_color in $slib_out\
148
slib_out=!replace internal _color_ by $slib_color in $slib_out\
145
killaffine
149
killaffine
146
 
-