| 4916 | } |
| 4917 | |
| 4918 | bool 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 | |
| 4933 | void ShowStyleEditor(ImPlotStyle* ref) { |
no test coverage detected