Example #1
0
func (window *Window) GetFlags() uint32 {
	_window := (*C.SDL_Window)(unsafe.Pointer(window))
	return (uint32)(C.SDL_GetWindowFlags(_window))
}
Example #2
0
func (win *Window) GetFlags() WindowFlags {
	return WindowFlags(C.SDL_GetWindowFlags(win.c))
}
Example #3
0
func Isfocussed() bool {
	return C.SDL_GetWindowFlags(win)&C.SDL_WINDOW_INPUT_FOCUS != 0
}
Example #4
0
// Window (https://wiki.libsdl.org/SDL_GetWindowFlags)
func (window *Window) GetFlags() uint32 {
	return (uint32)(C.SDL_GetWindowFlags(window.cptr()))
}
Example #5
0
File: video.go Project: salihdb/sdl
// GetFlags returns the window flags.
func (win *Window) GetFlags() (flags WindowFlag) {
	return WindowFlag(C.SDL_GetWindowFlags(win.cWin))
}