| 203 | } |
| 204 | |
| 205 | void ProfileManager::MouseButtonCallback(GLFWwindow* window, int button, int action, int mods) |
| 206 | { |
| 207 | if (button == GLFW_MOUSE_BUTTON_LEFT && action == GLFW_PRESS && !MicroProfileIsDrawing()) |
| 208 | MicroProfileSetDisplayMode(1); |
| 209 | |
| 210 | MicroProfileMouseButton(glfwGetMouseButton(window, GLFW_MOUSE_BUTTON_LEFT), glfwGetMouseButton(window, GLFW_MOUSE_BUTTON_RIGHT)); |
| 211 | } |
| 212 | |
| 213 | void ProfileManager::CursorPosCallback(GLFWwindow* window, double xpos, double ypos) |
| 214 | { |
nothing calls this directly
no outgoing calls
no test coverage detected