Esempio n. 1
0
File: glfw.go Progetto: maun/glfw
// Input handling
func InputMode(window Window, mode int) int {
	return int(C.glfwGetInputMode(C.GLFWwindow(window), C.int(mode)))
}
Esempio n. 2
0
// GetInputMode returns the value of an input option of the window.
func (w *Window) GetInputMode(mode InputMode) int {
	ret := int(C.glfwGetInputMode(w.data, C.int(mode)))
	panicError()
	return ret
}
Esempio n. 3
0
//GetInputMode returns the value of an input option of the window.
func (w *Window) GetInputMode(mode InputMode) int {
	return int(C.glfwGetInputMode(w.data, C.int(mode)))
}