PeriDyno 1.0.0
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
6
8{
9public:
10 ImGuiBackendWt(Wt::WContainerWidget* parent);
12
13 void NewFrame(int width, int height);
14 void Render();
15
16 bool handleMousePressed(const Wt::WMouseEvent& evt);
17 bool handleMouseDrag(const Wt::WMouseEvent& evt);
18 bool handleMouseReleased(const Wt::WMouseEvent& evt);
19
20private:
21 ImGuiContext* ctx;
22};
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)