Searched refs:picker_pos (Results 1 – 1 of 1) sorted by relevance
4131 ImVec2 picker_pos = window->DC.CursorPos; in ColorPicker4() local4135 float bar0_pos_x = picker_pos.x + sv_picker_size + style.ItemInnerSpacing.x; in ColorPicker4()4145 …ImVec2 wheel_center(picker_pos.x + (sv_picker_size + bars_width)*0.5f, picker_pos.y + sv_picker_si… 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()4208 SetCursorScreenPos(ImVec2(bar0_pos_x, picker_pos.y)); in ColorPicker4()4212 H = ImSaturate((io.MousePos.y - picker_pos.y) / (sv_picker_size-1)); in ColorPicker4()4220 SetCursorScreenPos(ImVec2(bar1_pos_x, picker_pos.y)); in ColorPicker4()4224 col[3] = 1.0f - ImSaturate((io.MousePos.y - picker_pos.y) / (sv_picker_size-1)); in ColorPicker4()4276 PushItemWidth((alpha_bar ? bar1_pos_x : bar0_pos_x) + bars_width - picker_pos.x); in ColorPicker4()[all …]