Mercurial > touhou
comparison pytouhou/ui/sdl/gamerenderer.py @ 590:e15672733c93
Switch to Python 3.x instead of 2.7.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Tue, 30 Sep 2014 17:14:24 +0200 |
parents | 0d7a16e0f834 |
children | d1f0bb0b7a17 |
comparison
equal
deleted
inserted
replaced
589:0768122da817 | 590:e15672733c93 |
---|---|
140 if self.font_manager is None: | 140 if self.font_manager is None: |
141 return | 141 return |
142 | 142 |
143 self.font_manager.load(texts) | 143 self.font_manager.load(texts) |
144 | 144 |
145 for label in texts.itervalues(): | 145 for label in texts.values(): |
146 texture = label.texture | 146 texture = label.texture |
147 | 147 |
148 source = Rect(0, 0, label.width, label.height) | 148 source = Rect(0, 0, label.width, label.height) |
149 rect = Rect(label.x, label.y, label.width, label.height) | 149 rect = Rect(label.x, label.y, label.width, label.height) |
150 | 150 |