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

Method visibleRows

switch/source/ScriptRequestOverlays.cpp:185–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185int ScriptListOverlay::visibleRows(void) const
186{
187 // The list ends where the hint band starts; there is no button row here.
188 const int room = ScriptTile::uiBodyBottom() - (ScriptTile::UI_Y + ScriptTile::HEADER_H + 18);
189 return std::max(1, room / (ROW_H + ROW_GAP));
190}
191
192std::string ScriptListOverlay::headerNote(void) const
193{

Callers

nothing calls this directly

Calls 1

uiBodyBottomFunction · 0.50

Tested by

no test coverage detected