From 8d9defe8c15fb4cee034eec15939c7602272a5eb Mon Sep 17 00:00:00 2001 From: florent Date: Thu, 24 Feb 2011 17:02:10 +0000 Subject: fix bad default sise: 1024x516 --- diff --git a/atoidepoc/ui/screens.py b/atoidepoc/ui/screens.py index 588895b..19463e8 100644 --- a/atoidepoc/ui/screens.py +++ b/atoidepoc/ui/screens.py @@ -123,7 +123,7 @@ MAISONS_KEYS = [(0, 0), (0, 0.2), (0.2, 0.4), (0, 0.2), (0.2, 0), (-0.2, 0.2), (0, 0.4), (0.2, 0.6), (0, 0.8), (0, 0.6), (0, 0.4), (-0.2, 0.2), (-0.2, 0.2), (0, 0)] -CIEL_KEYS = [(0, -1.8) for _i in range(24)] +CIEL_KEYS = [(0, -8) for _i in range(24)] BOTTOM_KEYS = [(0, 1.56) for _i in range(24)] @@ -296,15 +296,15 @@ class ScreenStory(gtk.Fixed): # if self.fullscreen is True: _scene_with = self._screen_width - _scene_height = 468 * _scene_with / 1024.0 + _scene_height = 516 * _scene_with / 1024.0 else: _scene_with = 1024 - _scene_height = 468 + _scene_height = 516 # update x _x = ((self._screen_width - width) / 2) _x += int(x * _scene_with / 100.0) # update y - _y = ((self._screen_height - height - + 88) / 2) + _y = ((self._screen_height - height - 88) / 2) _y += int(y * _scene_height / 100.0) # return it return _x, _y diff --git a/docs/img/src/mask_default.svg b/docs/img/src/mask_default.svg index 0152976..5b154ac 100644 --- a/docs/img/src/mask_default.svg +++ b/docs/img/src/mask_default.svg @@ -14,7 +14,10 @@ id="svg2" version="1.1" inkscape:version="0.47 r22583" - sodipodi:docname="mask_default.svg"> + sodipodi:docname="mask_default.svg" + inkscape:export-filename="/home/florent/Dev/Src/Python/OLPC/atoidepoc/docs/img/src/mask_default.png" + inkscape:export-xdpi="90.00679" + inkscape:export-ydpi="90.00679"> + id="rect2816" /> diff --git a/static/graphics/OVERLAY.png b/static/graphics/OVERLAY.png index d539424..240a934 100644 --- a/static/graphics/OVERLAY.png +++ b/static/graphics/OVERLAY.png Binary files differ diff --git a/static/graphics/ROUTE.png b/static/graphics/ROUTE.png index 3442fbd..bc78262 100644 --- a/static/graphics/ROUTE.png +++ b/static/graphics/ROUTE.png Binary files differ diff --git a/static/graphics/mask_default.png b/static/graphics/mask_default.png index 5e9c1d1..0674dcb 100644 --- a/static/graphics/mask_default.png +++ b/static/graphics/mask_default.png Binary files differ -- cgit v0.9.1