Commit Graph

2302 Commits

Author SHA1 Message Date
Pietro Gagliardi 3b5e8f5e7d Started writing the framework for having each Table on Windows to maintain their own checkbox image list. This will be needed to properly handle WM_THEMECHANGED. 2014-08-25 02:50:42 -04:00
Pietro Gagliardi edcca3d5be Cleaned up the checkbox image list section of imagelist_winidows.c. 2014-08-25 02:22:28 -04:00
Pietro Gagliardi 2c26f3e4ca Added code for printing HRESULTs on Windows. (There is no HRESULT-to-string function because HRESULTs were designed to be extensible in vendor-specific ways.) 2014-08-25 01:49:11 -04:00
Pietro Gagliardi 95c42353fb Added error return checks to MessageBeep(); 2014-08-25 01:44:14 -04:00
Pietro Gagliardi f9c5c41c77 Split ymargin into top and bottom margins to accomodate Groups on Windows; fixed those. 2014-08-24 21:23:19 -04:00
Pietro Gagliardi 01db831c4c Removed stray/leftover TODO. 2014-08-24 21:11:03 -04:00
Pietro Gagliardi d238e262df Tested TextField.Invalid() beeps on GTK+. Works. 2014-08-24 18:20:03 -04:00
Pietro Gagliardi 425fdfd27a More TODOs. 2014-08-24 18:08:10 -04:00
Pietro Gagliardi b2eb341fb7 Added beep to TextFIeld.Invalid() on Mac OS X. 2014-08-24 15:27:58 -04:00
Pietro Gagliardi 811ec66d81 Added error beep to GTK+ TextField.Invalid(). 2014-08-24 01:14:17 -04:00
Pietro Gagliardi 073ec1d8b3 Update future plans. 2014-08-23 20:40:57 -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 84e7d24a5c Fixed a lot of Area.OpenTextFieldAt(); thanks to mikeash in irc.freenode.net/#macdev. 2014-08-23 19:29:17 -04:00
Pietro Gagliardi 89ea8f5cbb Started the Mac OS X implementation of Area.OpenTextFieldAt(). 2014-08-22 22:32:31 -04:00
Pietro Gagliardi c7268f8fee Began implementing Area.OpenTextFieldAt() on Windows. 2014-08-22 13:57:32 -04:00
Pietro Gagliardi 93b1d3428a Fixed focus-out bug in GTK+ Area TextField. 2014-08-22 13:04:57 -04:00
Pietro Gagliardi 7008007edb Slight behavior change to Area.OpenTextFieldAt(). 2014-08-22 12:53:10 -04:00
Pietro Gagliardi e5dd618cb5 More TODOs. 2014-08-22 12:50:21 -04:00
Pietro Gagliardi 51892c3b7f Fixed some flaws in GTK+ Area.OpenTextFieldAt(). 2014-08-22 11:39:45 -04:00
Pietro Gagliardi a48126cec7 Added Area.OpenTextFieldAt() and implemented it on GTK+. 2014-08-22 11:29:44 -04:00
Pietro Gagliardi 20a65d96df Wrapped GTK+ Areas in a GtkOverlay in preparation for adding OpenTextFieldAt(). 2014-08-22 10:52:51 -04:00
Pietro Gagliardi 7ad1a9852e Cleaned up the future plans. 2014-08-22 10:36:42 -04:00
Pietro Gagliardi ec58f2ac1c Fixed Area.Repaint() bugs on GTK+. 2014-08-21 20:45:46 -04:00
Pietro Gagliardi df8cbec7b8 Quick update to Area GTK+ drawing in an attempt fo figure out what's going on: we store the Area's width/height already; no need to get it back out from GTK+ itself. 2014-08-21 19:10:10 -04:00
Pietro Gagliardi 8feaa1c439 Finished the Area.Repaint() test and fixed found bugs. There's some weird issue left in GTK+ Areas... 2014-08-21 18:23:51 -04:00
Pietro Gagliardi 4e2315e757 Started implementing a test of Area.RepaintAll()/Repaint(). 2014-08-21 15:32:36 -04:00
Pietro Gagliardi 2c305c8785 Implemented Area.Repaint() on Mac OS X. 2014-08-21 13:17:35 -04:00
Pietro Gagliardi 0be1bf5caa Fixed crashing bug in tab_windows.go. 2014-08-21 13:02:33 -04:00
Pietro Gagliardi 3a16648b83 Implemented Area.Repaint() on Windows. 2014-08-21 13:01:50 -04:00
Pietro Gagliardi 5ddef41133 Added Area.Repaint() and implemented it on GTK+. Untested as of yet. 2014-08-21 11:43:37 -04:00
Pietro Gagliardi c9f8955758 Implemented the new AreaHandler.Key() on Mac OS X. 2014-08-21 10:19:08 -04:00
Pietro Gagliardi d53dba9e38 More TODOs. 2014-08-21 09:00:28 -04:00
Pietro Gagliardi 71b6b72ee3 Implemented the new AreaHandler.Key() behavior on the GTK+ backend, removing the need for our focus stuff. 2014-08-21 08:57:48 -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 f3ca234dda Cleaned up uimsgloop() in Windows. This will be important, as I'm going to be changing AreaHandler.Key()... again... 2014-08-20 23:38:22 -04:00
Pietro Gagliardi e845fcbf78 Implemented Table.OnSelected() on Mac OS X. 2014-08-20 21:43:28 -04:00
Pietro Gagliardi 6a0d1166d9 Changed tableOnSelection() to tableSelectionChanged() in the Windows files for parity with the GTK+ and (next commit) Mac OS X files. 2014-08-20 21:37:44 -04:00
Pietro Gagliardi 0cb7a6bdf2 More TODOs. 2014-08-20 21:32:59 -04:00
Pietro Gagliardi 607b49482e Implemented Table.OnSelected() on the GTK+ backend. 2014-08-20 21:30:23 -04:00
Pietro Gagliardi b964c564e7 Added Table.OnSelected() and implemented it on Windows. 2014-08-20 21:21:45 -04:00
Pietro Gagliardi f60e888c38 Scrapped multiple-selection Tables. 2014-08-20 20:57:12 -04:00
Pietro Gagliardi f033320f96 Made Tables on Windows single-selection. 2014-08-20 20:56:14 -04:00
Pietro Gagliardi 3b380ea07f Added code to try to figure out the bheavior of WIndows Tables for adding an OnSelected() event. 2014-08-20 20:50:55 -04:00
Pietro Gagliardi 3422949f15 More TODOs. 2014-08-20 17:09:22 -04:00
Pietro Gagliardi 8b6b8ec06c Implemented TextField.Invalid() on Mac OS X. 2014-08-20 17:08:47 -04:00
Pietro Gagliardi 35e788aa7f Updated previous commit to work on password fields as well. 2014-08-20 15:53:34 -04:00
Pietro Gagliardi 77ab711705 Implemented TextField.OnChanged() on Mac OS X. 2014-08-20 15:26:48 -04:00
Pietro Gagliardi ac6d0429f1 Implemented TextField.Invalid() on Windows. 2014-08-20 14:17:00 -04:00
Pietro Gagliardi e06e327155 Implemented TextField.OnChanged() on Windows. 2014-08-20 12:04:36 -04:00