No problem I have done it..thanx for your cooperation and expect the same in future…

 


From: Hemant Kumar, Noida-1
Sent: Tuesday, January 03, 2006 12:26 PM
To: 'Denis Oliver Kropp'
Subject: RE: [directfb-dev] retangle drawn over the layer gets deleted!!

 

 

 

 

 

At last I am able to use surface drawing functions on window derived from layer but still one minor problem I am unable to overcome.

 

That is how to fill windows and rectangles drawn with suitable colors in spite of the fact that I have  used surface setcolor API and set the value of colour to red but on using fillrectangle  Surface API it simple shows a area corresponding to dimensions which I have specified with color corresponding to layer ..not red..

 

 

Please do the needful if you have some spare time for me.

Thanks!! In advance.

 

 

 

-----Original Message-----
From: Denis Oliver Kropp [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 03, 2006 3:10 AM
To: Hemant Kumar, Noida-1
Cc: [email protected]
Subject: Re: [directfb-dev] retangle drawn over the layer gets deleted!!

 

Hemant Kumar, Noida-1 schrieb:

 

You're mixing windowed and exclusive access.

 

Either you access the layer's surface as you already do,

but without using the cursor of the window stack. Or you

rather create a window on the layer and don't use exclusive

and direct surface access.

 

> rolling the mouse over the rectangle drawn over the layer  deletes it.I

> have studied the overview document of directfb..is there any other

> material which can explain me the basic concepts of directfb as due to

> this only I am facing problems at every step. Can anyone please  tell me

> the  general flow  how I should proceed for developing the GUI  using

> these APIs.

 

You render your custom graphics to the layer's surface, but the windowing

code that you activated by enabling the cursor overdraws yours.

 

--

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