Commit Graph

18 Commits

Author SHA1 Message Date
Pietro Gagliardi a3e27bfbd0 Converted the standard Windows window class (for Window) to be a single class, rather than having a new one for each Window. Now for Area. 2014-05-30 21:49:55 -04:00
Pietro Gagliardi 2e6254ec61 Finished migrating the Windows code to using the pregenerated constants. 2014-05-25 15:23:11 -04:00
Pietro Gagliardi 50dc1722da Cleaned up/removed some (not all) TODOs in init_windows.go. 2014-04-28 12:44:07 -04:00
Pietro Gagliardi ac633a8694 Removed the GDI+ dependency on Windows since we no longer use it. 2014-04-12 15:42:13 -04:00
Pietro Gagliardi cfcac03df7 Added GDI+ to the package's Windows version: DLL loaded, initialized, and shut down. It will be used for drawing to Areas because using GDI itself is more complex than it needs to be. 2014-03-24 17:01:33 -04:00
Pietro Gagliardi 34ce16d586 Separated file creation dates from the package comment. 2014-03-12 21:55:45 -04:00
Pietro Gagliardi 2e99d1319a More TODO reduction. 2014-03-11 12:22:04 -04:00
Pietro Gagliardi a8bd21fe95 Added Windows implementation of ProgressBar and the requisite comctl32.dll code. 2014-02-25 08:28:10 -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
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 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 355016de05 More error/TODO reduction. 2014-02-15 14:11:54 -05:00
Pietro Gagliardi 4b16716e61 Restructuring the codebase to make things neater. First off: each window now has its own class; the sysData knows about children. This updates the window class to become a generator and rewrites the WndProc as well. 2014-02-12 20:51:07 -05:00
Pietro Gagliardi ecb2205e02 More error corrections; not done yet... 2014-02-11 19:09:10 -05:00
Pietro Gagliardi 09a42e0c34 Added the init and testing main functions and started fixing errors. Let's fix the rest and hope it works... 2014-02-11 18:57:03 -05:00
Pietro Gagliardi c6a8a4d2f7 (see previous commit; part 2) 2014-02-11 17:39:41 -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 b727a972ad Set up initialization on Windows (2/2). 2014-02-11 16:25:27 -05:00