Advertisement
nux95

sd

Sep 22nd, 2011
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.37 KB | None | 0 0
  1. Renderable
  2.     - View
  3.         - SectionList
  4.  
  5.  
  6. class SectionList(View):
  7.     def render(self, area, msg, x1, y1, x2, y2):
  8.         View.renderBackground(self, area, x1, y1, x2, y2)
  9.         for section in self._sections:
  10.             section.render(area, msg, x1, y1, x2, y2)
  11.  
  12.         # instead of View.render()
  13.         Renderable.render(self, area, msg, x1, y1, x2, y2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement