summaryrefslogtreecommitdiff
path: root/redo/funcnames_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-16 22:31:48 -0400
committerPietro Gagliardi <[email protected]>2014-07-16 22:31:48 -0400
commit819caea42279fdc0d37b7a55aaeccbd825d2d638 (patch)
treecc9de76bf219dc90a0a53b26590caf4bdb1164d0 /redo/funcnames_windows.go
parenta253f39d68efa0da62ed076735f783deb0069ff3 (diff)
Re-added the Windows sizing code.
Diffstat (limited to 'redo/funcnames_windows.go')
-rw-r--r--redo/funcnames_windows.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/redo/funcnames_windows.go b/redo/funcnames_windows.go
index 0054277..4a12430 100644
--- a/redo/funcnames_windows.go
+++ b/redo/funcnames_windows.go
@@ -29,3 +29,12 @@ package ui
// wfunc user32 PostQuitMessage uintptr void
// wfunc user32 GetClientRect uintptr *s_RECT uintptr
// wfunc user32 SetParent uintptr uintptr uintptr
+// wfunc gdi32 GetTextMetricsW uintptr *s_TEXTMETRICW uintptr
+
+// TODO int here will be wrong on 64-bit systems
+// wfunc kernel32 MulDiv int int int int,noerr
+// wfunc user32 MoveWindow uintptr int int int int t_BOOL uintptr
+
+// wfunc user32 GetDC uintptr uintptr
+// wfunc gdi32 SelectObject uintptr uintptr uintptr
+// wfunc user32 ReleaseDC uintptr uintptr uintptr