mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	Tables: Support for multi-line columns name. Renaming of some fields from BackupXXX to HostXXX. Comments.
This commit is contained in:
		@@ -3916,6 +3916,7 @@ static void ShowDemoWindowTables()
 | 
			
		||||
                {
 | 
			
		||||
                    MyItem::s_current_sort_specs = sorts_specs; // Store in variable accessible by the sort function.
 | 
			
		||||
                    qsort(&items[0], (size_t)items.Size, sizeof(items[0]), MyItem::CompareWithSortSpecs);
 | 
			
		||||
                    MyItem::s_current_sort_specs = NULL;
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
            // Display data
 | 
			
		||||
@@ -4104,6 +4105,7 @@ static void ShowDemoWindowTables()
 | 
			
		||||
            {
 | 
			
		||||
                MyItem::s_current_sort_specs = sorts_specs; // Store in variable accessible by the sort function.
 | 
			
		||||
                qsort(&items[0], (size_t)items.Size, sizeof(items[0]), MyItem::CompareWithSortSpecs);
 | 
			
		||||
                MyItem::s_current_sort_specs = NULL;
 | 
			
		||||
            }
 | 
			
		||||
            items_need_sort = false;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user