Pietro Gagliardi
|
8cb3991ef9
|
Fixed Windows control sizing: turns out simply calling GetTextMetrics() was not enough, as the GetDC() functions don't load the control font into the DC; we have to do it ourselves with SelectObject() (according to GetTextMetrics()'s docs on MSDN). Upon re-evaluation, the only things that need custom fonts are menus and statusbars; I don't know if menus can be done with the standard contorls and statusbars change the font of all controls inside... so how fonts are handled in classData needs to change now.
|
2014-04-01 21:17:27 -04:00 |
Pietro Gagliardi
|
34ce16d586
|
Separated file creation dates from the package comment.
|
2014-03-12 21:55:45 -04:00 |
Pietro Gagliardi
|
ab11900d43
|
Changed Windows sysData.preferredSize() to panic on error, since the other platforms don't return explicit errors either.
|
2014-03-09 19:34:43 -04:00 |
Pietro Gagliardi
|
668de3bccb
|
Added most of the Windows implementation of ProgressBar. Now to grab the comctl32.dll stuff.
|
2014-02-25 01:02:16 -05:00 |
Pietro Gagliardi
|
f3365135c8
|
Quick documentation change in prefsize_windows.go.
|
2014-02-24 15:02:58 -05:00 |
Pietro Gagliardi
|
a9325fbfbc
|
Some notes on the last few changes.
|
2014-02-24 14:17:37 -05:00 |
Pietro Gagliardi
|
b166c0f114
|
And the uitask message fixed was the issue all along. Now it works.
|
2014-02-24 14:16:05 -05:00 |
Pietro Gagliardi
|
4c6ce9639f
|
Oh right derp, preferredSize() is running on uitask already; don't use the dispatch channel. Almost working...
|
2014-02-24 14:12:02 -05:00 |
Pietro Gagliardi
|
165308b819
|
Added Windows preferred size code. It doesn't work right now; both GetDC() and GetWindowDC() are not returning at all on both wine and Windows XP; need to debug (print guards are included).
|
2014-02-24 13:22:59 -05:00 |