[futurebasic] Re: [FB] Re: drawing text

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

From: ted spencer <ted@...>
Date: Tue, 10 Apr 2001 16:39:10 -0400
From the nimble fingers of Stu Cram (stu.cram@...) (10/4/2001 8:28
AM) came...

> Hi Pete;
> 
> I've done the same in the past when I didn't have a clock when
> travelling. However, you don't have to 'wipe out' the old time. By
> using the mode=0 option in the TEXT command, your printing will erase
> the background around the newly printed text. Here's a short example
> that shows the new time every second. It has extra code to refresh
> the window's background in case it is covered up and uncovered. It
> should be easy to add an alarm option by testing the time in FN
> doTimerEvent.
> 
> - Hope this helps;
> Stu Cram, Regina, SK CAN
> 
> '--------------------------
>LOCAL FN doTimerEvent
>   LONG COLOR -1,-1,-1,1      'fore color = white
>   TEXT _Helvetica, 96, 1, 0  'mode zero fills in bkgrd around letters

I love little things like this that just work perfectly. Cool!
-- 
Ted Spencer; ted@...
-- 
You can't tell the depth of the well by the length of the handle on the
pump.