summaryrefslogtreecommitdiff
path: root/prefsize_windows.go
AgeCommit message (Collapse)Author
2014-06-25Finished the Windows conversion to the new sizing system. Untested.Pietro Gagliardi
2014-06-25Implemented new label behavior on Windows.Pietro Gagliardi
2014-06-10More go fmt.Pietro Gagliardi
2014-06-09Properly integrated the Area preferred size into the Windows backend's ↵Pietro Gagliardi
preferred size table.
2014-06-09Actually make the prefsize_windows.go change from the previous commit.Pietro Gagliardi
2014-06-09Removed TODO about GetDC() vs GetWindowDC() in prefsize_windows.go; the ↵Pietro Gagliardi
latter includes the non-client area, which we won't bother with.
2014-06-06Set Area's preferred size in the documentation and on Windows and Mac OS X.Pietro Gagliardi
2014-06-04Added a link to the older Layout page on MSDN to prefsize_windows.go.Pietro Gagliardi
2014-04-13Rolled back the Windows horizontally scrolling Listbox changes because I ↵Pietro Gagliardi
can't seem to get it to work on Mac OS X (and keeping that code there is inefficient); removed the guarantee of horizontal scrollbars in Listbox and made that a future plan. Both the Windows and the non-working Mac OS X code is in unmigrated/hscrolllistbox.go (and the unmigrated/ folder will be renamed shortly).
2014-04-13Added horizontal scrollbars to Listboxes on Windows. Also fixed typos and ↵Pietro Gagliardi
bugs in Windows sysData.selectedTexts().
2014-04-10"Fixed" the zero-size Combobox drop-down on Windows by having Windows fix it ↵Pietro Gagliardi
for us (and since we did everything we need to do to get it to fix it for us, it was already fixed!).
2014-04-03Adjusted Button and Combobox sizes on Windows to be better...Pietro Gagliardi
2014-04-02Switched to calling the Windows MulDiv() function instead of reimplementing ↵Pietro Gagliardi
it ourselves in prefsize_windows.go.
2014-04-01Changed the font loading on Windows to always load the control font unless a ↵Pietro Gagliardi
flag to not load any font is set; when menus and statusbars are added, they need special casing. This also means the preferred size calculations reads controlFont directly (it will need the same change).
2014-04-01Fixed Windows control sizing: turns out simply calling GetTextMetrics() was ↵Pietro Gagliardi
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-03-12Separated file creation dates from the package comment.Pietro Gagliardi
2014-03-09Changed Windows sysData.preferredSize() to panic on error, since the other ↵Pietro Gagliardi
platforms don't return explicit errors either.
2014-02-25Added most of the Windows implementation of ProgressBar. Now to grab the ↵Pietro Gagliardi
comctl32.dll stuff.
2014-02-24Quick documentation change in prefsize_windows.go.Pietro Gagliardi
2014-02-24Some notes on the last few changes.Pietro Gagliardi
2014-02-24And the uitask message fixed was the issue all along. Now it works.Pietro Gagliardi
2014-02-24Oh right derp, preferredSize() is running on uitask already; don't use the ↵Pietro Gagliardi
dispatch channel. Almost working...
2014-02-24Added Windows preferred size code. It doesn't work right now; both GetDC() ↵Pietro Gagliardi
and GetWindowDC() are not returning at all on both wine and Windows XP; need to debug (print guards are included).