Dear all,
 
Hello~ This is Jaehyun Cho.
I need your opinions and ideas related to setting resize object :-) 
 
As you might know if you set the resize object of an object by calling 
elm_widget_resize_object_set,
the previous resize object is removed from the sub object relationship and the 
smart member as well.
 
Therefore, you need to add the sub object relationship and the smart member 
again if you do not want to
remove the relationships.In this case, the sub object's theme can be re-loaded 
even though the parent object's
and the sub object's themes are the same.
 
I discussed about this with Hermet and SeoZ and found 3 possible ways to 
resolve the above case.
Our solutions are the following and I need your opinions. 
 
1. Add one more argument in elm_widget_resize_object_set to identify whether 
remove sub object or not.
   (e.g. Eina_Bool preserve)
- One line is inserted in elm_widget_resize_object_set.
 
- Need to change all the elm_widget_resize_object_set function.
 
2. Add a new internal function for setting resize object without removing sub 
object and smart member.
 - The new function is called in elm_widget_resize_object_set.
 - elm_widget_resize_object_set removes the sub object and the smart member. 
 
3. Add a new internal function for setting resize object as NULL without 
removing sub object and smart member.
- More simple than 2. 
 - The new function can be called in elm_widget_resize_object_set.
 
If you have any opinion about the above solutions or any better idea, please 
reply this email.
 
Thank you.
Jaehyun Cho. 
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to