MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / drawRowContent

Method drawRowContent

3ds/source/TitlePickerOverlay.cpp:67–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void TitlePickerOverlay::drawRowContent(int k, int rowY, bool selected) const
68{
69 drawIcon(TitleCatalog::get().icon(k, BackupKind::Save), 36, rowY + 1, 24);
70
71 std::string name;
72 TitleCatalog::get().descriptionByIndex(name, k, BackupKind::Save);
73 TextPool& text = TextPool::get();
74 text.draw(text.truncate(name, 290, 0.46f), 66, rowY + 5, 0.46f, selected ? COLOR_TEXT : COLOR_MUTED, OVERLAY_Z);
75}
76
77std::string TitlePickerOverlay::bottomHints(void) const
78{

Callers

nothing calls this directly

Calls 6

drawIconFunction · 0.85
getFunction · 0.85
descriptionByIndexMethod · 0.80
truncateMethod · 0.80
iconMethod · 0.45
drawMethod · 0.45

Tested by

no test coverage detected