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

Method contentRowCount

3ds/source/SettingsScreen.cpp:182–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182size_t SettingsScreen::contentRowCount(size_t section) const
183{
184 switch (section) {
185 case SEC_GENERAL:
186 return GENERAL_ROW_TOTAL;
187 case SEC_LIBRARY:
188 return mLibraryRows.size();
189 case SEC_FOLDERS:
190 return mFolderRows.size();
191 case SEC_NETWORK:
192 return 3; // FTP-server toggle, default receive PIN, server port
193 default:
194 return 0;
195 }
196}
197
198void SettingsScreen::drawHints(int screenW, int y, const std::string& text) const
199{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected