summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-10 20:48:08 -0500
committerPietro Gagliardi <[email protected]>2014-02-10 20:48:08 -0500
commit07c791331c507334f33fececbfeb68b97c89a44d (patch)
treefd539d6ab4b9bc3dd703befc6c4238bab8928062 /common.go
parentbcc8751c8ba5f54d5da74aa7e38741dadd62fea8 (diff)
Improved program appearance by setting the correct font, colors, and other styles.
Diffstat (limited to 'common.go')
-rw-r--r--common.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.go b/common.go
index 51ebf6f..79d6fc9 100644
--- a/common.go
+++ b/common.go
@@ -12,6 +12,7 @@ import (
var (
user32 = syscall.NewLazyDLL("user32.dll")
kernel32 = syscall.NewLazyDLL("kernel32.dll")
+ gdi32 = syscall.NewLazyDLL("gdi32.dll")
)
type HANDLE uintptr
@@ -21,6 +22,8 @@ type HMENU HANDLE
const (
NULL = 0
+ FALSE = 0 // from windef.h
+ TRUE = 1 // from windef.h
)
type ATOM uint16