MCPcopy Create free account
hub / github.com/bluescan/tacentview / Text_ArrayGetter

Method Text_ArrayGetter

Src/GuiUtil.cpp:215–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213
214
215bool Gutil::Text_ArrayGetter(void* data, int idx, const char** outText)
216{
217 const char* const* texts = (const char* const*)data;
218 if (outText)
219 *outText = texts[idx];
220 return true;
221}
222
223
224bool Gutil::Combo(const char* label, int* currentItem, const char* const items[], const char* const descs[], int itemsCount, int heightInItems)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected