initial commit
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// +build dfb
|
||||
|
||||
package sdl
|
||||
|
||||
import "C"
|
||||
import "unsafe"
|
||||
|
||||
// DFBMsg contains DirectFB window information.
|
||||
type DFBMsg struct {
|
||||
Event C.DFBEvent
|
||||
}
|
||||
|
||||
// DFB() returns DirectFB message.
|
||||
func (msg *SysWMmsg) DFB() *DFBMsg {
|
||||
return (*DFBMsg)(unsafe.Pointer(&msg.data[0]))
|
||||
}
|
||||
Reference in New Issue
Block a user