Fixes for ocornut-imgui integrations: mouse wheel, render callbacks

This commit is contained in:
ocornut
2015-06-10 08:53:50 -06:00
parent 4f19cdc436
commit eccbae09b1
14 changed files with 29 additions and 18 deletions

View File

@@ -824,7 +824,7 @@ struct Imgui
const int32_t mx = int32_t(float(_mx)*xscale);
const int32_t my = int32_t(float(_my)*yscale);
IMGUI_beginFrame(mx, my, _button, _width, _height, _inputChar, _view);
IMGUI_beginFrame(mx, my, _button, _scroll, _width, _height, _inputChar, _view);
nvgBeginFrameScaled(m_nvg, m_viewWidth, m_viewHeight, m_surfaceWidth, m_surfaceHeight, 1.0f);
nvgViewId(m_nvg, _view);