Commit Graph

19 Commits

Author SHA1 Message Date
Pietro Gagliardi 5ec4108cd0 Simplified Area scrolling code a small bit; no bugfix though 2014-08-28 15:20:16 -04:00
Pietro Gagliardi b32573a4fe Fixed up Area on Windows to always draw the background regardless of the size of the clipping rectangle on the Go side and to not send extraneous WM_ERASEBKGND. This will be needed for having Areas draw the background. 2014-08-28 11:03:32 -04:00
Pietro Gagliardi e7490ce49b Added link to info in dialog_windows.c; removed TODOs in area_window.c and basicctrls_windows.c that I decided were fine as they were; more TODOs otherwise. 2014-08-25 23:35:20 -04:00
Pietro Gagliardi d679f5c5d9 Implemented more/most of Area.OpenTextFieldAt() on Windows. 2014-08-23 20:39:47 -04:00
Pietro Gagliardi f10c1f56b5 More fixes to Windows Area.OpenTextFieldAt(). Thanks to http://stackoverflow.com/questions/25462989/why-am-i-getting-wm-mouseactivate-when-i-click-on-my-child-window-i-have-it-cha 2014-08-23 19:44:55 -04:00
Pietro Gagliardi c7268f8fee Began implementing Area.OpenTextFieldAt() on Windows. 2014-08-22 13:57:32 -04:00
Pietro Gagliardi 3a16648b83 Implemented Area.Repaint() on Windows. 2014-08-21 13:01:50 -04:00
Pietro Gagliardi e5c74b832b Changed AreaHandler.Key() to return a boolean value indicating if the event was handled; implemented this on Windows. It does sledgehammer some edge cases I wanted to avoid, but it also avoids fussing about scrolling and focus and what not. 2014-08-21 05:37:24 -04:00
Pietro Gagliardi 868161b7f0 Moved code to handle window user data in the Windows backend to a single function. 2014-08-14 16:12:43 -04:00
Pietro Gagliardi c1dc235d3b Stripped C-style comments from C sources and headers where appropriate. 2014-08-14 10:42:10 -04:00
Pietro Gagliardi 2a2d730d12 Decided to remove AreaHandler.Defocuses() as that mucks up with the Mac OS X keyboard trap. 2014-08-13 14:09:53 -04:00
Pietro Gagliardi b01c653942 Made Areas on Windows tab stops and implemented AreaHandler.Defocuses() on Windows. 2014-08-13 10:41:27 -04:00
Pietro Gagliardi 1873b72d49 Got rid of the direct use of WPARAM in Area mouse events on Windows. Whatever happened between then and now, Held works on both Windows and GTK+ now... 2014-08-12 05:11:17 -04:00
Pietro Gagliardi 9bf415bcaf Removed TODO about duplicate case labels (it's illegal in C too; citing the standards (both C89 and C99) as proof). 2014-08-09 21:49:21 -04:00
Pietro Gagliardi 46bb97cb75 Fixed area_windows.c data types. 2014-08-05 21:34:58 -04:00
Pietro Gagliardi 96c81996ba Fixed errors with Area on Windows. Woo! 2014-08-05 12:49:08 -04:00
Pietro Gagliardi 57df87f11d Fixed lots of syntax errors, including one where I forgot a parameter to a Windows API call, oops... the problem is present in the main package being replaced too. :x It will be fixed when I move this redo up. Also added Area initializer to uiinit(). NOW does it work??? 2014-08-05 12:29:37 -04:00
Pietro Gagliardi fada6849c4 Mostly completed writing Area on Windows. Now to fix compiler errors. 2014-08-05 12:17:44 -04:00
Pietro Gagliardi bccfde2c34 Started re-adding Area to the Windows backend: ported the existing code to C. 2014-08-05 12:05:43 -04:00