mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-10-26 12:27:30 +00:00 
			
		
		
		
	Bullet(), BulletText(): slightly bigger. less polygons
This commit is contained in:
		| @@ -5915,8 +5915,8 @@ void ImGui::Bullet() | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     // Render |     // Render | ||||||
|     const float bullet_size = g.FontSize*0.15f; |     const float bullet_size = g.FontSize*0.20f; | ||||||
|     window->DrawList->AddCircleFilled(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f), bullet_size, GetColorU32(ImGuiCol_Text)); |     window->DrawList->AddCircleFilled(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f), bullet_size, GetColorU32(ImGuiCol_Text), 8); | ||||||
|  |  | ||||||
|     // Stay on same line |     // Stay on same line | ||||||
|     ImGui::SameLine(0, style.FramePadding.x*2); |     ImGui::SameLine(0, style.FramePadding.x*2); | ||||||
| @@ -5943,8 +5943,8 @@ void ImGui::BulletTextV(const char* fmt, va_list args) | |||||||
|         return; |         return; | ||||||
|  |  | ||||||
|     // Render |     // Render | ||||||
|     const float bullet_size = g.FontSize*0.15f; |     const float bullet_size = g.FontSize*0.20f; | ||||||
|     window->DrawList->AddCircleFilled(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f), bullet_size, GetColorU32(ImGuiCol_Text)); |     window->DrawList->AddCircleFilled(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f), bullet_size, GetColorU32(ImGuiCol_Text), 8); | ||||||
|     RenderText(bb.Min+ImVec2(g.FontSize + style.FramePadding.x*2, text_base_offset_y), text_begin, text_end); |     RenderText(bb.Min+ImVec2(g.FontSize + style.FramePadding.x*2, text_base_offset_y), text_begin, text_end); | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 ocornut
					ocornut