mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	DrawList: Replace "bool close" in drawing functions with flags.
This commit is contained in:
		| @@ -5231,7 +5231,7 @@ bool ImGui::ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags fl | ||||
|             const float a1 = (n+1.0f)/6.0f * 2.0f * IM_PI + aeps; | ||||
|             const int vert_start_idx = draw_list->VtxBuffer.Size; | ||||
|             draw_list->PathArcTo(wheel_center, (wheel_r_inner + wheel_r_outer)*0.5f, a0, a1, segment_per_arc); | ||||
|             draw_list->PathStroke(col_white, false, wheel_thickness); | ||||
|             draw_list->PathStroke(col_white, 0, wheel_thickness); | ||||
|             const int vert_end_idx = draw_list->VtxBuffer.Size; | ||||
|  | ||||
|             // Paint colors over existing vertices | ||||
| @@ -7890,7 +7890,7 @@ void ImGui::TabItemBackground(ImDrawList* draw_list, const ImRect& bb, ImGuiTabI | ||||
|         draw_list->PathArcToFast(ImVec2(bb.Min.x + rounding + 0.5f, y1 + rounding + 0.5f), rounding, 6, 9); | ||||
|         draw_list->PathArcToFast(ImVec2(bb.Max.x - rounding - 0.5f, y1 + rounding + 0.5f), rounding, 9, 12); | ||||
|         draw_list->PathLineTo(ImVec2(bb.Max.x - 0.5f, y2)); | ||||
|         draw_list->PathStroke(GetColorU32(ImGuiCol_Border), false, g.Style.TabBorderSize); | ||||
|         draw_list->PathStroke(GetColorU32(ImGuiCol_Border), 0, g.Style.TabBorderSize); | ||||
|     } | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user