27#include <QOpenGLExtraFunctions>
43 virtual QSize
size()
const = 0;
69 void onWheel(QWheelEvent *event);
unsigned int g_ElementsHandle
void renderDrawList(ImDrawData *draw_data)
static ImGuiRenderer * instance()
void initialize(WindowWrapper *window)
int g_AttribLocationColor
int g_AttribLocationPosition
bool createFontsTexture()
void updateCursorShape(const ImGuiIO &io)
void onWheel(QWheelEvent *event)
std::unique_ptr< WindowWrapper > m_window
int g_AttribLocationProjMtx
bool eventFilter(QObject *watched, QEvent *event)
bool createDeviceObjects()
void onKeyPressRelease(QKeyEvent *event)
void onMousePressedChange(QMouseEvent *event)
void setCursorPos(const ImGuiIO &io)
virtual QPoint mapFromGlobal(const QPoint &p) const =0
virtual QSize size() const =0
virtual void setCursorShape(Qt::CursorShape shape)=0
virtual qreal devicePixelRatio() const =0
virtual bool isActive() const =0
virtual void setCursorPos(const QPoint &local_pos)=0
virtual QObject * object()=0
virtual void installEventFilter(QObject *object)=0