Make video size resolution dependent at least in the emulator.

This commit is contained in:
Marco Pesenti Gritti 2007-03-02 20:39:29 +01:00
parent 08c791849f
commit 69f8d84663

View File

@ -32,9 +32,12 @@ from sugar.graphics import iconbutton
import colorpicker
_VIDEO_WIDTH = 640
_VIDEO_HEIGHT = 480
if env.is_emulator():
_VIDEO_WIDTH = units.points_to_pixels(120)
_VIDEO_HEIGHT = units.points_to_pixels(120)
else:
_VIDEO_WIDTH = 640
_VIDEO_HEIGHT = 480
class IntroImage(gtk.EventBox):
__gtype_name__ = "IntroImage"