On Tue, Jun 17, 2008 at 01:51:35AM -0700, [EMAIL PROTECTED] wrote:
> Am porting OO to directfb and am facing a problem with the slideshow engine
> wherein on PgDown the navigation of slides doesnt seem to be happening.After
> a lot of debugging ive realised an inconsistent output from the
> gdk_draw_drawable() api I am using in the GtkCopyBits function. For the
> first time when i hit fullscreen there is no problem and the slide is
> displayed.However on PgDown or a click the next slide is not painted. 
> 
> The code snippet is below.
> gdk_draw_drawable(GetDrawable(),pCopyGC,pSrcGraphics->GetDrawable(),
> pPosAry->mnSrcX, pPosAry->mnSrcY,
>         pPosAry->mnDestX,    pPosAry->mnDestY,pPosAry->mnSrcWidth,
> pPosAry->mnSrcHeight);
> 
> This API documentation says that gives errors like 'badmatch' when there is
> a mismatch in the source and dest drawables visuals and colormaps.
>
I'd guess getting gtk with debug & stepping into it should reveal
that - apart from that, you can verify whether it's really the
copyBits that fails, by assigning a slide transition to the first
slide - if that shows, the method works in principle.

Cheers,

-- Thorsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to