Hello, Thank you for your response.
However with the callback way, content of the canvas will not be resized automatically. When the canvas is resized (according to the TV resolution), I would like that its content be resized automatically. Is there a way in Evas/Evas-Core to intercept the content (pixels) of a canvas before it's send to the framebuffer (in order to apply an alpha to it) ? Thank you, Best regards Le Fri, 02 May 2014 15:41:58 +0200, Carsten Haitzler <[email protected]> a écrit: > On Tue, 29 Apr 2014 09:56:00 +0200 [email protected] said: > >> Hello, >> >> Is there a way in Evas/Ecore to automatically adapt the canvas content >> (size of each Evas object, font size, ...) when the canvas is resized ? >> Does this feature is supported in Evas/Ecore ? How to achieve that? >> >> Typical use case: the user change the resolution of the screen. >> >> Thank you for your help, > > if using ecore_evas - there is a resize callback on the ecore_evas./ if > using > elementary - see the docs for elm_win - there is a resize event callback > on the > window object. > > ecore_evas: > > ecore_evas_callback_resize_set(ee, callback_resize); > > elm: > > evas_object_event_callback_add(win, EVAS_CALLBACK_RESIZE, > callback_resize, > NULL); > > ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
