Commit Graph

12 Commits

Author SHA1 Message Date
Pietro Gagliardi 0abe47ab58 unmigrated/messages_windows.go removed; it was migrated ages ago (in uitask_windows.go). The only thing that is lost here is HWND_BROADCAST, but we don't use it. 2014-03-10 11:24:41 -04:00
Pietro Gagliardi 1d9a883431 Re-added Windows font grabbing code. I won't use it just yet, since I only now realize I don't actually need it for preferred sizes, but eh 2014-02-24 11:55:38 -05:00
Pietro Gagliardi e39a5d928c Fixed the unregistered window class error on 64-bit Windows: turns out it was a difference in Go's int vs. what Windows expected (thanks Microsoft for not using your special types here). Fixed all instances of this, even in unmigrated/. Still does not work in wine... 2014-02-21 02:27:59 -05:00
Pietro Gagliardi fb82e651a4 Moved to a proper package; main() is now a test and go test -c is used to build. Once I iron out a bug with Windows event handling, I'll add a README. 2014-02-19 11:41:10 -05:00
Pietro Gagliardi 96de0c712e Moved the old Windows main() to unmigrated/; may wind up deleting it instead. 2014-02-17 17:39:51 -05:00
Pietro Gagliardi 16e561c1e3 Added message boxes and adjusted init() accordingly to display one on failure. 2014-02-15 16:27:07 -05:00
Pietro Gagliardi ddfb5c7603 Added buttons. 2014-02-12 11:29:20 -05:00
Pietro Gagliardi ecb2205e02 More error corrections; not done yet... 2014-02-11 19:09:10 -05:00
Pietro Gagliardi 7686c6e599 Added the window creation code. Now let's hope this works... 2014-02-11 18:50:33 -05:00
Pietro Gagliardi aa3e2788f3 Moved some more data structures to common_windows.go and made more things private. 2014-02-11 18:36:13 -05:00
Pietro Gagliardi eeff0d8605 Migrated over the window class and window procedure stuff, set up the standard window class, and wrote the skeleton window procedure. 2014-02-11 17:38:38 -05:00
Pietro Gagliardi 9b19ee7245 Moved things that I haven't migated yet out of the way for now. 2014-02-11 16:17:17 -05:00