示例#1
0
func (window *Window) Minimize() {
	_window := (*C.SDL_Window)(unsafe.Pointer(window))
	C.SDL_MinimizeWindow(_window)
}
示例#2
0
文件: video.go 项目: flazz/go-sdl2
// Window (https://wiki.libsdl.org/SDL_MinimizeWindow)
func (window *Window) Minimize() {
	C.SDL_MinimizeWindow(window.cptr())
}
示例#3
0
文件: video.go 项目: DeedleFake/sdl
func (win *Window) Minimize() {
	C.SDL_MinimizeWindow(win.c)
}
示例#4
0
文件: sdl.go 项目: rwcarlsen/sdl
func (w *Window) Minimize() { C.SDL_MinimizeWindow(w.win) }