<div dir="ltr">+1</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 13, 2014 at 12:36 PM, Daniel Narvaez <span dir="ltr"><<a href="mailto:dwnarvaez@gmail.com" target="_blank">dwnarvaez@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im">On 13 January 2014 16:19, Gonzalo Odiard <span dir="ltr"><<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>></span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<div><div><br></div></div><div>To make sure we are on the same page... I think the icon_size parameter should be supported (by converting internally to the appropriate pixel size) but deprecated. And thus patches that get rid of icon_size usage in core or activities are welcome. <br>



</div></div>
</div></div>
</blockquote></div><div class="gmail_extra"><br></div></div>My point was about the naming of the parameter only, but I assume, we will be setting the size in pixels,</div><div class="gmail_extra">and the constants defined in the toolkit will calculate the number of pixels needed according to screen resolution,</div>


<div class="gmail_extra">then, do not have too much sense discuss about it.</div></div></blockquote><div><br></div></div><div>If we was designing the API today I would just call the parameter size I think, but the documentation would say it is pixel.<br>

<br>It's a bit of a complicated discussion because we have not agreed on a clear plan on resolution independence going forward. Though, as I see it, there are two things that will affect the physicall pixel size of an icon<br>

<br></div><div>1 The "theme" which is used. i.e. the value assigned to style.STANDARD_ICON_SIZE for example.<br></div><div>2 The ratio between the logical pixels and the physical pixels.<br><br></div><div>For similar devices, say standard laptop screens, we don't even need 1. So I think it has to be possible to pass logical pixels to the API, not everything goes necessary through the theme.<br>

<br></div><div>(I'm mostly bringing this up for the sake of starting a discussion about proper support for resolution independence)<br></div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div class="gmail_extra">What we need is a way to publish these changes and what should be done, when is decided.</div>
<div class="gmail_extra">(like with GCOnf to GSettings and other changes) </div></div></blockquote><div><br></div></div><div>Yes, maybe we need a page on sugar-docs where, for each major release, we list deprecated API's and suggest how to deal with it. <br>

</div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Learning Software for children<br></div></div>
</div>