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

Method ScriptPickOneOverlay

switch/source/ScriptRequestOverlays.cpp:240–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238/* ---- gui_pick_one ------------------------------------------------------- */
239
240ScriptPickOneOverlay::ScriptPickOneOverlay(Screen& screen, const std::string& prompt, std::vector<std::string> items)
241 : ScriptListOverlay(screen, prompt, items.size()), mItems(std::move(items))
242{
243}
244
245void ScriptPickOneOverlay::drawRow(size_t k, int rowY, bool focused) const
246{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected