You are not logged in.

#1 2010-01-23 18:57:26

mdbrim
Member

[RESOLVED] image displayed only within defined limits.

I'm looking to take a "tall" image with text on it and scroll it up and down inside a box.

I'd like to make the image scroll within that box so that as you scroll down, the top parts disappear and not continue to scroll out of the box and on the screen.

Normally, i would just slice my screen up into top edge, middle, and bottom edge and then just layer the images so that the top and bottom edges are on top and would be drawn over any offbox text.

problem is my background is so dynamic that i would rather check here first to see if there is a way to display in image in a defined location such that parts of that image that are outside of that locations don't show...

does that make sense cuz i'm finding a bit difficult to explain, much less do!

Offline

 

#2 2010-01-29 19:07:31

NoNameNo
Administrator

Re: [RESOLVED] image displayed only within defined limits.

have a look at GRRLIB_DrawPart
or
GRRLIB_ClipDrawing

Offline

 

#3 2010-02-28 07:32:25

mdbrim
Member

Re: [RESOLVED] image displayed only within defined limits.

NoNameNo,

GRRLIB_DrawPart was PERFECT!!

thanks!

Offline

 

Board footer

Powered by FluxBB