[futurebasic] Gworld Newbie

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 1999 : Group Archive : Group : All Groups

From: Paul Bruneau <paul_bruneau@...>
Date: Mon, 02 Aug 1999 11:54:36 -0400
Hi everyone-

I was lucky enough to run across FB a couple years ago, and I have
written several apps for my company over that time, but so far all of
them have fit well inside a 640x480 space. My biggest app has 3
different windows depending on what you are doing, but each is 640x480.

Now, I must add some major functionality to this app. Basically, I'm
going to have a big grid of cells (16x16) where each cell represents a
sort of building block of our product. The cells can be different sizes
and "spans" (just like in an html table).

640x480 isn't going to cut it.

So now I'm looking at scroll bars and things like that which I have
never had to do before.

Today's question: Should I use a G-World?

The reason I'm thinking of a gworld is so I don't have to use up so much
time redrawing all these cells. I'm thinking if I make the whole thing a
G-world, then as the user scrolls around, I can just let different parts
of the g-world "show" in the window. 

Is this how they can work? Be gentle, the only place I have ever
experienced gworlds is by reading this list.

Here is how I see it:

Redraw the cells in the gworld if the user changes the size of one of them.

Move the "visible" part of the gworld based on any scrolling the user
does. My first idea was to redraw for each scroll event, but I quickly
figured that's a heck of a lot of redrawing.

Thanks,

Paul