callback.h 472 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
#pragma once

extern void windowResize(GLFWwindow * window, int width, int height);

extern void mouseButton(GLFWwindow *window, int button, int action, int mod);

extern void mouseMove(GLFWwindow *window, double xpos, double ypos);

extern void mouseWheel(GLFWwindow *window, double xoffset, double yoffset);

Anakin's avatar
Anakin committed
11
12
13
extern void keyPress(GLFWwindow *window, int key, int scancode, int action, int mods);

extern void dragNdrop(GLFWwindow* window, int count, const char** paths);