Only if we have a callback to query user when icon is needed (think elm genlist item class API). Could be an idea.
On Saturday, October 1, 2011, Mike Blumenkrantz <m...@zentific.com> wrote: > On Sat, 1 Oct 2011 13:40:36 -0300 > Gustavo Sverzut Barbieri <barbi...@profusion.mobi> wrote: > >> You can get the icon and communicate with it later. Bt that still misses >> memfile. >> >> But either we make a supidly big API or we create an Elm_Icon_Spec that >> allows you to give memfile, edje, evas or string, let this be used to create >> the icon in the required canvas. Or create it and use proxy to image and >> then to a new image in another canvas. :-( > We pretty much have this functionality in elm_icon already, and genlist/gengrid > both use it effectively. There's no reason why toolbar (and other > widgets) shouldn't do the same. >> >> Not that I think this API we have is great. But out of ideas to make it work >> with required use cases. >> >> On Saturday, October 1, 2011, Mike Blumenkrantz <m...@zentific.com> wrote: >> > On Sat, 1 Oct 2011 11:55:50 -0300 >> > Gustavo Sverzut Barbieri <barbi...@profusion.mobi> wrote: >> > >> >> On Saturday, October 1, 2011, Mike Blumenkrantz <m...@zentific.com> >> wrote: >> >> > On Sat, 1 Oct 2011 11:14:34 -0300 >> >> > Gustavo Sverzut Barbieri <barbi...@profusion.mobi> wrote: >> >> > >> >> >> Problem: if we move toolbar to menu, if the menu is implemented as >> >> another >> >> >> window, then another evas, it would fail. This menu thing is a >> expected >> >> >> behavior for both desktop and mobile, but mobiles usually will have it >> in >> >> >> the same window. >> >> > ...what? >> >> >> >> Toolbar with many items in a small viewport. One of the solutions it to >> make >> >> it scrollable (horrible in many cases), or make it a menu (used by >> windows, >> >> kde, gnome, ...). Embedded often creates a list view for it, and even >> allows >> >> the items to be replaced in the toolbar (see iPhone). We're trying to >> >> support these cases, thus the string. >> > That's great, but it isn't really relevant here; icon api supports using a >> > string as well. >> > The point is that currently there is no way to easily do something like >> tinting >> > an icon or loading from memfile aside from the hacky functions that I've >> added >> > in the past week, functions which shouldn't be necessary. >> >> >> >> >> >> >> >> >> >> >> >> On Friday, September 30, 2011, Enlightenment SVN < >> >> no-re...@enlightenment.org> >> >> >> wrote: >> >> >> > Log: >> >> >> > update elm todo >> >> >> > >> >> >> > >> >> >> > Author: discomfitor >> >> >> > Date: 2011-09-29 22:14:48 -0700 (Thu, 29 Sep 2011) >> >> >> > New Revision: 63712 >> >> >> > Trac: http://trac.enlightenment.org/e/changeset/63712 >> >> >> > >> >> >> > Modified: >> >> >> > trunk/elementary/TODO >> >> >> > >> >> >> > Modified: trunk/elementary/TODO >> >> >> > =================================================================== >> >> >> > --- trunk/elementary/TODO 2011-09-30 04:26:58 UTC (rev 63711) >> >> >> > +++ trunk/elementary/TODO 2011-09-30 05:14:48 UTC (rev 63712) >> >> >> > @@ -1,3 +1,7 @@ >> >> >> > Bugs: >> >> >> > pager is not smooth at large sizes >> >> >> > large tooltips do not work with compositing enabled >> >> >> > + >> >> >> > +Things That Just Need To Be Rewritten (tm): >> >> >> > + toolbar icon api is broken, should take an actual elm_icon. >> requires >> >> >> new elm_toolbar_item_update api as well >> >> >> > + panel edc >> >> >> > >> >> >> > >> >> >> > >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> >> > All of the data generated in your IT infrastructure is seriously >> >> valuable. >> >> >> > Why? It contains a definitive record of application performance, >> >> security >> >> >> > threats, fraudulent activity, and more. Splunk takes this data and >> >> makes >> -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel