def render_img(self, buf, addr, mouse_offs):
colors = []
for offs in xrange(len(buf)):
r = g = b = 0
c = ord(buf[offs]) & 0xFF
ea = addr + offs
f = get_func(ea)
if f:
g = b = c
elif self._is_string(ea):
g = c
else:
r = g = b = c
colors.append(qRgb(r, g, b))
return colors
评论列表
文章目录