mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-20 10:24:58 +00:00
small ElfViewer display updates
This commit is contained in:
parent
dda7020ef4
commit
701278348d
1 changed files with 10 additions and 0 deletions
|
@ -10,6 +10,8 @@ ElfViewer::ElfViewer(Elf* elf)
|
||||||
void ElfViewer::display(bool enabled)
|
void ElfViewer::display(bool enabled)
|
||||||
{
|
{
|
||||||
ImGui::Begin("Self/Elf Viewer", &enabled);
|
ImGui::Begin("Self/Elf Viewer", &enabled);
|
||||||
|
//
|
||||||
|
ImGui::BeginChild("Left Tree pane", ImVec2(150, 0), false);//left tree
|
||||||
if (elf->isSelfFile())
|
if (elf->isSelfFile())
|
||||||
{
|
{
|
||||||
if (ImGui::TreeNode("Self"))
|
if (ImGui::TreeNode("Self"))
|
||||||
|
@ -56,6 +58,14 @@ void ElfViewer::display(bool enabled)
|
||||||
}
|
}
|
||||||
ImGui::TreePop();
|
ImGui::TreePop();
|
||||||
}
|
}
|
||||||
|
ImGui::EndChild();//end of left tree
|
||||||
|
|
||||||
|
ImGui::SameLine();
|
||||||
|
|
||||||
|
ImGui::BeginChild("Table View", ImVec2(0, -ImGui::GetFrameHeightWithSpacing())); // Leave room for 1 line below us
|
||||||
|
|
||||||
|
ImGui::EndChild();
|
||||||
|
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
|
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue