mIRC Home    About    Download    Register    News    Help

Print Thread
/drawreplace on text #125471 18/07/05 10:30 AM
Joined: Apr 2004
Posts: 759
M
Mpdreamz Offline OP
Hoopy frood
OP Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
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.


$maybe
Re: /drawreplace on text #125472 18/07/05 11:26 AM
Joined: Apr 2004
Posts: 759
M
Mpdreamz Offline OP
Hoopy frood
OP Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
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.


$maybe
Re: /drawreplace on text #125473 18/07/05 06:24 PM
Joined: Apr 2004
Posts: 759
M
Mpdreamz Offline OP
Hoopy frood
OP Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
or use a non true type font :*( (for anyone who cares using .fon fonts will be non antialiased with or without ClearType enabled)


$maybe