Show
Ignore:
Timestamp:
04/21/2012 09:39:30 PM (2 years ago)
Author:
ecoughlan
Message:

unused imports and DIM files

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/hoverDescription.py

    r539 r572  
    2727        Window.__init__(self, DIM.POS, True) 
    2828 
    29         self.addImg(Image(DIM.POS, 400, 80, buttonDir + "info_background")) 
     29        self.addImg(Image(DIM.POS, DIM.W, DIM.H, buttonDir + "info_background")) 
    3030 
    31         self.addText(Text((DIM.POS[0] + 5, DIM.POS[1] + 5), 
    32                               text, SM_TEXT, WHITE, width=380)) 
     31        self.addText(Text(DIM.TEXT_POS, text, SM_TEXT, WHITE, DIM.TEXT_W)) 
    3332 
    3433    def render(self, surface):