Hi,
       We are  implementing GUI on IMX21 based embedded device.

So far we have used surfaces for drawing  BMP images and it works fine.

Now I need to move to windows implementation. The problems I face are

1. If I set the pixel format for the windows there is a run time error.
2. I am not able to draw the image on the window surface (I am using the 
same function for drawing on surfaces I think it is because of the pixel 
format)
I am getting run time error when I flip the window surface.

I have found that in my surfaces I am able to set the pixel format which 
is RGB16.
Since in windows I was not able to specify the pixel format it is taking 
24 bits per pixel.
the pixel format of window surface returns oxr18c04 which is nothing but 
DSPF_ARGB.
is there any way to set/change  the pixel format for the window surface.
or is there any way to modify the pixel format of windows using API's 
like SetProperty
how to do that.

Any help in this regard will be appreciated.

Regards,
Dhanasekaran

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments contained in it.

Contact your Administrator for further information.

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

Reply via email to