/drawreplace on text - 18/07/05 10:30 AM
does picwin text consists of more then one colour because the following code
just scrambles the first part of the text up, meaning it should give the text in 2 2 20 15 a different colour but it looks scrambled as in only parts get coloured up.
Code:
alias makebmp { if (!$window(@temp)) { window -pa +dL @temp 1 1 200 100 } clear -n @temp drawfill -nr @temp $rgb(51,51,51) $rgb(101,101,101) 1 1 drawrect -nrf @temp $rgb(51,153,255) 1 1 1 195 15 drawtext -nrco @temp $rgb(255,255,255) tahoma 11 2 2 192 15 Ojin - Missing you drawreplace -nr @temp $rgb(255,255,255) $rgb(51,153,255) 2 2 20 15 drawdot @temp }
just scrambles the first part of the text up, meaning it should give the text in 2 2 20 15 a different colour but it looks scrambled as in only parts get coloured up.