Hi Thorsten .
I have seen that when i start the slideshow from any slide it works for that
slide .
Navigating to the other slide during slideshow is failing . 

What is the flow in following cases :
a) When u press F5 on the current sllide Versus 
b) When u press Page Down on the current slide which is fullscreen 
Do the flows at a) and b) differ .  

Please point me to relevant code in the slideshow.  Does the spriteHelprer
update screen  creates data of the consecutive slides for both cases (a) and
(b) . If the flows differ , it would mean that my VCL code fails for the
other case. 

Note that when i navigate the presentation in non-slideshow mode , it works
. Do you see any obvious problem , which i am missing .   Any pointers from
you will help me debug the issue with my bitmap / virtual device code. 

Regards,
Karl.



Thorsten Behrens-3 wrote:
> 
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Urgent%3AHow-to-check-if-gdk-API-is-failiing---tp17880763p17974455.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