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

Method ScriptPickerOverlay

3ds/source/ScriptPickerOverlay.cpp:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32#include <3ds.h>
33
34ScriptPickerOverlay::ScriptPickerOverlay(Screen& screen, std::vector<ScriptCatalog::Entry> entries, const std::string& titleTag,
35 const std::function<void(const ScriptCatalog::Entry&)>& onPick)
36 : ListPickerOverlay(screen, i18n::t("scripts.pick_prompt"), 48, 28, 0.5f), mEntries(std::move(entries)), mTitleTag(titleTag), mOnPick(onPick)
37{
38}
39
40int ScriptPickerOverlay::rowCount(void) const
41{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected