Hi, Deepak Mundra,
1> is only primary layer used to dsplay on srceen ?
Not only primary layer can be used to display.
You could run "dfbinfo" in the terminal, then will see all the layers supported
by the graphic hardware.
2> I have a transparent image .. i am able to display that transparent image
but how can i change the transparency( 0% to 100%) value?
Do as above, if you see layers and its caps which contains "DST_OPACITY", that
means you can
make use of layer->SetOpacity() or window->SetOpacity(), change the
transparency.
3> is there any documents to read about directfb layers/surface
Yeah, I have attched the overview.pdf in this Email.
Best regards,
chiachen
[EMAIL PROTECTED]
2008-08-26
======= 2008-08-26 14:57, your message: [directfb-users] Newbie .. help=======
Hi im new to directfb and want to learn so many thongs from u people, ok i
could cross compile dfb and run examples .. Now i want to learn creating simple
directfb application . so i have some questions for you people
1] is only primary layer used to dsplay on srceen ? i mean to ask
i have displayed a image one image on primary layer , now i wanto display
another image on another layer say secondary
and tempsurf is actual temp surface
secondary->Blit( secondary, tempsurf, NULL, 0,0 );
// primary->Flip( primary, NULL, DSFLIP_NONE );
secondary->Flip(secondary, NULL, DSFLIP_NONE );
but sreen is black .. it is not displaying image .. flags for creating secondary
sdsc.flags = DSDESC_CAPS | DSDESC_PIXELFORMAT | DSDESC_WIDTH |
DSDESC_HEIGHT;
sdsc.caps = DSCAPS_PREMULTIPLIED;
sdsc.pixelformat = DSPF_ARGB;
sdsc.width = screen_width;
sdsc.height = screen_height;
2] I have a transparent image .. i am able to display that transparent image
but how can i change the transparency( 0% to 100%) value? i could not search
any api .. please help me ..
3]is there any documents to read about directfb layers/surface
Thanks
= = = = = = = = = = = = = = = = = = = = _______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users