[futurebasic] Re: darkening the screen

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 1998 : Group Archive : Group : All Groups

From: "Pierre A. Zippi" <pzippi@...>
Date: Tue, 28 Apr 1998 11:53:04 -0500
Forrest Blanton wrote:
> 
> Is there a way to darken a PICTURE FIELD when you move your mouse over it?
> If that's not possible, perhaps just any help on how you would darken a
> portion of  the screen would be appreciated.

Forrest,

Maybe a using PEN mode can give the effect you need.

Try a variation of this simple code:
WINDOW 1
'--- the boxes would represent your pict
LONG COLOR 65000,0,0
BOX FILL 10,10 TO 200,100
LONG COLOR 0,65000,0
BOX FILL 10,100 TO 200,200
LONG COLOR 0,0,0
'--- you could highlight a frame around your pict
'--- when the cursor is over the pict
PEN 2,2,1,10,0  'using mode=10 should replace the original pixels
BOX 15,15 TO 195,195
DO
  DELAY 200
  BOX 15,15 TO 195,195
UNTIL FN BUTTON


-- 
Pierre A. Zippi

Home email: paz@...
Home web: http://web2.airmail.net/paz