summaryrefslogtreecommitdiff
path: root/windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-11 07:50:00 -0500
committerPietro Gagliardi <[email protected]>2014-02-11 07:50:00 -0500
commit6ae39f57a299508ed02818dc13a51acec883596a (patch)
tree0ee3dc8943056609e14d01810bb66c33e1d3ecf8 /windows.go
parent07f92bb8d939c04ee2777739b05d8bd975ad9e8d (diff)
Added window minimum sizes.
Diffstat (limited to 'windows.go')
-rw-r--r--windows.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/windows.go b/windows.go
index de6fd6f..0e4f7cc 100644
--- a/windows.go
+++ b/windows.go
@@ -306,3 +306,15 @@ const (
WM_WINDOWPOSCHANGED = 0x0047
WM_WINDOWPOSCHANGING = 0x0046
)
+
+type MINMAXINFO struct {
+ PtReserved POINT
+ PtMaxSize POINT
+ PtMaxPosition POINT
+ PtMinTrackSize POINT
+ PtMaxTrackSize POINT
+}
+
+func (l LPARAM) MINMAXINFO() *MINMAXINFO {
+ return (*MINMAXINFO)(unsafe.Pointer(l))
+}