Lines Matching defs:square_sz
917 const float square_sz = GetFrameHeight();
919 const ImRect total_bb(pos, pos + ImVec2(square_sz + (label_size.x > 0.0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f), label_size.y + style.FramePadding.y * 2.0f));
932 const ImRect check_bb(pos, pos + ImVec2(square_sz, square_sz));
937 const float pad = ImMax(1.0f, (float)(int)(square_sz / 6.0f));
938 RenderCheckMark(check_bb.Min + ImVec2(pad, pad), GetColorU32(ImGuiCol_CheckMark), square_sz - pad*2.0f);
976 const float square_sz = GetFrameHeight();
978 const ImRect check_bb(pos, pos + ImVec2(square_sz, square_sz));
979 const ImRect total_bb(pos, pos + ImVec2(square_sz + (label_size.x > 0.0f ? style.ItemInnerSpacing.x + label_size.x : 0.0f), label_size.y + style.FramePadding.y * 2.0f));
987 const float radius = (square_sz - 1.0f) * 0.5f;
998 const float pad = ImMax(1.0f, (float)(int)(square_sz / 6.0f));
3836 const float square_sz = GetFrameHeight();
3837 const float w_extra = (flags & ImGuiColorEditFlags_NoSmallPreview) ? 0.0f : (square_sz + style.ItemInnerSpacing.x);
3975 PushItemWidth(square_sz * 12.0f); // Use 256 + bar sizes?
4132 float square_sz = GetFrameHeight();
4133 float bars_width = square_sz; // Arbitrary smallish width of Hue/Alpha picking bars
4253 ColorButton("##current", col_v4, (flags & (ImGuiColorEditFlags_HDR|ImGuiColorEditFlags_AlphaPreview|ImGuiColorEditFlags_AlphaPreviewHalf|ImGuiColorEditFlags_NoTooltip)), ImVec2(square_sz * 3, square_sz * 2));
4258 if (ColorButton("##original", ref_col_v4, (flags & (ImGuiColorEditFlags_HDR|ImGuiColorEditFlags_AlphaPreview|ImGuiColorEditFlags_AlphaPreviewHalf|ImGuiColorEditFlags_NoTooltip)), ImVec2(square_sz * 3, square_sz * 2)))