On 5/20/06, Zhan Zhaohua <[EMAIL PROTECTED]> wrote: > There is a problem for me to change the opacity of > window by lite_set_window_opacity() function: if the > size of window is big(1024*768) and there are many > objects on window(LiteImage, LiteLabel..), it will > cost a long time(about 100 to 500 ms)for window change > opacity form liteFullWindowOpacity to > liteNoWindowOpacity, is ther any other method to > change window opacity more quickly? > > Another question is how to move some objects on > window quickly? Now I destory original objects, change > them rect and new objects, it seems the efficiency of > movement is so bad, could you give me some advice?
Are you using the most recent DirectFB and LiTE drops from the site (DFB 0.9.25.1 and LiTE 0.7.2, IIRC?) What kind of architecture are you using? Speed of CPU, kind of graphics subsystem? I don't know what's happening for your first question, but on the second one, you may want to make a container LiteBox that's a child of the LiteWindow, and then put all of your objects in that LiteBox. Then, move the LiteBox around instead of iterating through the children. _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
