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