Commit Graph

19 Commits

Author SHA1 Message Date
Pietro Gagliardi 7b2e6b7fa3 Made adjustments to the output of windowsconstgen to please go fmt. 2014-06-10 09:46:00 -04:00
Pietro Gagliardi ef3adffd54 Fixed the Windows 7 progressbar animation dumbness. 2014-06-07 23:27:38 -04:00
Pietro Gagliardi 77fdd9d1c3 Documented window switch clicks in Area and implemented them on Windows and Mac OS X. 2014-06-07 04:19:37 -04:00
Pietro Gagliardi dcefa88a04 Fixed incorrect numpad handling on Windows Areas. 2014-06-07 00:46:47 -04:00
Pietro Gagliardi 4856790299 Fixed the standard window class focus behavior on Windows from the previous commit to work. Also updated the SetFocus() call in area_windows.go to boot and removed the relevant TODO after checking both wine and Windows XP work fine. 2014-06-06 01:49:23 -04:00
Pietro Gagliardi 00ec85dee6 Implemented code to save and restore control focus on Windows properly when switching away from/back to our program. It's disabled for now though because it doesn't seem to work... 2014-06-05 23:27:17 -04:00
Pietro Gagliardi bb44712fad Changed Checkbox on Windows to use BS_CHECKBOX instead of BS_AUTOCHECKBOX; this will be necessary to fix the focus issue in todo.md (see http://blogs.msdn.com/b/oldnewthing/archive/2014/05/22/10527522.aspx). 2014-06-05 18:28:40 -04:00
Pietro Gagliardi 7acc70c39e Implemented the new MsgBox() transience on Windows. 2014-06-04 23:28:43 -04:00
Pietro Gagliardi c3a87ab713 Resolved the ACTCTX_FLAG_SET_PROCESS_DEFAULT TODO by deciding to enable this flag for maximum safety. Also added more future plans. 2014-06-04 19:30:19 -04:00
Pietro Gagliardi 74c851754c Gave message boxes on Windows the MB_TASKMODAL style, which does event modality to the other windows in the program. Does not affect resizes. 2014-06-02 17:12:10 -04:00
Pietro Gagliardi 4a66f1467b Moved the standard window class (for Window) on Windows to get the sysData pointer from CreateWindowEx() and store it in the window memory instead of being given it via a closure. This will lead to having only one window class for all Windows, which will come next. Also fixed an error in windowsconstgen's output related to GetWindowLongPtr()/SetWindowLongPtr(). 2014-05-30 17:59:29 -04:00
Pietro Gagliardi 78c909cc9b Added GetWindowLongPtr()/SetWindowLongPtr() generation to the windowsconstgen tool and the pregenerated files. This will be needed for when we get rid of creating a new window class for each Window/Area. Also did some minor cleanup to the windowsconstgen tool. 2014-05-30 14:02:57 -04:00
Pietro Gagliardi 055cd36b20 Added the new Modifiers handling to the Windows backend. 2014-05-29 12:17:02 -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 51469fffb5 Removed constants from common_windows.go. Almost done! 2014-05-25 15:09:01 -04:00
Pietro Gagliardi d6e7eda29c Removed constants from area_windows.go. I think I added a regression earlier when adding the WM_ACTIVATE exception that causes the click count to be reset... 2014-05-25 14:29:56 -04:00
Pietro Gagliardi 55c5776334 Stripped constants from dialog_windows.go. 2014-05-25 14:12:57 -04:00
Pietro Gagliardi bb6befbfa7 And merged the old events_windows.go constants into zconstants_windows_GOARCH.go. 2014-05-25 14:09:52 -04:00
Pietro Gagliardi 1f94a68432 Fixed issues handling INVALID_HANDLE_VALUE in the Windows constant generator, and built the first build with generated constants! 2014-05-25 14:04:03 -04:00