Commits

Paul Vincent Craven  committed cadd158

Some minor updates for bugs.

  • Participants
  • Parent commits c175090

Comments (0)

Files changed (2)

File pgreloaded.wpu

         (5,
          9),
         (6,)],
-                                 'selected-nodes': [(5,
-        3,
-        0)],
-                                 'top-node': (4,
-        15)}},
+                                 'selected-nodes': [(3,
+        0,
+        9)],
+                                 'top-node': (3,
+        9)}},
         'tree-style': 'deep'}}),
                               ('snippets',
                                'tall',
                               ('browser',
                                'tall',
                                0,
-                               {'all_tree_states': {loc('../pygame_dev/professor-cravens-pygame-branch/config.py'): {''\
-        'column-widths': [1.0],
+                               {'all_tree_states': {loc('../test.py'): {'col'\
+        'umn-widths': [1.0],
         'expanded-nodes': [],
         'selected-nodes': [],
-        'top-node': [('function def',
-                      loc('../pygame_dev/professor-cravens-pygame-branch/config.py'),
-                      'confirm')]},
+        'top-node': None},
         u'By Module': {'column-widths': [1.0],
                        'expanded-nodes': [],
                        'selected-nodes': [None],
                              'expanded-nodes': [],
                              'selected-nodes': [],
                              'top-node': None},
+        loc('../pygame_dev/professor-cravens-pygame-branch/config.py'): {'co'\
+        'lumn-widths': [1.0],
+        'expanded-nodes': [],
+        'selected-nodes': [],
+        'top-node': [('function def',
+                      loc('../pygame_dev/professor-cravens-pygame-branch/config.py'),
+                      'confirm')]},
         loc('../pygame_dev/professor-cravens-pygame-branch/config_win.py'): {''\
         'column-widths': [1.0],
         'expanded-nodes': [[('class def',
         'top-node': [('generic attribute',
                       loc('../pygame_dev/professor-cravens-pygame-branch/config_win.py'),
                       'd')]},
+        loc('../pygame_dev/professor-cravens-pygame-branch/docs/reST/ref/code_examples/draw_module_example.py'): {''\
+        'column-widths': [1.0],
+        'expanded-nodes': [],
+        'selected-nodes': [],
+        'top-node': [('generic attribute',
+                      loc('../pygame_dev/professor-cravens-pygame-branch/docs/reST/ref/code_examples/draw_module_example.py'),
+                      'black')]},
         loc('../pygame_dev/professor-cravens-pygame-branch/lib/sprite.py'): {''\
         'column-widths': [1.0],
         'expanded-nodes': [],
         'top-node': [('class def',
                       loc('../pygame_dev/professor-cravens-pygame-branch/lib/sprite.py'),
                       'AbstractGroup')]},
-        loc('../test.py'): {'column-widths': [1.0],
-                            'expanded-nodes': [],
-                            'selected-nodes': [],
-                            'top-node': None},
-        loc('../../../Simpson/2013 Spring/student_hg/colegi2000@gmail.com/CMSC_150/Lab 07 - Bitmapped Graphics and User Control/Gipson_Corey_Lab_07/Gipson_Corey_Lab_07_Template.py'): {''\
-        'column-widths': [1.0],
-        'expanded-nodes': [],
-        'selected-nodes': [],
-        'top-node': [('generic attribute',
-                      loc('../../../Simpson/2013 Spring/student_hg/colegi2000@gmail.com/CMSC_150/Lab 07 - Bitmapped Graphics and User Control/Gipson_Corey_Lab_07/Gipson_Corey_Lab_07_Template.py'),
-                      'background')]},
-        loc('../../../../Python32/Lib/site-packages/pygame/sprite.py'): {'co'\
-        'lumn-widths': [1.0],
-        'expanded-nodes': [],
-        'selected-nodes': [],
-        'top-node': [('class def',
-                      loc('../../../../Python32/Lib/site-packages/pygame/sprite.py'),
-                      'AbstractGroup')]},
-        loc('../../../../Python33/Lib/site-packages/pygame2/sdl/render.py'): {''\
-        'column-widths': [1.0],
-        'expanded-nodes': [],
-        'selected-nodes': [],
-        'top-node': [('function def',
-                      loc('../../../../Python33/Lib/site-packages/pygame2/sdl/render.py'),
-                      'create_renderer')]},
-        u'All Classes': {'column-widths': [1.0],
-                         'expanded-nodes': [],
-                         'selected-nodes': [None],
-                         'top-node': None},
-        loc('../pygame_dev/professor-cravens-pygame-branch/docs/reST/ref/code_examples/draw_module_example.py'): {''\
-        'column-widths': [1.0],
-        'expanded-nodes': [],
-        'selected-nodes': [],
-        'top-node': [('generic attribute',
-                      loc('../pygame_dev/professor-cravens-pygame-branch/docs/reST/ref/code_examples/draw_module_example.py'),
-                      'black')]},
         loc('../pysdl/examples/draw_module_example.py'): {'column-widths': [1.0],
         'expanded-nodes': [],
         'selected-nodes': [[('generic attribute',
         'top-node': [('generic attribute',
                       loc('../../pygame_dev/professor-cravens-pygame-branch/docs/reST/ref/code_examples/joystick_calls.py'),
                       'axes')]},
+        loc('../../../Simpson/2013 Spring/student_hg/colegi2000@gmail.com/CMSC_150/Lab 07 - Bitmapped Graphics and User Control/Gipson_Corey_Lab_07/Gipson_Corey_Lab_07_Template.py'): {''\
+        'column-widths': [1.0],
+        'expanded-nodes': [],
+        'selected-nodes': [],
+        'top-node': [('generic attribute',
+                      loc('../../../Simpson/2013 Spring/student_hg/colegi2000@gmail.com/CMSC_150/Lab 07 - Bitmapped Graphics and User Control/Gipson_Corey_Lab_07/Gipson_Corey_Lab_07_Template.py'),
+                      'background')]},
         loc('../../../Simpson/2013 Spring/student_hg/mike.henry@my.simpson.edu/CMSC_150/Lab 07 - Bitmapped Graphics and User Control/ALL THE THINGS/main_program.py'): {''\
         'column-widths': [1.0],
         'expanded-nodes': [],
         'top-node': [('generic attribute',
                       loc('../../AppData/Local/Wing IDE 4/pi-cache/3.2/C/Python32/Lib/site-packages/pygame/base.pi'),
                       '')]},
+        loc('../../../../Python32/Lib/site-packages/pygame/sprite.py'): {'co'\
+        'lumn-widths': [1.0],
+        'expanded-nodes': [],
+        'selected-nodes': [],
+        'top-node': [('class def',
+                      loc('../../../../Python32/Lib/site-packages/pygame/sprite.py'),
+                      'AbstractGroup')]},
         loc('../../../../Python33/Lib/ctypes/__init__.py'): {'column-widths': [1.0],
         'expanded-nodes': [],
         'selected-nodes': [],
         'top-node': [('generic attribute',
                       loc('../../../../Python33/Lib/site-packages/pygame2/dll/32bit/__init__.py'),
                       '')]},
+        loc('../../../../Python33/Lib/site-packages/pygame2/sdl/render.py'): {''\
+        'column-widths': [1.0],
+        'expanded-nodes': [],
+        'selected-nodes': [],
+        'top-node': [('function def',
+                      loc('../../../../Python33/Lib/site-packages/pygame2/sdl/render.py'),
+                      'create_renderer')]},
         loc('../../../../Python33/Lib/site-packages/pygame2/time/__init__.py'): {''\
         'column-widths': [1.0],
         'expanded-nodes': [],
         'top-node': [('function def',
                       loc('../../../../Python33/Lib/site-packages/pygamewrapper/image/__init__.py'),
                       'load')]},
-        loc('unknown:<untitled> #2'): {'column-widths': [1.0],
+        loc('unknown:<untitled> #1'): {'column-widths': [1.0],
+                                       'expanded-nodes': [],
+                                       'selected-nodes': [],
+                                       'top-node': None},
+        loc('unknown:<untitled> #3'): {'column-widths': [1.0],
                                        'expanded-nodes': [],
                                        'selected-nodes': [],
                                        'top-node': [('function def',
-        loc('unknown:<untitled> #1'),
+        loc('unknown:<untitled> #2'),
         'f')]},
-        loc('unknown:<untitled> #4'): {'column-widths': [1.0],
+        loc('unknown:<untitled> #5'): {'column-widths': [1.0],
                                        'expanded-nodes': [],
                                        'selected-nodes': [],
                                        'top-node': [('generic attribute',
-        loc('unknown:<untitled> #3'),
+        loc('unknown:<untitled> #4'),
         'black')]},
-        loc('unknown:<untitled> #5'): {'column-widths': [1.0],
-                                       'expanded-nodes': [],
-                                       'selected-nodes': [],
-                                       'top-node': None}},
+        u'All Classes': {'column-widths': [1.0],
+                         'expanded-nodes': [],
+                         'selected-nodes': [None],
+                         'top-node': None}},
                                 'browse_mode': u'Current Module',
                                 'follow-selection': False,
                                 'sort_mode': 'Alphabetically',
                       'wide',
                       1,
                       {'attrib-starts': [],
-                       'first-line': 2,
+                       'first-line': 0,
                        'folded-linenos': [],
-                       'sel-line': 11,
-                       'sel-line-start': 568,
-                       'selection_end': 568,
-                       'selection_start': 568}),
+                       'sel-line': 9,
+                       'sel-line-start': 372,
+                       'selection_end': 372,
+                       'selection_start': 372}),
                      ('debug-probe',
                       'wide',
                       2,
                                       'expanded-nodes': [],
                                       'selected-nodes': [],
                                       'top-node': (0,)}})],
-        'primary_view_state': {'editor_states': {'bookmarks': ([(loc('pygamewrapper/__init__.py'),
-        {'attrib-starts': [('Rect',
-                            33),
-                           ('Rect.colliderect',
-                            45)],
-         'first-line': 31,
+        'primary_view_state': {'editor_states': {'bookmarks': ([(loc('file:C:/Python33/Lib/site-packages/pygamewrapper/sprite/__init__.py'),
+        {'attrib-starts': [('AbstractGroup',
+                            283),
+                           ('AbstractGroup.draw',
+                            463)],
+         'first-line': 459,
          'folded-linenos': [],
-         'sel-line': 46,
-         'sel-line-start': 1032,
-         'selection_end': 1119,
-         'selection_start': 1119},
-        1364067930.224),
+         'sel-line': 474,
+         'sel-line-start': 17111,
+         'selection_end': 17111,
+         'selection_start': 17111},
+        1364266136.1400001),
+        (loc('file:C:/Python33/Lib/site-packages/pygamewrapper/display/__init__.py'),
+         {'attrib-starts': [('Window',
+                             13),
+                            ('Window.blit',
+                             27)],
+          'first-line': 21,
+          'folded-linenos': [],
+          'sel-line': 39,
+          'sel-line-start': 1062,
+          'selection_end': 1062,
+          'selection_start': 1062},
+         1364266139.911),
         (loc('setup.py'),
          {'attrib-starts': [],
           'first-line': 30,
           'sel-line-start': 1519,
           'selection_end': 1554,
           'selection_start': 1554},
-         1364067932.395),
+         1364266239.7449999),
         (loc('pygamewrapper/sprite/__init__.py'),
          {'attrib-starts': [],
-          'first-line': 90,
+          'first-line': 255,
           'folded-linenos': [],
           'sel-line': 90,
           'sel-line-start': 4305,
           'selection_end': 4305,
           'selection_start': 4305},
-         1364067934.2190001),
+         1364266240.665),
+        (loc('pygamewrapper/__init__.py'),
+         {'attrib-starts': [('Surface',
+                             60),
+                            ('Surface.__init__',
+                             67)],
+          'first-line': 62,
+          'folded-linenos': [],
+          'sel-line': 70,
+          'sel-line-start': 1517,
+          'selection_end': 1524,
+          'selection_start': 1524},
+         1364266246.9419999),
         (loc('setup.py'),
          {'attrib-starts': [],
           'first-line': 30,
           'sel-line-start': 1519,
           'selection_end': 1554,
           'selection_start': 1554},
-         1364067937.473),
+         1364266287.069),
+        (loc('examples/pygamewrapper/draw_module_example.py'),
+         {'attrib-starts': [],
+          'first-line': 0,
+          'folded-linenos': [],
+          'sel-line': 26,
+          'sel-line-start': 589,
+          'selection_end': 594,
+          'selection_start': 594},
+         1364266317.7260001),
         (loc('pygamewrapper/__init__.py'),
          {'attrib-starts': [('Surface',
-                             49),
+                             60),
                             ('Surface.__init__',
-                             56)],
-          'first-line': 38,
+                             67)],
+          'first-line': 62,
           'folded-linenos': [],
-          'sel-line': 60,
-          'sel-line-start': 1420,
-          'selection_end': 1465,
-          'selection_start': 1465},
-         1364067938.096),
-        (loc('setup.py'),
+          'sel-line': 70,
+          'sel-line-start': 1517,
+          'selection_end': 1524,
+          'selection_start': 1524},
+         1364266318.4530001),
+        (loc('examples/pygamewrapper/bounce_ball_with_paddle.py'),
          {'attrib-starts': [],
-          'first-line': 30,
+          'first-line': 203,
           'folded-linenos': [],
-          'sel-line': 47,
-          'sel-line-start': 1519,
-          'selection_end': 1554,
-          'selection_start': 1554},
-         1364067988.944),
+          'sel-line': 225,
+          'sel-line-start': 7151,
+          'selection_end': 7151,
+          'selection_start': 7151},
+         1364266326.477),
+        (loc('file:C:/Python33/Lib/site-packages/pygame2/sdl/render.py'),
+         {'attrib-starts': [('render_copy',
+                             680)],
+          'first-line': 671,
+          'folded-linenos': [],
+          'sel-line': 693,
+          'sel-line-start': 26529,
+          'selection_end': 26529,
+          'selection_start': 26529},
+         1364266328.687),
         (loc('examples/pygamewrapper/bounce_ball_with_paddle.py'),
          {'attrib-starts': [],
-          'first-line': 135,
+          'first-line': 203,
           'folded-linenos': [],
-          'sel-line': 143,
-          'sel-line-start': 4858,
-          'selection_end': 4858,
-          'selection_start': 4858},
-         1364067993.03),
-        (loc('file:C:/Python33/Lib/site-packages/pygamewrapper/display/__init__.py'),
-         {'attrib-starts': [('Window',
-                             13),
-                            ('Window.blit',
-                             27)],
-          'first-line': 21,
+          'sel-line': 225,
+          'sel-line-start': 7151,
+          'selection_end': 7151,
+          'selection_start': 7151},
+         1364266341.9879999),
+        (loc('file:C:/Python33/Lib/site-packages/pygame2/sdl/render.py'),
+         {'attrib-starts': [('render_copy',
+                             680)],
+          'first-line': 671,
           'folded-linenos': [],
-          'sel-line': 35,
-          'sel-line-start': 953,
-          'selection_end': 953,
-          'selection_start': 953},
-         1364067995.4590001),
-        (loc('file:C:/Python33/Lib/site-packages/pygamewrapper/sprite/__init__.py'),
-         {'attrib-starts': [('AbstractGroup',
-                             283),
-                            ('AbstractGroup.draw',
-                             463)],
-          'first-line': 469,
+          'sel-line': 693,
+          'sel-line-start': 26529,
+          'selection_end': 26529,
+          'selection_start': 26529},
+         1364266344.608),
+        (loc('file:C:/Python33/Lib/site-packages/pygame2/sdl/render.py'),
+         {'attrib-starts': [('render_copy',
+                             680)],
+          'first-line': 671,
           'folded-linenos': [],
-          'sel-line': 474,
-          'sel-line-start': 17111,
-          'selection_end': 17111,
-          'selection_start': 17111},
-         1364068042.9419999),
+          'sel-line': 693,
+          'sel-line-start': 26529,
+          'selection_end': 26529,
+          'selection_start': 26529},
+         1364266346.421),
         (loc('file:C:/Python33/Lib/site-packages/pygamewrapper/display/__init__.py'),
          {'attrib-starts': [('Window',
                              13),
                              27)],
           'first-line': 21,
           'folded-linenos': [],
-          'sel-line': 35,
-          'sel-line-start': 953,
-          'selection_end': 953,
-          'selection_start': 953},
-         1364068052.7360001),
-        [loc('pygamewrapper/joystick/__init__.py'),
-         {'attrib-starts': [('get_count',
-                             2)],
-          'first-line': 0,
+          'sel-line': 39,
+          'sel-line-start': 1062,
+          'selection_end': 1062,
+          'selection_start': 1062},
+         1364266347.9879999),
+        (loc('file:C:/Python33/Lib/site-packages/pygame2/sdl/render.py'),
+         {'attrib-starts': [('render_copy',
+                             680)],
+          'first-line': 671,
           'folded-linenos': [],
-          'sel-line': 3,
-          'sel-line-start': 49,
-          'selection_end': 105,
-          'selection_start': 105},
-         1364068064.069],
+          'sel-line': 693,
+          'sel-line-start': 26529,
+          'selection_end': 26529,
+          'selection_start': 26529},
+         1364266354.451),
         (loc('file:C:/Python33/Lib/site-packages/pygamewrapper/display/__init__.py'),
          {'attrib-starts': [('Window',
                              13),
-                            ('Window.blit',
-                             27)],
+                            ('Window.fill',
+                             22)],
           'first-line': 21,
           'folded-linenos': [],
-          'sel-line': 35,
-          'sel-line-start': 953,
-          'selection_end': 953,
-          'selection_start': 953},
-         1364068065.448),
-        [loc('pygamewrapper/image/__init__.py'),
+          'sel-line': 22,
+          'sel-line-start': 538,
+          'selection_end': 561,
+          'selection_start': 561},
+         1364266492.388),
+        (loc('setup.py'),
          {'attrib-starts': [],
-          'first-line': 0,
+          'first-line': 30,
           'folded-linenos': [],
-          'sel-line': 4,
-          'sel-line-start': 91,
-          'selection_end': 91,
-          'selection_start': 91},
-         1364068065.974],
-        (loc('file:C:/Python33/Lib/site-packages/pygamewrapper/display/__init__.py'),
+          'sel-line': 47,
+          'sel-line-start': 1519,
+          'selection_end': 1554,
+          'selection_start': 1554},
+         1364266515.2709999),
+        [loc('file:C:/Python33/Lib/site-packages/pygamewrapper/display/__init__.py'),
          {'attrib-starts': [('Window',
                              13),
-                            ('Window.blit',
-                             27)],
+                            ('Window.fill',
+                             22)],
           'first-line': 21,
           'folded-linenos': [],
-          'sel-line': 35,
-          'sel-line-start': 953,
-          'selection_end': 953,
-          'selection_start': 953},
-         1364068066.4719999),
-        (loc('examples/pygamewrapper/bitmapped_graphics.py'),
-         {'attrib-starts': [],
-          'first-line': 15,
-          'folded-linenos': [],
-          'sel-line': 31,
-          'sel-line-start': 815,
-          'selection_end': 815,
-          'selection_start': 815},
-         1364068085.727),
-        [loc('file:C:/Python33/Lib/site-packages/pygamewrapper/image/__init__.py'),
-         {'attrib-starts': [],
-          'first-line': 0,
-          'folded-linenos': [],
-          'sel-line': 0,
-          'sel-line-start': 0,
-          'selection_end': 0,
-          'selection_start': 0},
-         1364068089.4619999],
-        (loc('examples/pygamewrapper/bitmapped_graphics.py'),
-         {'attrib-starts': [],
-          'first-line': 15,
-          'folded-linenos': [],
-          'sel-line': 31,
-          'sel-line-start': 815,
-          'selection_end': 815,
-          'selection_start': 815},
-         1364068112.585),
-        (loc('pygamewrapper/image/__init__.py'),
-         {'attrib-starts': [],
-          'first-line': 0,
-          'folded-linenos': [],
-          'sel-line': 5,
-          'sel-line-start': 113,
-          'selection_end': 113,
-          'selection_start': 113},
-         1364068117.256),
+          'sel-line': 22,
+          'sel-line-start': 538,
+          'selection_end': 561,
+          'selection_start': 561},
+         1364266520.273],
         (loc('setup.py'),
          {'attrib-starts': [],
           'first-line': 30,
           'sel-line-start': 1519,
           'selection_end': 1554,
           'selection_start': 1554},
-         1364068130.812),
-        [loc('examples/pygamewrapper/bitmapped_graphics.py'),
+         1364266526.5710001),
+        [loc('examples/pygamewrapper/bounce_ball_with_paddle.py'),
          {'attrib-starts': [],
-          'first-line': 15,
+          'first-line': 203,
           'folded-linenos': [],
-          'sel-line': 31,
-          'sel-line-start': 815,
-          'selection_end': 815,
-          'selection_start': 815},
-         1364068134.987]],
+          'sel-line': 225,
+          'sel-line-start': 7151,
+          'selection_end': 7151,
+          'selection_start': 7151},
+         1364267092.408]],
         19),
-        'current-loc': loc('examples/pygamewrapper/bitmapped_graphics.py'),
-        'editor-states': {loc('examples/pygamewrapper/bitmapped_graphics.py'): {''\
+        'current-loc': loc('examples/pygamewrapper/bounce_ball_with_paddle.py'),
+        'editor-states': {loc('file:C:/Python33/Lib/site-packages/pygame2/sdl/render.py'): {''\
+        'attrib-starts': [('render_copy',
+                           680)],
+        'first-line': 671,
+        'folded-linenos': [],
+        'sel-line': 693,
+        'sel-line-start': 26529,
+        'selection_end': 26529,
+        'selection_start': 26529},
+                          loc('examples/pygamewrapper/bitmapped_graphics.py'): {''\
         'attrib-starts': [],
         'first-line': 15,
         'folded-linenos': [],
         'selection_start': 815},
                           loc('examples/pygamewrapper/bounce_ball_with_paddle.py'): {''\
         'attrib-starts': [],
-        'first-line': 135,
+        'first-line': 203,
         'folded-linenos': [],
-        'sel-line': 143,
-        'sel-line-start': 4858,
-        'selection_end': 4858,
-        'selection_start': 4858},
+        'sel-line': 225,
+        'sel-line-start': 7151,
+        'selection_end': 7151,
+        'selection_start': 7151},
                           loc('examples/pygamewrapper/draw_module_example.py'): {''\
         'attrib-starts': [],
         'first-line': 0,
         'selection_start': 594},
                           loc('pygamewrapper/__init__.py'): {'attrib-starts': [(''\
         'Surface',
-        49),
+        60),
         ('Surface.__init__',
-         56)],
-        'first-line': 38,
+         67)],
+        'first-line': 62,
         'folded-linenos': [],
-        'sel-line': 60,
-        'sel-line-start': 1420,
-        'selection_end': 1465,
-        'selection_start': 1465},
+        'sel-line': 70,
+        'sel-line-start': 1517,
+        'selection_end': 1524,
+        'selection_start': 1524},
                           loc('pygamewrapper/image/__init__.py'): {'attrib-s'\
         'tarts': [],
         'first-line': 0,
         'selection_start': 113},
                           loc('pygamewrapper/sprite/__init__.py'): {'attrib-'\
         'starts': [],
-        'first-line': 90,
+        'first-line': 255,
         'folded-linenos': [],
         'sel-line': 90,
         'sel-line-start': 4305,
         'selection_start': 1554}},
         'has-focus': True,
         'locked': False},
-                               'open_files': [u'examples/pygamewrapper/draw_module_example.py',
+                               'open_files': [u'examples/pygamewrapper/bitmapped_graphics.py',
+        u'pygamewrapper/image/__init__.py',
         u'pygamewrapper/sprite/__init__.py',
+        u'examples/pygamewrapper/draw_module_example.py',
         u'pygamewrapper/__init__.py',
-        u'examples/pygamewrapper/bounce_ball_with_paddle.py',
-        u'pygamewrapper/image/__init__.py',
         u'setup.py',
-        u'examples/pygamewrapper/bitmapped_graphics.py']},
+        u'examples/pygamewrapper/bounce_ball_with_paddle.py']},
         'saved_notebook_display': None,
         'split_percents': {0: 0.40923076923076923},
         'splits': 2,
                          31,
                          1618,
                          870)}]}
-guimgr.recent-documents = [loc('examples/pygamewrapper/bitmapped_graphics.py'),
+guimgr.recent-documents = [loc('examples/pygamewrapper/bounce_ball_with_paddle.py'),
                            loc('setup.py'),
-                           loc('pygamewrapper/image/__init__.py'),
-                           loc('examples/pygamewrapper/bounce_ball_with_paddle.py'),
+                           loc('file:C:/Python33/Lib/site-packages/pygame2/sdl/render.py'),
                            loc('pygamewrapper/__init__.py'),
+                           loc('examples/pygamewrapper/draw_module_example.py'),
                            loc('pygamewrapper/sprite/__init__.py'),
-                           loc('examples/pygamewrapper/draw_module_example.py')]
+                           loc('pygamewrapper/image/__init__.py'),
+                           loc('examples/pygamewrapper/bitmapped_graphics.py')]
 guimgr.visual-state = {loc('file:C:/Python33/Lib/site-packages/pygame2/openal/al.py'): {''\
         'attrib-starts': [('_raise_error_or_continue',
                            130)],
                        loc('file:C:/Python33/Lib/site-packages/pygamewrapper/display/__init__.py'): {''\
         'attrib-starts': [('Window',
                            13),
-                          ('Window.blit',
-                           27)],
+                          ('Window.fill',
+                           22)],
         'first-line': 21,
         'folded-linenos': [],
-        'sel-line': 35,
-        'sel-line-start': 953,
-        'selection_end': 953,
-        'selection_start': 953},
+        'sel-line': 22,
+        'sel-line-start': 538,
+        'selection_end': 561,
+        'selection_start': 561},
                        loc('file:C:/Python33/Lib/site-packages/pygamewrapper/image/__init__.py'): {''\
         'attrib-starts': [],
         'first-line': 0,
                            283),
                           ('AbstractGroup.draw',
                            463)],
-        'first-line': 469,
+        'first-line': 459,
         'folded-linenos': [],
         'sel-line': 474,
         'sel-line-start': 17111,

File pygamewrapper/__init__.py

 	w = 0
 	h = 0
 	
+	def __getitem__(self,key):
+		if key == 0:
+			return self.x
+		if key == 1:
+			return self.y
+		if key == 2:
+			return self.w
+		if key == 3:
+			return self.w
+		raise IndexError()
+		
 	def __init__(self, x, y, w, h):
 		self.x = x
 		self.y = y
 			return True
 						
 class Surface():
-	my_surface = None
-	my_texture = None
+	surface = None
+	texture = None
 	rect = None
 	width = 0
 	height = 0
 	def __init__(self, size):
 		self.width = size[0]
 		self.height = size[1]
-		self.my_surface = pygame2.sdl.surface.create_rgb_surface(self.width, self.height, 8)
+		self.surface = pygame2.sdl.surface.create_rgb_surface(self.width, self.height, 8)
 		self.rect = Rect(0,0,self.width,self.height)
 
 		
 		rect.y = 0
 		rect.h = self.rect.h
 		rect.w = self.rect.w
-		pygame2.sdl.surface.fill_rect(self.my_surface, rect, pygamewrapper.get_int_color(color) )
+		pygame2.sdl.surface.fill_rect(self.surface, rect, pygamewrapper.get_int_color(color) )
+		# self.texture = something needs to go here.
 	
 	def get_rect(self):
 		return self.rect