Improved link between ImGuiVisitor and SourcePlayer

Source panel shows description and icon to open player UI. Changed icon player, and fixed source selection.
This commit is contained in:
Bruno
2021-05-23 12:32:32 +02:00
parent d137e87f0e
commit 893e4f4723
5 changed files with 164 additions and 474 deletions

View File

@@ -213,6 +213,7 @@ bool ImGuiToolkit::IconButton(const char* icon, const char *tooltip)
float frame_height = ImGui::GetFrameHeight();
float frame_width = frame_height;
ImVec2 draw_pos = ImGui::GetCursorScreenPos();
// toggle action : operate on the whole area