From 9c86bf8d30b8f858d7d26ef3b8e1890a3cc96704 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 26 May 2014 22:36:34 -0400 Subject: Merged windows_windows.go into common_windows.go. --- windows_windows.go | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 windows_windows.go (limited to 'windows_windows.go') diff --git a/windows_windows.go b/windows_windows.go deleted file mode 100644 index e7add03..0000000 --- a/windows_windows.go +++ /dev/null @@ -1,31 +0,0 @@ -// 8 february 2014 - -package ui - -import ( -// "syscall" - "unsafe" -) - -var ( - _adjustWindowRectEx = user32.NewProc("AdjustWindowRectEx") - _createWindowEx = user32.NewProc("CreateWindowExW") - _getClientRect = user32.NewProc("GetClientRect") - _moveWindow = user32.NewProc("MoveWindow") - _setWindowLong = user32.NewProc("SetWindowLongW") - _setWindowPos = user32.NewProc("SetWindowPos") - _setWindowText = user32.NewProc("SetWindowTextW") - _showWindow = user32.NewProc("ShowWindow") -) - -type _MINMAXINFO struct { - ptReserved _POINT - ptMaxSize _POINT - ptMaxPosition _POINT - ptMinTrackSize _POINT - ptMaxTrackSize _POINT -} - -func (l _LPARAM) MINMAXINFO() *_MINMAXINFO { - return (*_MINMAXINFO)(unsafe.Pointer(l)) -} -- cgit v1.2.3