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
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to