Changeset 4052

Show
Ignore:
Timestamp:
05/31/07 12:24:49 (6 years ago)
Author:
DrewCormier
Message:

added pseudocode

Location:
experimental/components/image_display/trunk/image_display
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • experimental/components/image_display/trunk/image_display/WorkModule.py

    r4051 r4052  
    7878                #    print bytesIn[x]                    
    7979                                         
    80                 # put display code here 
     80                # put display code herei 
    8181                # convert bytesIn into a python image 
    82  
     82                #use wx.BitmapFromBits(bits,width,height, depth=-1) 
     83                #or wxBitmapFromXMPData 
     84                # see page 361 of wx book 
     85                #GetData() returns string stuff and SetData  
    8386                # refresh the image  
    8487 
  • experimental/components/image_display/trunk/image_display/image_display.py

    r4051 r4052  
    167167        size = temp.GetWidth(), temp.GetHeight() 
    168168        self.bmp = wx.StaticBitmap(parent=self, bitmap = temp) 
    169  
     169        self.Show() 
    170170 
    171171