~rmattb1/freeicontospeech/trunk

« back to all changes in this revision

Viewing changes to free_icon-to-speech.py

  • Committer: Matt Barkau
  • Date: 2009-04-05 03:25:42 UTC
  • Revision ID: rmattb1@gmail.com-20090405032542-bybp0qwunirawohp
Changed to generic screen size.

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
        pygame.mouse.set_cursor(a, b, c, d)
102
102
        clock = pygame.time.Clock()
103
103
        # pygame.mixer.init()  # Not used in this version
104
 
        size = (1200,900)  # OLPC XO 1 native resolution
105
104
        if olpcgames.ACTIVITY:
106
105
                size = olpcgames.ACTIVITY.game_size
107
 
        screen = pygame.display.set_mode(size)
 
106
        screen = pygame.display.set_mode(view.Sizes.SCREEN_SIZE)
108
107
        concept_forest = view.ConceptForest()
109
108
        gui = view.Gui(screen, concept_forest)
110
109