| 6045 | } |
| 6046 | |
| 6047 | bool ImGui::ColorPicker3(const char* label, float col[3], ImGuiColorEditFlags flags) |
| 6048 | { |
| 6049 | float col4[4] = { col[0], col[1], col[2], 1.0f }; |
| 6050 | if (!ColorPicker4(label, col4, flags | ImGuiColorEditFlags_NoAlpha)) |
| 6051 | return false; |
| 6052 | col[0] = col4[0]; col[1] = col4[1]; col[2] = col4[2]; |
| 6053 | return true; |
| 6054 | } |
| 6055 | |
| 6056 | // Helper for ColorPicker4() |
| 6057 | static void RenderArrowsForVerticalBar(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, float bar_w, float alpha) |
nothing calls this directly
no outgoing calls
no test coverage detected