Initial release: RadiantWave v1.0

This commit is contained in:
NeilClack
2026-03-12 08:05:10 -05:00
commit 403ec4db89
555 changed files with 437856 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
// +build windows
package sdl
/*
#include <windef.h>
*/
import "C"
import "unsafe"
// WindowsMsg contains Microsoft Windows window information.
type WindowsMsg struct {
Hwnd C.HWND
Msg C.UINT
WParam C.WPARAM
LParam C.LPARAM
}
// Windows() returns Microsoft Windows message.
func (msg *SysWMmsg) Windows() *WindowsMsg {
return (*WindowsMsg)(unsafe.Pointer(&msg.data[0]))
}