void mouseScrollCallback(double xoffset, double yoffset) { if( gEngine->isMaster() ) { ImGui_ImplGlfwGL3_ScrollCallback(gEngine->getCurrentWindowPtr()->getWindowHandle(), xoffset, yoffset); } }
void Gui::scroll(window::ScrollEvent e) { ImGui_ImplGlfwGL3_ScrollCallback(static_cast<GLFWwindow*>(e.ptr),static_cast<int>(e.xOffset), static_cast<int>(e.yOffset)); }