PeriDyno 1.2.1
Loading...
Searching...
No Matches
imgui_impl_wt.h
Go to the documentation of this file.
1#pragma once
2#include "imgui.h"
3
4#include <Wt/WContainerWidget.h>
5
7{
8public:
9 ImGuiBackendWt(Wt::WContainerWidget* parent);
11
12 void NewFrame(int width, int height);
13 void Render();
14
15 bool handleMousePressed(const Wt::WMouseEvent& evt);
16 bool handleMouseDrag(const Wt::WMouseEvent& evt);
17 bool handleMouseReleased(const Wt::WMouseEvent& evt);
18
19private:
20 ImGuiContext* ctx;
21};
bool handleMousePressed(const Wt::WMouseEvent &evt)
bool handleMouseReleased(const Wt::WMouseEvent &evt)
bool handleMouseDrag(const Wt::WMouseEvent &evt)
ImGuiContext * ctx
ImGuiBackendWt(Wt::WContainerWidget *parent)
void NewFrame(int width, int height)