Beispiel #1
0
func (window *Window) SetBordered(bordered bool) {
	_window := (*C.SDL_Window)(unsafe.Pointer(window))
	_bordered := (C.SDL_bool)(Btoi(bordered))
	C.SDL_SetWindowBordered(_window, _bordered)
}
Beispiel #2
0
// Window (https://wiki.libsdl.org/SDL_SetWindowBordered)
func (window *Window) SetBordered(bordered bool) {
	C.SDL_SetWindowBordered(window.cptr(), (C.SDL_bool)(Btoi(bordered)))
}