Hello, I am writing a small program for leisure in C++ using DirectFB. There is a Canvas class that has a Window with a Surface. The Surface acts as the screen layer, that all drawing and blitting is performed upon. I also have an Object class that contains a Surface. The idea is to have several child Objects that are blitted in order to the Canvas Surface. I have been successful with Image Objects, but have run into a problem when writing a Text Object. When creating a Surface for the Text Object, I have been unsuccessful in making it completely transparent, and drawing text to it. I have tried Surface->Clear(Surface, 0, 0, 0, 0); but this simply makes the surface opaque and black, it seems unresonsive to the Alpha argument of clear. I have fumbled around trying many different things, but still no success. I'm not even sure if it is the Text Object's Surface that is the problem, or the blitting of the surface to the Canvas Surface. Any help would be much appreciated !
- christopher roberts _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
