Beispiel #1
0
func (window *Window) SetMaximumSize(max_w int, max_h int) {
	_window := (*C.SDL_Window)(unsafe.Pointer(window))
	_max_w := (C.int)(max_w)
	_max_h := (C.int)(max_h)
	C.SDL_SetWindowMaximumSize(_window, _max_w, _max_h)
}
Beispiel #2
0
// Window (https://wiki.libsdl.org/SDL_SetWindowMaximumSize)
func (window *Window) SetMaximumSize(maxW int, maxH int) {
	C.SDL_SetWindowMaximumSize(window.cptr(), C.int(maxW), C.int(maxH))
}