energy/types/message.go

38 lines
682 B
Go
Raw Normal View History

2023-07-21 09:42:03 +08:00
//----------------------------------------
//
// Copyright © yanghy. All Rights Reserved.
//
// Licensed under Apache License Version 2.0, January 2004
//
// https://www.apache.org/licenses/LICENSE-2.0
//
//----------------------------------------
package types
2023-07-21 09:56:28 +08:00
type TRect struct {
Left int32
Top int32
Right int32
Bottom int32
}
2023-07-21 09:42:03 +08:00
type WindowPos struct {
Hwnd THandle
HwndInsertAfter THandle
X Integer
Y Integer
Cx Integer
Cy Integer
Flags Cardinal
}
2023-07-21 09:56:28 +08:00
type Paint struct {
Hdc HDC
FErase BOOL
RcPaint TRect
FRestore BOOL
FIncUpdate BOOL
RgbReserved [32]uint8
}