[maemo-developers] [maemo-developers] Problem with Enlightenment [Evas] on Maemo 2.0
From: Seb Dev sebdev at gmail.comDate: Thu Sep 21 12:34:19 EEST 2006
- Previous message: [maemo-developers] dictd and MaemoDict
- Next message: [maemo-developers] Re : Problem with Enlightenment [Evas] on Maemo 2.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello list, I develop a program which receive some bitmap (in BUFFER_FILE file) to display them on a evas canvas. This is the function for refreshing the canvas : (called when a bitmap is received and saved in BUFFER_FILE file) *if*(tmp){evas_object_del(tmp);} tmp = evas_object_image_add(evas); evas_image_cache_flush(evas); evas_image_cache_reload (evas); evas_object_image_file_set(tmp, BUFFER_FILE, NULL); evas_object_move(tmp, 0, 0); evas_object_resize(tmp, win_w, win_h); evas_object_image_fill_set(tmp, 0, 0, win_w, win_h); evas_object_layer_set(tmp,50); evas_object_show(tmp); In a Linux PC environment, this program works well : the canvas is refreshed every time a bitmap is received. But when this program is launched on a Nokia 770 with MAEMO 2.0, the canvas is only refreshed when the screen is touched by the pencil. I don't understand why the screen is refreshed only when I touch it. If some of you have an idea to solve this problem, thanks a lot for your response. Seb Dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060921/5cb1a5d7/attachment.htm
- Previous message: [maemo-developers] dictd and MaemoDict
- Next message: [maemo-developers] Re : Problem with Enlightenment [Evas] on Maemo 2.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]