Update flags, fixes #165

This commit is contained in:
Milan Nikolic 2022-01-16 19:14:43 +01:00
parent f98e6e2e57
commit e4777d30ee
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75

View file

@ -118,7 +118,7 @@ func IsWindowResized() bool {
}
// IsWindowState - Check if one specific window flag is enabled
func IsWindowState(flag byte) bool {
func IsWindowState(flag uint32) bool {
cflag := (C.uint)(flag)
ret := C.IsWindowState(cflag)
v := bool(ret)
@ -126,13 +126,13 @@ func IsWindowState(flag byte) bool {
}
// SetWindowState - Set window configuration state using flags
func SetWindowState(flags byte) {
func SetWindowState(flags uint32) {
cflags := (C.uint)(flags)
C.SetWindowState(cflags)
}
// ClearWindowState - Clear window configuration state flags
func ClearWindowState(flags byte) {
func ClearWindowState(flags uint32) {
cflags := (C.uint)(flags)
C.ClearWindowState(cflags)
}