Beispiel #1
0
Datei: glfw.go Projekt: maun/glfw
// Input handling
func InputMode(window Window, mode int) int {
	return int(C.glfwGetInputMode(C.GLFWwindow(window), C.int(mode)))
}
Beispiel #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
}
Beispiel #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)))
}