mIRC Homepage

/drawreplace on text

Posted By: Mpdreamz

/drawreplace on text - 18/07/05 10:30 AM

does picwin text consists of more then one colour because the following code
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.
Posted By: Mpdreamz

Re: /drawreplace on text - 18/07/05 11:26 AM

it does as it works on everything but text grrrr, so i need to add more drawreplaces instead of 20 about a 100 doesnt really make it worthwhile.
Posted By: Mpdreamz

Re: /drawreplace on text - 18/07/05 06:24 PM

or use a non true type font :*( (for anyone who cares using .fon fonts will be non antialiased with or without ClearType enabled)
© 2020 mIRC Discussion Forums