<br><br><div class="gmail_quote">On Mon, Jun 20, 2011 at 8:31 AM, Esteban Bordón <span dir="ltr"><<a href="mailto:ebordon@plan.ceibal.edu.uy" target="_blank">ebordon@plan.ceibal.edu.uy</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Related to <a href="http://bugs.sugarlabs.org/ticket/2900" target="_blank">http://bugs.sugarlabs.org/ticket/2900</a><br><br>Index: CartoonBuilder.activity/theme.py<br>===================================================================<br>
--- CartoonBuilder.activity.orig/theme.py<br>+++ CartoonBuilder.activity/theme.py<br>@@ -25,23 +25,23 @@ SOUND_SPEAKER = 'images/sounds/speaker.p<br> SOUND_MUTE = 'images/sounds/mute.png'<br> SOUND_CUSTOM = 'images/sounds/custom.png'<br>
<br>-LOGO_WIDTH = 275<br>+LOGO_WIDTH = style.zoom(275)<br> TAPE_COUNT = 11<br> FRAME_COUNT = 14<br> <br> DESKTOP_WIDTH = gtk.gdk.screen_width()<br> DESKTOP_HEIGHT = gtk.gdk.screen_height() - style.LARGE_ICON_SIZE<br> <br>
-THUMB_SIZE = min(100, DESKTOP_WIDTH / (TAPE_COUNT+1))<br>+THUMB_SIZE = style.zoom(min(100, DESKTOP_WIDTH / (TAPE_COUNT+1)))<br> <br>-FRAME_COLS = max(1, ((DESKTOP_WIDTH-LOGO_WIDTH) -<br>+FRAME_COLS = style.zoom(max(1, ((DESKTOP_WIDTH-LOGO_WIDTH) -<br>
min(DESKTOP_HEIGHT-THUMB_SIZE-THUMB_SIZE/2, DESKTOP_WIDTH-LOGO_WIDTH))<br>- / THUMB_SIZE)<br>+ / THUMB_SIZE))<br> <br> FRAME_ROWS = max((DESKTOP_HEIGHT - THUMB_SIZE*3) / THUMB_SIZE,<br> int(ceil(float(FRAME_COUNT) / FRAME_COLS)))<br>
<br>-BORDER_WIDTH = 10<br>+BORDER_WIDTH = style.zoom(10)<br> <br> # Colors from the Rich's UI design<br></blockquote><div><br></div><div>Unfortunately this activity seems abandoned, though</div><div>latest releases were made by Aleksey. would be better to ask him the way to go forward. </div>
<div><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br>