Бранимир Караџић %!s(int64=4) %!d(string=hai) anos
pai
achega
0123d43c96
Modificáronse 2 ficheiros con 4 adicións e 4 borrados
  1. 2 2
      tools/geometryv/geometryv.cpp
  2. 2 2
      tools/texturev/texturev.cpp

+ 2 - 2
tools/geometryv/geometryv.cpp

@@ -1051,7 +1051,7 @@ int _main_(int _argc, char** _argv)
 							;
 							;
 
 
 						ImGui::PushItemWidth(-1);
 						ImGui::PushItemWidth(-1);
-						if (ImGui::ListBoxHeader("##empty", ImVec2(0.0f, listHeight) ) )
+						if (ImGui::BeginListBox("##empty", ImVec2(0.0f, listHeight) ) )
 						{
 						{
 							const int32_t itemCount = int32_t(view.m_fileList.size() );
 							const int32_t itemCount = int32_t(view.m_fileList.size() );
 
 
@@ -1089,7 +1089,7 @@ int _main_(int _argc, char** _argv)
 
 
 							clipper.End();
 							clipper.End();
 
 
-							ImGui::ListBoxFooter();
+							ImGui::EndListBox();
 						}
 						}
 
 
 						ImGui::PopFont();
 						ImGui::PopFont();

+ 2 - 2
tools/texturev/texturev.cpp

@@ -1832,7 +1832,7 @@ int _main_(int _argc, char** _argv)
 							;
 							;
 
 
 						ImGui::PushItemWidth(-1);
 						ImGui::PushItemWidth(-1);
-						if (ImGui::ListBoxHeader("##empty", ImVec2(0.0f, listHeight) ) )
+						if (ImGui::BeginListBox("##empty", ImVec2(0.0f, listHeight) ) )
 						{
 						{
 							const int32_t itemCount = int32_t(view.m_fileList.size() );
 							const int32_t itemCount = int32_t(view.m_fileList.size() );
 
 
@@ -1870,7 +1870,7 @@ int _main_(int _argc, char** _argv)
 
 
 							clipper.End();
 							clipper.End();
 
 
-							ImGui::ListBoxFooter();
+							ImGui::EndListBox();
 						}
 						}
 
 
 						ImGui::PopFont();
 						ImGui::PopFont();