Make video size resolution dependent at least in the emulator.
This commit is contained in:
parent
08c791849f
commit
69f8d84663
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user