| 4988 | } |
| 4989 | |
| 4990 | bool 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 | |
| 5005 | void ShowStyleEditor(ImPlotStyle* ref) { |
no test coverage detected