nanogui: banner application


Previous by date: 20 Jan 2006 05:55:08 +0000 banner application, sai baba
Next by date: 20 Jan 2006 05:55:08 +0000 banner code fragments, sai baba
Previous in thread: 20 Jan 2006 05:55:08 +0000 banner application, sai baba
Next in thread:

Subject: Re: [nanogui] banner application
From: "Greg Haerr" ####@####.####
Date: 20 Jan 2006 05:55:08 +0000
Message-Id: <0f3701c61d85$f03a0d30$6401a8c0@winXP>

: The problem i am facing is 
: if number of image files increases large amount of
: offscreen buffer is 
: required.is there any better way to implement this
: program.

Well - you only need two offscreen buffers in order
to display any number of images.  The two images
that are cut-off on the left and right sides of the window
need to be buffered, and portions GrCopyArea'd 
to the window as required.  Any images in the
middle (in the case of more than two displayed
images) can be decoded directly onto the window.
Whenever an image completely scrolls off the screen,
its buffer can be deallocated.  When a new
images scrolls on the right side, a new buffer
is allocated.

Regards,

Greg


Previous by date: 20 Jan 2006 05:55:08 +0000 banner application, sai baba
Next by date: 20 Jan 2006 05:55:08 +0000 banner code fragments, sai baba
Previous in thread: 20 Jan 2006 05:55:08 +0000 banner application, sai baba
Next in thread:


Powered by ezmlm-browse 0.20.