The problem remains...but I have done like this:--

 

 

The sequence of commands which I have used is as follows:--

Layer->GetDisplayLayer (dfb, layer_id,&layer);

layer->SetCooperativeLevel(layer,DLSCL_ADMINISTARTIVE);

layer->SetBackgroundColor(layer,0xff,0xff,0xff,0xff);/*in exclusive

layer->unable to set background color*/

layer->SetCooperativeLevel(layer,DLSCL_EXCLUSIVE);

layer->GetSurface(layer,layer_id,&layer);

primary->SetColor(primary,0x00,0x00,0xff,0xff);

primary->DrawRectangle(primary,20,20,200,100);

primary->Flip(primary,NULL,0);

layer->EnableCursor(layer,enable);

 

 

 

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.

 

Sirs I know I must be quite annoying to you people...as these are very little problems for you. But please help me.

 

 

Thanks in advance.

and HAPPY NEW YEAR TO YOU All!!!

 

Thanks and Regards,

HEMANT KUMAR

WIireless & Embedded Solutions Group

NET CENTRIC TECHNOLOGIES DIVISION

 

 

 

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

Reply via email to