| 4954 | } |
| 4955 | |
| 4956 | bool ShowStyleSelector(const char* label) |
| 4957 | { |
| 4958 | static int style_idx = -1; |
| 4959 | if (ImGui::Combo(label, &style_idx, "Auto\0Classic\0Dark\0Light\0")) |
| 4960 | { |
| 4961 | switch (style_idx) |
| 4962 | { |
| 4963 | case 0: StyleColorsAuto(); break; |
| 4964 | case 1: StyleColorsClassic(); break; |
| 4965 | case 2: StyleColorsDark(); break; |
| 4966 | case 3: StyleColorsLight(); break; |
| 4967 | } |
| 4968 | return true; |
| 4969 | } |
| 4970 | return false; |
| 4971 | } |
| 4972 | |
| 4973 | bool ShowColormapSelector(const char* label) { |
| 4974 | ImPlotContext& gp = *GImPlot; |
no test coverage detected