예제 #1
0
파일: desktop.go 프로젝트: shibukawa/glfw
func (w *Window) SetInputMode(mode InputMode, value int) {
	w.Window.SetInputMode(glfw.InputMode(mode), value)
}
예제 #2
0
파일: desktop.go 프로젝트: shibukawa/glfw
func (w *Window) GetInputMode(mode InputMode) int {
	return w.Window.GetInputMode(glfw.InputMode(mode))
}