Searched refs:bars_width (Results 1 - 2 of 2) sorted by relevance
| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui_widgets.cpp | 4133 float bars_width = square_sz; // Arbitrary smallish width of Hue/Alpha picking bars local in function:ImGui::ColorPicker4 4134 float sv_picker_size = ImMax(bars_width * 1, CalcItemWidth() - (alpha_bar ? 2 : 1) * (bars_width + style.ItemInnerSpacing.x)); // Saturation/Value picking box 4136 float bar1_pos_x = bar0_pos_x + bars_width + style.ItemInnerSpacing.x; 4137 float bars_triangles_half_sz = (float)(int)(bars_width * 0.20f); 4145 ImVec2 wheel_center(picker_pos.x + (sv_picker_size + bars_width)*0.5f, picker_pos.y + sv_picker_size*0.5f); 4162 InvisibleButton("hsv", ImVec2(sv_picker_size + style.ItemInnerSpacing.x + bars_width, sv_picker_size)); 4209 InvisibleButton("hue", ImVec2(bars_width, sv_picker_size)); 4221 InvisibleButton("alpha", ImVec2(bars_width, sv_picker_size)); 4276 PushItemWidth((alpha_bar ? bar1_pos_x : bar0_pos_x) + bars_width [all...] |
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui_widgets.cpp | 4133 float bars_width = square_sz; // Arbitrary smallish width of Hue/Alpha picking bars local in function:ImGui::ColorPicker4 4134 float sv_picker_size = ImMax(bars_width * 1, CalcItemWidth() - (alpha_bar ? 2 : 1) * (bars_width + style.ItemInnerSpacing.x)); // Saturation/Value picking box 4136 float bar1_pos_x = bar0_pos_x + bars_width + style.ItemInnerSpacing.x; 4137 float bars_triangles_half_sz = (float)(int)(bars_width * 0.20f); 4145 ImVec2 wheel_center(picker_pos.x + (sv_picker_size + bars_width)*0.5f, picker_pos.y + sv_picker_size*0.5f); 4162 InvisibleButton("hsv", ImVec2(sv_picker_size + style.ItemInnerSpacing.x + bars_width, sv_picker_size)); 4209 InvisibleButton("hue", ImVec2(bars_width, sv_picker_size)); 4221 InvisibleButton("alpha", ImVec2(bars_width, sv_picker_size)); 4276 PushItemWidth((alpha_bar ? bar1_pos_x : bar0_pos_x) + bars_width [all...] |
Completed in 22 milliseconds