[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> 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. Is
> there any way to debug this as in our case we dont have and X Server ,so
> no way to see if the bad match error is actually being reported.
> Any help will be greatly appreciated. :)
> 
> Regards,
> Karl
> 


Hey,

Your right!The API works for the first slide so it means theres no problem.
But i was just wondering if the second time some argument is getting
corrupted or something.Anyways will try and figure it out.

Thanks Thorsten!

Regards,

Karl
-- 
View this message in context: 
http://www.nabble.com/Urgent%3AHow-to-check-if-gdk-API-is-failiing---tp17880763p17959948.html
Sent from the openoffice - dev mailing list archive at Nabble.com.


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

Reply via email to