| 32 | #include <3ds.h> |
| 33 | |
| 34 | ScriptPickerOverlay::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 | |
| 40 | int ScriptPickerOverlay::rowCount(void) const |
| 41 | { |
nothing calls this directly
no outgoing calls
no test coverage detected