Removed TODO about messagebox font in stdfont_windows.go; decided to just use it.
This commit is contained in:
parent
24d24c5e30
commit
14c8cb43e9
|
@ -9,7 +9,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
controlFont _HANDLE
|
controlFont _HANDLE // really the font for messagebox text, but everyone and everything says to use it
|
||||||
titleFont _HANDLE
|
titleFont _HANDLE
|
||||||
smallTitleFont _HANDLE
|
smallTitleFont _HANDLE
|
||||||
menubarFont _HANDLE
|
menubarFont _HANDLE
|
||||||
|
@ -56,7 +56,6 @@ var (
|
||||||
_createFontIndirect = gdi32.NewProc("CreateFontIndirectW")
|
_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) {
|
func getStandardWindowFonts() (err error) {
|
||||||
var ncm _NONCLIENTMETRICS
|
var ncm _NONCLIENTMETRICS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue