<div dir="ltr"><div><span style="font-size:12.8px">G'day James,</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><br></div><div>The resolution of the notebook is 1280x800.</div><div><br></div><div>Thank you for giving me the necessary considerations for the adaptation.</div><div><br></div><div><br></div><div>Regards!<br></div><div>Raul Benitez</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-11 18:58 GMT-04:00 James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">G'day Raul,<br>
<br>
SuperChef-2 depends on 1200x900 resolution of the OLPC XO, and uses<br>
image instead of vector graphics.<br>
<br>
Your notebooks may be a different resolution.  As a result, images may<br>
be positioned outside display boundary.  What is the resolution?<br>
<br>
The author did not write the program for different resolutions.<br>
<br>
Also, absolute coordinates have been used, instead of relative<br>
coordinates.<br>
<br>
SuperChef might be fixed by;<br>
<br>
1.  resize each of the background images in res/background/*.png,<br>
although these images do not have source code so resizing will require<br>
artistic care of a graphic designer,<br>
<br>
2.  for each of the buttons that do not display completely, change<br>
drawing coordinates, see class ScreenSelectGender and line 1699 of<br>
View.py<br>
<br>
3.  cascade to change mouse action detection coordinates, such as<br>
line 1572,<br>
<br>
4.  or add calculation of coordinates using display resolution instead<br>
of asserting 1200x900 resolution.<br>
<br>
It looks like several hours or days of work for a programmer.<br>
<br>
While doing this work, please consider internationalisation; at the<br>
moment the images contain text in one language only.<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Aug 11, 2017 at 12:17:56PM -0400, Raul Benitez wrote:<br>
> Hi all<br>
><br>
> I installed Sugar 0.108 through SoaS 25, installed in notebooks.<br>
><br>
> The problem is the following:<br>
><br>
> The background images and the buttons to select surpass the screen, so for this<br>
> example the "Child" and "Girl" buttons are not displayed completely. Another<br>
> example is the "Serve Dish" button that can not be displayed on the screen when<br>
> it comes to advancing.<br>
><br>
> The last lines of the error log is:<br>
><br>
> ** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)<br>
> 1502133820.791122 WARNING root: KeepButton has been deprecated since Sugar 0.94<br>
> and should not be used in newly written code.<br>
> 1502133820.794311 WARNING root: No gtk.AccelGroup in the top level window.<br>
> libpng warning: iCCP: known incorrect sRGB profile<br>
><br>
> I tried to change the screen resolution in the source code /SuperChef.activity/<br>
> src/View.py but because I tried changing different resolutions does not give<br>
> results.<br>
><br>
> I need direction and assistance to be able to debug and fix it myself, please.<br>
><br>
> I need to make it work for use in a school.<br>
><br>
> Thanks!<br>
> Raul Benitez<br>
<br>
--<br>
</div></div><span class="HOEnZb"><font color="#888888">James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px"><img src="https://docs.google.com/uc?export=download&id=0B1HxczERk5plVC1PLUlUd3hjZzQ&revid=0B1HxczERk5plN0JCdXpuQUs4U1lkNU1lQ2NCaGtiNkV0emcwPQ" width="420" height="171"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>