mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	Warning fixes for clang. Using int64_t, may be an issue?
This commit is contained in:
		@@ -2295,12 +2295,12 @@ static void ShowExampleAppPropertyEditor(bool* opened)
 | 
			
		||||
        {
 | 
			
		||||
            ImGui::PushID(uid);                      // Use object uid as identifier. Most commonly you could also use the object pointer as a base ID.
 | 
			
		||||
            ImGui::AlignFirstTextHeightToWidgets();  // Text and Tree nodes are less high than regular widgets, here we add vertical spacing to make the tree lines equal high.
 | 
			
		||||
            bool opened = ImGui::TreeNode("Object", "%s_%u", prefix, uid);
 | 
			
		||||
            bool is_opened = ImGui::TreeNode("Object", "%s_%u", prefix, uid);
 | 
			
		||||
            ImGui::NextColumn();
 | 
			
		||||
            ImGui::AlignFirstTextHeightToWidgets();
 | 
			
		||||
            ImGui::Text("my sailor is rich");
 | 
			
		||||
            ImGui::NextColumn();
 | 
			
		||||
            if (opened)
 | 
			
		||||
            if (is_opened)
 | 
			
		||||
            {
 | 
			
		||||
                static float dummy_members[8] = { 0.0f,0.0f,1.0f,3.1416f,100.0f,999.0f };
 | 
			
		||||
                for (int i = 0; i < 8; i++)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user