MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / ShowInputMapSelector

Function ShowInputMapSelector

Source/3rdParty/implot/implot.cpp:4990–5002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4988}
4989
4990bool ShowInputMapSelector(const char* label) {
4991 static int map_idx = -1;
4992 if (ImGui::Combo(label, &map_idx, "Default\0Reversed\0"))
4993 {
4994 switch (map_idx)
4995 {
4996 case 0: MapInputDefault(); break;
4997 case 1: MapInputReverse(); break;
4998 }
4999 return true;
5000 }
5001 return false;
5002}
5003
5004
5005void ShowStyleEditor(ImPlotStyle* ref) {

Callers 1

Demo_ConfigFunction · 0.85

Calls 3

ComboFunction · 0.85
MapInputDefaultFunction · 0.85
MapInputReverseFunction · 0.85

Tested by

no test coverage detected