imgui_impl_glfw.h 806 B

12345678910111213141516
  1. // ImGui GLFW bindings
  2. // https://github.com/ocornut/imgui
  3. struct GLFWwindow;
  4. bool ImGui_ImplGlfw_Init(GLFWwindow* window, bool install_callbacks);
  5. void ImGui_ImplGlfw_Shutdown();
  6. void ImGui_ImplGlfw_LoadFontsTexture();
  7. void ImGui_ImplGlfw_NewFrame();
  8. // GLFW callbacks (installed by default if you enable 'install_callbacks' during initialization)
  9. // Provide here if you want to chain callbacks
  10. void ImGui_ImplGlfw_MouseButtonCallback(GLFWwindow* window, int button, int action, int mods);
  11. void ImGui_ImplGlfw_ScrollCallback(GLFWwindow* window, double xoffset, double yoffset);
  12. void ImGui_ImplGlFw_KeyCallback(GLFWwindow* window, int key, int scancode, int action, int mods);
  13. void ImGui_ImplGlfw_CharCallback(GLFWwindow* window, unsigned int c);