Pietro Gagliardi
|
ffa1bbe0b9
|
Restored the previous new API. I'm going to change it so that events are callbacks rather than using a window handler, but other than that... yeah.
|
2014-06-30 22:48:12 -04:00 |
Pietro Gagliardi
|
33155f7496
|
Reverted everything back to the old API.
|
2014-06-30 09:57:44 -04:00 |
Pietro Gagliardi
|
affc65a5a4
|
Fixed the build. New API works on Windows! Also removed TODO on dialogs in Windows since I can't reproduce the weird behavior anymore; I guess the new code fixes it.
|
2014-06-28 16:37:55 -04:00 |
Pietro Gagliardi
|
d14ee7f3dd
|
Fixed the implementation of sysData.center() on Windows to be thread-safe; also added center() to the _xSysData interface.
|
2014-06-11 10:01:55 -04:00 |
papplampe
|
4fa35b2239
|
added Center function to window
|
2014-06-11 11:41:31 +02:00 |
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
|
4a8f0ef902
|
Added 64-bit Windows constants.
|
2014-05-25 15:35:51 -04:00 |