Searched refs:sv_picker_size (Results 1 – 1 of 1) sorted by relevance
4134 …float sv_picker_size = ImMax(bars_width * 1, CalcItemWidth() - (alpha_bar ? 2 : 1) * (bars_width +… in ColorPicker4() local4135 float bar0_pos_x = picker_pos.x + sv_picker_size + style.ItemInnerSpacing.x; in ColorPicker4()4142 float wheel_thickness = sv_picker_size * 0.08f; in ColorPicker4()4143 float wheel_r_outer = sv_picker_size * 0.50f; in ColorPicker4()4145 …ImVec2 wheel_center(picker_pos.x + (sv_picker_size + bars_width)*0.5f, picker_pos.y + sv_picker_si… in ColorPicker4()4148 float triangle_r = wheel_r_inner - (int)(sv_picker_size * 0.027f); in ColorPicker4()4162 …InvisibleButton("hsv", ImVec2(sv_picker_size + style.ItemInnerSpacing.x + bars_width, sv_picker_si… in ColorPicker4()4197 InvisibleButton("sv", ImVec2(sv_picker_size, sv_picker_size)); in ColorPicker4()4200 S = ImSaturate((io.MousePos.x - picker_pos.x) / (sv_picker_size-1)); in ColorPicker4()4201 V = 1.0f - ImSaturate((io.MousePos.y - picker_pos.y) / (sv_picker_size-1)); in ColorPicker4()[all …]