Tables: Support for multi-line columns name. Renaming of some fields from BackupXXX to HostXXX. Comments.

This commit is contained in:
omar
2020-01-06 11:53:04 +01:00
committed by ocornut
parent e85c226da4
commit 164caa2db7
5 changed files with 47 additions and 33 deletions

View File

@ -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;