Blitz (49/176)

From:Nick Clover
Date:11 Jul 2001 at 00:15:11
Subject:ReMap problem

hi Guys (are there any women on this list?),

I'm trying to remap colour 1 in a bitmap before using GetaShape to
grab some digits for a clock I'm writing, but nothing happens, the
digits stay black. here is the relevent piece of code:

BitMap 0,99,29,1
DecodeILBM 0,?iffpic ;picture is 2 colour, 0=white 1=black
If text<>1 ;text is the digit colour
ReMap 1,text ;this does nothing
EndIf
For x=0 To 9
GetaShape x,x*10,0,9,17
Next
For x=0 To 9
GetaShape x+10,x*7,18,7,11
Next
Free BitMap 0

Can anyone help?

Cheers






Nick Clover - http://i.am/bauk



A4000/060, 64Mb, PicassoIV, Paloma, KTX 17" Monitor, Punchinello II

IDE: 10.1 & 13.8 Gb HD, SCSI: Fujitsu 18Gb HD, Sony CDU625-S CD

2x Sony CDD2600 CDR, Aiwa ACD300, Ricoh 8x8x32 CDrw

Brother HL1250 Laser, HP890c Inkjet, Generic V90 Modem, Trust Ergo Keyboard


---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie