mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +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>
|
template<class T>
|
||||||
void View::ListMemData( T ptr, T end, std::function<MemEvent*(T&)> DrawAddress )
|
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::Columns( 7 );
|
||||||
ImGui::Text( "Address" );
|
ImGui::Text( "Address" );
|
||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
@ -3797,6 +3798,7 @@ void View::ListMemData( T ptr, T end, std::function<MemEvent*(T&)> DrawAddress )
|
|||||||
ptr++;
|
ptr++;
|
||||||
}
|
}
|
||||||
ImGui::EndColumns();
|
ImGui::EndColumns();
|
||||||
|
ImGui::EndChild();
|
||||||
}
|
}
|
||||||
|
|
||||||
void View::DrawMemory()
|
void View::DrawMemory()
|
||||||
|
Loading…
Reference in New Issue
Block a user