ColorPicker4: hue/alpha bars draw arrows that would look right on all background. RenderArrow helper. (#346)

This commit is contained in:
omar
2017-07-30 16:15:52 +08:00
parent 35186a1165
commit fef8aac523
3 changed files with 34 additions and 5 deletions

View File

@ -687,7 +687,7 @@ void ImGui::ShowTestWindow(bool* p_open)
ImGui::Text("Color picker:");
static bool alpha = true;
static bool alpha_bar = false;
static bool alpha_bar = true;
static bool side_preview = true;
static bool ref_color = false;
static ImVec4 ref_color_v(1.0f,0.0f,1.0f,0.5f);