mirror of
https://github.com/wolfpld/tracy
synced 2025-05-07 23:43:52 +00:00
Put memory allocations list into a child area.
This commit is contained in:
parent
8cc446b578
commit
aa8980aacc
@ -3653,6 +3653,7 @@ void View::DrawStatistics()
|
||||
template<class T>
|
||||
void View::ListMemData( T ptr, T end, std::function<MemEvent*(T&)> DrawAddress )
|
||||
{
|
||||
ImGui::BeginChild( "##memScroll", ImVec2( 0, std::max( 200.f, ImGui::GetContentRegionAvail().y ) ) );
|
||||
ImGui::Columns( 7 );
|
||||
ImGui::Text( "Address" );
|
||||
ImGui::NextColumn();
|
||||
@ -3797,6 +3798,7 @@ void View::ListMemData( T ptr, T end, std::function<MemEvent*(T&)> DrawAddress )
|
||||
ptr++;
|
||||
}
|
||||
ImGui::EndColumns();
|
||||
ImGui::EndChild();
|
||||
}
|
||||
|
||||
void View::DrawMemory()
|
||||
|
Loading…
x
Reference in New Issue
Block a user