MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _show_message

Method _show_message

pager/pager_menu.py:301–306  ·  view source on GitHub ↗
(self, text, color, subtext=None, subcolor=None)

Source from the content-addressed store, hash-verified

299 return None
300
301 def _show_message(self, text, color, subtext=None, subcolor=None):
302 self.gfx.clear(Pager.BLACK)
303 self.gfx.draw_ttf_centered(80, text, color, FONT_DEJAVU, TTF_LARGE)
304 if subtext and subcolor:
305 self.gfx.draw_ttf_centered(115, subtext, subcolor, FONT_DEJAVU, TTF_SMALL)
306 self.gfx.flip()
307
308 def _show_clear_data_menu(self):
309 selected = 0

Callers 6

show_main_menuMethod · 0.95
_clear_logsMethod · 0.95
_clear_credentialsMethod · 0.95
_clear_stolenMethod · 0.95
_clear_allMethod · 0.95
mainFunction · 0.95

Calls 3

clearMethod · 0.45
draw_ttf_centeredMethod · 0.45
flipMethod · 0.45

Tested by

no test coverage detected