summaryrefslogtreecommitdiff
path: root/stdfont_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-09 16:49:20 -0400
committerPietro Gagliardi <[email protected]>2014-06-09 16:49:20 -0400
commit14c8cb43e9e03c22775f436085ae6710c856ef07 (patch)
tree62c586fda94e8ea7c386a8981e309e28cf1f7dad /stdfont_windows.go
parent24d24c5e309bb8314a38ebd0e112dc517f2d861e (diff)
Removed TODO about messagebox font in stdfont_windows.go; decided to just use it.
Diffstat (limited to 'stdfont_windows.go')
-rw-r--r--stdfont_windows.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/stdfont_windows.go b/stdfont_windows.go
index 47d90aa..5b9f3bf 100644
--- a/stdfont_windows.go
+++ b/stdfont_windows.go
@@ -9,7 +9,7 @@ import (
)
var (
- controlFont _HANDLE
+ controlFont _HANDLE // really the font for messagebox text, but everyone and everything says to use it
titleFont _HANDLE
smallTitleFont _HANDLE
menubarFont _HANDLE
@@ -56,7 +56,6 @@ var (
_createFontIndirect = gdi32.NewProc("CreateFontIndirectW")
)
-// TODO the lfMessageFont doesn't seem like the right one for controls but that's all I could find for what people actually use; also I need to return the other ones and check HWND types to make sure I apply the right font to the right thing...
func getStandardWindowFonts() (err error) {
var ncm _NONCLIENTMETRICS