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
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers