Пример #1
0
func (window *Window) SetMinimumSize(min_w int, min_h int) {
	_window := (*C.SDL_Window)(unsafe.Pointer(window))
	_min_w := (C.int)(min_w)
	_min_h := (C.int)(min_h)
	C.SDL_SetWindowMinimumSize(_window, _min_w, _min_h)
}
Пример #2
0
// Window (https://wiki.libsdl.org/SDL_SetWindowMinimumSize)
func (window *Window) SetMinimumSize(minW int, minH int) {
	C.SDL_SetWindowMinimumSize(window.cptr(), C.int(minW), C.int(minH))
}