diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-24 17:01:33 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-24 17:01:33 -0400 |
| commit | cfcac03df76e9ccfe81f3b8f70126ddcf2463637 (patch) | |
| tree | 81a50ea487cfdc3c4c2fabf4066027fc62f7bb67 /common_windows.go | |
| parent | 5c8587ab00760a8391ce1df44e8986a11aa818a0 (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.go | 1 |
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 |
