Update flags, fixes #165
This commit is contained in:
parent
f98e6e2e57
commit
e4777d30ee
1 changed files with 3 additions and 3 deletions
|
@ -118,7 +118,7 @@ func IsWindowResized() bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
// IsWindowState - Check if one specific window flag is enabled
|
// IsWindowState - Check if one specific window flag is enabled
|
||||||
func IsWindowState(flag byte) bool {
|
func IsWindowState(flag uint32) bool {
|
||||||
cflag := (C.uint)(flag)
|
cflag := (C.uint)(flag)
|
||||||
ret := C.IsWindowState(cflag)
|
ret := C.IsWindowState(cflag)
|
||||||
v := bool(ret)
|
v := bool(ret)
|
||||||
|
@ -126,13 +126,13 @@ func IsWindowState(flag byte) bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetWindowState - Set window configuration state using flags
|
// SetWindowState - Set window configuration state using flags
|
||||||
func SetWindowState(flags byte) {
|
func SetWindowState(flags uint32) {
|
||||||
cflags := (C.uint)(flags)
|
cflags := (C.uint)(flags)
|
||||||
C.SetWindowState(cflags)
|
C.SetWindowState(cflags)
|
||||||
}
|
}
|
||||||
|
|
||||||
// ClearWindowState - Clear window configuration state flags
|
// ClearWindowState - Clear window configuration state flags
|
||||||
func ClearWindowState(flags byte) {
|
func ClearWindowState(flags uint32) {
|
||||||
cflags := (C.uint)(flags)
|
cflags := (C.uint)(flags)
|
||||||
C.ClearWindowState(cflags)
|
C.ClearWindowState(cflags)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue