summaryrefslogtreecommitdiff
path: root/common_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-24 17:01:33 -0400
committerPietro Gagliardi <[email protected]>2014-03-24 17:01:33 -0400
commitcfcac03df76e9ccfe81f3b8f70126ddcf2463637 (patch)
tree81a50ea487cfdc3c4c2fabf4066027fc62f7bb67 /common_windows.go
parent5c8587ab00760a8391ce1df44e8986a11aa818a0 (diff)
Added GDI+ to the package's Windows version: DLL loaded, initialized, and shut down. It will be used for drawing to Areas because using GDI itself is more complex than it needs to be.
Diffstat (limited to 'common_windows.go')
-rw-r--r--common_windows.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/common_windows.go b/common_windows.go
index eaa7d34..ee09650 100644
--- a/common_windows.go
+++ b/common_windows.go
@@ -12,6 +12,7 @@ var (
kernel32 = syscall.NewLazyDLL("kernel32.dll")
gdi32 = syscall.NewLazyDLL("gdi32.dll")
comctl32 = syscall.NewLazyDLL("comctl32.dll")
+ gdiplus = syscall.NewLazyDLL("gdiplus.dll")
)
type _HANDLE uintptr