Thank you very much for your timely response, I am able to use the
drawing functions on layer. But still I am faced with one more problem.
I have enabled the mouse for this layer and when I roll the mouse over
the drawing it vanishes. Can you please advise what to do to make the
drawing permanent on the surface? Your response will be highly
appreciated.




-----Original Message-----
From: Denis Oliver Kropp [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 30, 2005 1:48 PM
To: Denis Oliver Kropp
Cc: Hemant Kumar, Noida-1; [email protected]
Subject: Re: [directfb-dev] Hello all!!

Denis Oliver Kropp wrote:
> Hemant Kumar, Noida-1 wrote:
> 
>> I am a new user of directfb and want to develop a GUI application
with 
>> the help of directfb using its APIs.I wanted to ask how we can 
>> implement windowing system and surface drawing functions on layer. I 
>> am stuck at this point as I am unable to draw any thing on layer
which 
>> was possible on surface. And also can anyone please clarify the 
>> relation between layer and surface. please please do help me and
don't 
>> neglect this mail. waiting for your response eagerly.
> 
> 
> If I understood you correctly, you had been creating a primary surface
> before, but now you are using the layer's surface?
> 
> The difference might be that before you had a single buffered surface
> and now you're using a double buffered surface.
> 
> You can change the layer's configuration prior to using its surface or
> use Flip() on the surface to make your drawings visible, either the
> full surface or only the parts you updated (faster).

If you want to use the windowing system, you shouldn't touch the layer's
surface directly, but create windows and draw to their surfaces.

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to