Lines Matching defs:alpha
750 float alpha = 1.0f;
753 alpha = ImSaturate((bb_height - g.FontSize) / (g.Style.FramePadding.y * 2.0f));
754 if (alpha <= 0.0f)
757 const bool allow_interaction = (alpha >= 1.0f);
833 const ImU32 grab_col = GetColorU32(held ? ImGuiCol_ScrollbarGrabActive : hovered ? ImGuiCol_ScrollbarGrabHovered : ImGuiCol_ScrollbarGrab, alpha);
3862 const bool alpha = (flags & ImGuiColorEditFlags_NoAlpha) == 0;
3864 const int components = alpha ? 4 : 3;
3867 float f[4] = { col[0], col[1], col[2], alpha ? col[3] : 1.0f };
3923 if (alpha)
3935 if (alpha)
3951 const ImVec4 col_v4(col[0], col[1], col[2], alpha ? col[3] : 1.0f);
4001 if (alpha)
4015 memcpy((float*)col, payload->Data, sizeof(float) * 3); // Preserve alpha if any //-V512
4221 InvisibleButton("alpha", ImVec2(bars_width, sv_picker_size));
4383 // Render alpha bar
4386 float alpha = ImSaturate(col[3]);
4390 float bar1_line_y = (float)(int)(picker_pos.y + (1.0f - alpha) * sv_picker_size + 0.5f);
4408 // FIXME: May want to display/ignore the alpha component in the color display? Yet show it in the tooltip.
4448 // Because GetColorU32() multiplies by the global style Alpha and we don't want to display a checkerboard if the source code had no alpha
6589 // Render text label (with clipping + alpha gradient) + unsaved marker