sliding a gui?

  • Thread starter Thread starter rocknroll army
  • Start date Start date
R

rocknroll army

Hello,

do you have any pointers for me how to "slide" a gui? sliding means
that i'd like to slide out a "layer" and show the underlaying layer if
i move the finger from left to right. basically the same as you can
see in spb mobile shell.

i think i need to take a screenshot, show and manipulate that
screenshot, and then display the frame i'd like to switch.
hopefully somebody can understand what i'm trying to explain.

thanks for any hint on that
 
Hello,

do you have any pointers for me how to "slide" a gui? sliding means
that i'd like to slide out a "layer" and show the underlaying layer if
i move the finger from left to right. basically the same as you can
see in spb mobile shell.

i think i need to take a screenshot, show and manipulate that
screenshot, and then display the frame i'd like to switch.
hopefully somebody can understand what i'm trying to explain.

thanks for any hint on that

I've done something that sounds similar to give a 'cover-flow' type of
behaviour as found on the infamous iphone and others. I created an
invisible control and used the mouse events to control the movement of
gui, ie trap the mousedown/mouseup and work out the action from the
change in coordiantes. The actual "sliding of the images" is nothing
fancy, I played with two methods, one method basically slid an entire
panel redrawing it as it changed it's x/y coords and this panel had a
number of images on, the other method involved creating a custom panel
that included images that were rendered in it's paint event. The
latter gave a slightly smoother effect, but the speed/smoothness of
the motion is highly dependant on the performance of the device and
may not be as smooth as you would like.

Hope that helps a bit

Chris
 
Back
Top