[futurebasic] Re: [FB] Scrolling Picture

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2003 : Group Archive : Group : All Groups

From: barrie <barrie@...>
Date: Thu, 27 Feb 2003 21:36:18 -0500

> 
> On Thursday, February 27, 2003, at 05:49  PM, barrie wrote:
> 
>> I really need some help with a scrolling picture. There is an excellent
>> example in the examples folder/Scroll bar/Scroll A Picture. This takes
>> a
>> picture from a resource and puts it into a window with scroll bars. I
>> can
>> follow the code but can't figure out how to apply it to my needs. I
>> want to
>> place an array of pictures in a scrolling window. If I had one big
>> picture,
>> I think I could make it work. How can I combine my array of pictures
>> into
>> one big picture?
>> Barrie
> 
> 
> 1Create a GWorld the size of your one big picture using NewGWorld
> 2 lock it
> 3  Figure out where the rects for the smaller pictures are going to
> need to be in the big picture. (ha, whatta pun)
> 4. SetPort/ SetGWorld to your BigGW, then Drawpicture or Picture your
> little pictures into it.
> Robert Bob
> 
Thanks for the tip. I have looked at GWorld examples but they are all too
complex. I searched the STAZ site looking for an introduction to Gworlds but
couldn't find anything. My picture handles are stored in an array. Is there
any way I can link them all together with a BLOCKMOVE or something similar?
Then get a picture handle for the entire array?
Barrie