[futurebasic] Re: Direct to screen drawing

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1997 : Group Archive : Group : All Groups

From: WarMaster <dereksmi@...>
Date: Fri, 21 Nov 1997 15:18:55 -1000
> Alright, I've been playing around with drawing to the screen (not a window,
> the whole screen) and I've got a question.  I don't have a problem getting
> stuff to the screen, my problem is getting the system to update the rect.
> I tried CALL INVALRECT(rect) but that didn't work (not that I expected it
> to).  I can't think of anything that would tell the system to update
> off-hand and I couldn't find anything in the manuals.

I've been doing this for a while.  You have to update the windows with
InvalRect and the desktop and assorted other areas with CALL PAINTBEHIND

Just out of curiousity, are you able to draw to video memory in 16 bit
mode?  I can't seem to puzzle that out, but 8 works fine for me anyway.

I have a code snippet to update the whole desktop and menubar, but windows
must be done normally.