>> http://ists.pl/~alias/enlightenment/docs/cookbook/ch03s03.html >> >> was the most uptodate example I found from smart object creation >> altought it still used "evas_smart_new" which has now been replaced with >> struct Evas_Smart_Class and evas_smart_class_new method. > > what kind of enlightenment widget? elm? e17 itself? or just inside your app?
I think it would be cool to have generic "xy graph widget" like filedialogs, clocks, etc. in elementary. I assume that once done in that way, one could then re-use it on apps by creating edje file for example with editje and then setup there some default values like: - size and position - title - x-axis unit - y-axis unit - max and min x and y values - some kind of grid_size_x and grid_size_y and values to indicate grid size and sub-values shown in axises - colors used for drawing axises (r,g,b,a) - colors used for displaying caption texts (r,g,b,a) - backround image/color - array of values to show Of course it should be possible to override these values set to edje file later from the code. So you still think, I should write the graph drawing code with cairo and then try to find out example code from Barbieri howto render cairo graph to image that could be used by this widget. Mika ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel