Enable ImGui context selection

This commit is contained in:
Dan Paulat 2022-11-28 00:20:31 -06:00
parent 9684aa4cdc
commit f27e2534a7
6 changed files with 76 additions and 14 deletions

View file

@ -2,6 +2,8 @@
#include <QOpenGLWidget>
struct ImGuiContext;
namespace Ui
{
class ImGuiDebugWidget;
@ -25,6 +27,10 @@ public:
explicit ImGuiDebugWidget(QWidget* parent = nullptr);
~ImGuiDebugWidget();
std::string context_name() const;
void set_current_context(ImGuiContext* context);
void initializeGL() override;
void paintGL() override;