comparison gamelib/widgets.py @ 351:837728b3cbf4

Switch to DejaVuSansMono, which has less licencing issues than chintzy
author Stefano Rivera <stefano@rivera.za.net>
date Sat, 28 Aug 2010 15:39:39 +0200
parents 3476e8f3b100
children 92cc50d7ce7a
comparison
equal deleted inserted replaced
350:125cb389ab90 351:837728b3cbf4
66 self.border_width = 1 66 self.border_width = 1
67 self.border_color = (0, 0, 0) 67 self.border_color = (0, 0, 0)
68 self.bg_color = (127, 127, 127) 68 self.bg_color = (127, 127, 127)
69 self.fg_color = (0, 0, 0) 69 self.fg_color = (0, 0, 0)
70 if style == "JIM": 70 if style == "JIM":
71 self.set(font=get_font(20, "chintzy.ttf")) 71 self.set(font=get_font(20, "DejaVuSansMono.ttf"))
72 self.bg_color = Color(255, 127, 127, 207) 72 self.bg_color = Color(255, 127, 127, 207)
73 self.fg_color = (0, 0, 0) 73 self.fg_color = (0, 0, 0)
74 self.border_color = (127, 0, 0) 74 self.border_color = (127, 0, 0)
75 75
76 def draw_all(self, surface): 76 def draw_all(self, surface):