| 3015 | } |
| 3016 | |
| 3017 | bool ShowStyleSelector(const char* label) { |
| 3018 | static int style_idx = -1; |
| 3019 | if (ImGui::Combo(label, &style_idx, "Auto\0Classic\0Dark\0Light\0")) { |
| 3020 | switch (style_idx) { |
| 3021 | case 0: StyleColorsAuto(); break; |
| 3022 | case 1: StyleColorsClassic(); break; |
| 3023 | case 2: StyleColorsDark(); break; |
| 3024 | case 3: StyleColorsLight(); break; |
| 3025 | } |
| 3026 | return true; |
| 3027 | } |
| 3028 | return false; |
| 3029 | } |
| 3030 | |
| 3031 | bool ShowColormapSelector(const char* label) { |
| 3032 | ImPlot3DContext& gp = *GImPlot3D; |
no test coverage detected