Searched refs:bars_width (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/imgui/ |
D | imgui_widgets.cpp | 4133 float bars_width = square_sz; // Arbitrary smallish width of Hue/Alpha picking bars in ColorPicker4() local 4134 …float sv_picker_size = ImMax(bars_width * 1, CalcItemWidth() - (alpha_bar ? 2 : 1) * (bars_width +… in ColorPicker4() 4136 float bar1_pos_x = bar0_pos_x + bars_width + style.ItemInnerSpacing.x; in ColorPicker4() 4137 float bars_triangles_half_sz = (float)(int)(bars_width * 0.20f); in ColorPicker4() 4145 …ImVec2 wheel_center(picker_pos.x + (sv_picker_size + bars_width)*0.5f, picker_pos.y + sv_picker_si… in ColorPicker4() 4162 …InvisibleButton("hsv", ImVec2(sv_picker_size + style.ItemInnerSpacing.x + bars_width, sv_picker_si… in ColorPicker4() 4209 InvisibleButton("hue", ImVec2(bars_width, sv_picker_size)); in ColorPicker4() 4221 InvisibleButton("alpha", ImVec2(bars_width, sv_picker_size)); in ColorPicker4() 4276 PushItemWidth((alpha_bar ? bar1_pos_x : bar0_pos_x) + bars_width - picker_pos.x); in ColorPicker4() 4371 …0_pos_x, picker_pos.y + i * (sv_picker_size / 6)), ImVec2(bar0_pos_x + bars_width, picker_pos.y + … in ColorPicker4() [all …]
|