Commit Graph

542 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
Pietro Gagliardi ac1b8e3cca Added a test for TextField.Invalid() and implemented it on the GTK+ backend. 2014-08-20 01:35:05 -04:00
Pietro Gagliardi 5f830deec8 Added events and validity methods to TextField and implemented the events on the GTK+ backend. 2014-08-20 01:08:24 -04:00
Pietro Gagliardi d07230e55e Implemented the modal queue on the GTK+ backend to ensure proper queue ordering. 2014-08-19 13:33:06 -04:00
Pietro Gagliardi a3ff63490b Split the modal queue stuff into its own files. 2014-08-19 13:25:52 -04:00
Pietro Gagliardi e5759d80de Fixed modality issues on Mac OS X. 2014-08-19 13:09:26 -04:00
Pietro Gagliardi a19832d35e More comments. 2014-08-19 12:45:41 -04:00
Pietro Gagliardi fa3dff4d46 Implemented OpenFile() on Mac OS X. 2014-08-19 12:44:42 -04:00
Pietro Gagliardi 24e5519a5b Added the GTK+ implementation of OpenFile(). Also more TODOs. 2014-08-19 10:32:23 -04:00
Pietro Gagliardi ea9907e62a More TODOs. 2014-08-19 04:04:10 -04:00
Pietro Gagliardi eeb0437435 Fixed most of the other modality issues on Windows. Now all that's left is the re-enabling window order one... 2014-08-19 04:03:09 -04:00
Pietro Gagliardi 751180ba20 Fixed message queue overload in Windows modality code. 2014-08-19 03:56:04 -04:00
Pietro Gagliardi b6a5735f89 Implemented new dialog box techniques on Windows... kinda. 2014-08-19 03:31:53 -04:00
Pietro Gagliardi 32c1d47fd8 Potentially resolved dialog issues on GTK+; will need to find out. Thanks to lazka in irc.gimp.net/#gtk+ for assistance. 2014-08-19 03:21:03 -04:00
Pietro Gagliardi f131ac432b Implemented the beginning of a potential solution to the Windows modality issue. 2014-08-18 22:45:40 -04:00
Pietro Gagliardi e0e52ad834 More TODOs. 2014-08-18 20:11:50 -04:00
Pietro Gagliardi cb4d28cc1c Added OpenFile(), the first dialog to be added, and implemented it on Windows... mostly. 2014-08-18 19:01:56 -04:00
Pietro Gagliardi b6bf7402ab Fixed foreign events. 2014-08-18 17:19:56 -04:00
Pietro Gagliardi a8da22272f Added a test of foreign events. I see they do not work yet... 2014-08-18 17:12:45 -04:00
Pietro Gagliardi 7c13661f4a Added foreign events. Untested for now. 2014-08-18 16:52:20 -04:00
Pietro Gagliardi 570f08a49c Implemented Table.Selected()/Select() on Mac OS X. Also more TODOs. 2014-08-18 10:41:58 -04:00
Pietro Gagliardi a8f711dfad Implemented Table.Selected()/Select() on GTK+, more TODOs, and a quick Windows fix. 2014-08-18 02:58:30 -04:00
Pietro Gagliardi 58e95f2399 Added Table.Selected()/Table.Select() and implemented them on Windows. 2014-08-18 02:22:27 -04:00
Pietro Gagliardi 3cad9aac25 More TODOs 2014-08-17 23:02:40 -04:00
Pietro Gagliardi 5f3cba3b90 Adjusted future plans. 2014-08-17 22:44:18 -04:00
Pietro Gagliardi 44e37f9018 Improved Table's documentation. 2014-08-17 19:49:57 -04:00
Pietro Gagliardi e966299fc4 Improved Table checkbox simulation on Windows. 2014-08-17 19:33:42 -04:00
Pietro Gagliardi c75aee7de1 More TODOs. 2014-08-17 19:28:32 -04:00
Pietro Gagliardi 172c484356 Fixed Windows Table checkboxes on Windows XP. 2014-08-17 19:24:42 -04:00
Pietro Gagliardi c148ccaca6 Finished the implementation of checkboxes on Windows Tables. 2014-08-17 18:06:36 -04:00
Pietro Gagliardi 01a8fbd652 Implemented Windows Table checkbox clicking. 2014-08-17 17:44:33 -04:00
Pietro Gagliardi 8f5df78f2a Fixed up hover handling. Thanks to Jonathan Potter on Stack Overflow. 2014-08-17 17:30:25 -04:00
Pietro Gagliardi d9b9a9a743 Implemented hover-to-hot on Windows Table checkboxes. 2014-08-17 17:22:47 -04:00
Pietro Gagliardi d7c173cc05 Began implementing checkboxes in the Windows Table. 2014-08-17 15:30:10 -04:00
Pietro Gagliardi 38e7565c37 Added code to prepare a state image list of checkboxes for adding checkbox columns to Table on Windows. 2014-08-17 13:34:06 -04:00
Pietro Gagliardi 4a5218df5b Added bool Table columns on Mac OS X. 2014-08-17 10:13:28 -04:00
Pietro Gagliardi 5854cf2e5d Implemented bool Table columns on the GTK+ backend. 2014-08-17 07:23:18 -04:00
Pietro Gagliardi aed66e27e3 Fixed weird pixel corruption in the Mac OS X ImageList implementation (damn GC). Thanks to erica in irc.freenode.net/#macdev for guessing right and others for helping. 2014-08-16 22:50:25 -04:00
Pietro Gagliardi ae7e86c24b Removed the ImageList proposal now that it's implemented. 2014-08-16 21:56:41 -04:00
Pietro Gagliardi 5903dffe3c Implemented ImageList and Table ImageIndex on Mac OS X. 2014-08-16 21:49:43 -04:00
Pietro Gagliardi 37069eadcb Implemented ImageList and Table ImageIndex on GTK+. 2014-08-16 20:48:35 -04:00
Pietro Gagliardi c60e775536 Fixed crashing glitch in Table on Windows. 2014-08-16 18:33:51 -04:00
Pietro Gagliardi 6d56f6f6b7 Improved scaling quality of images in ImageLists and more TODOs. 2014-08-16 17:43:43 -04:00
Pietro Gagliardi 270c03269f More TODOs. 2014-08-16 17:40:32 -04:00
Pietro Gagliardi d5f9c237b7 Added image lists to Tables and added them to the Windows backend... mostly. There are a few kinks to work out... 2014-08-16 17:37:21 -04:00
Pietro Gagliardi 5d69bc2534 Added some test data for ImageList. 2014-08-16 15:17:18 -04:00
Pietro Gagliardi 8702763137 Added the beginning of ImageList, including the Windows implementation. 2014-08-16 14:02:00 -04:00
Pietro Gagliardi 3ac3a72471 More Image List stuff. 2014-08-16 11:26:55 -04:00
Pietro Gagliardi dc281043e3 Added a proposal for image lists. 2014-08-16 09:37:50 -04:00
Pietro Gagliardi 444f140657 Cleaned up after bold attributes in group_unix.go. 2014-08-16 09:26:46 -04:00
Pietro Gagliardi 39c0919652 Added a proposal for Tree. 2014-08-16 09:14:23 -04:00