MCPcopy Create free account
hub / github.com/MrDrElliot/LuminaEngine / ShowInputMapSelector

Function ShowInputMapSelector

Engine/Source/ThirdParty/imgui/implot.cpp:4918–4930  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4916}
4917
4918bool ShowInputMapSelector(const char* label) {
4919 static int map_idx = -1;
4920 if (ImGui::Combo(label, &map_idx, "Default\0Reversed\0"))
4921 {
4922 switch (map_idx)
4923 {
4924 case 0: MapInputDefault(); break;
4925 case 1: MapInputReverse(); break;
4926 }
4927 return true;
4928 }
4929 return false;
4930}
4931
4932
4933void ShowStyleEditor(ImPlotStyle* ref) {

Callers 1

Demo_ConfigFunction · 0.85

Calls 2

MapInputDefaultFunction · 0.85
MapInputReverseFunction · 0.85

Tested by

no test coverage detected