Commit Graph

511 Commits

Author SHA1 Message Date
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
Pietro Gagliardi 7880514811 Removed the gtkcolor.c mergeback; decided to hack on GtkColorChooser. 2014-08-16 08:50:18 -04:00
Pietro Gagliardi 1d117b7965 Implemented Group on Mac OS X. 2014-08-16 00:37:38 -04:00
Pietro Gagliardi 5a1fc98fc3 Added test of Group with a Control that fills it. 2014-08-15 22:59:45 -04:00
Pietro Gagliardi 5531866fed Added Group on Windows. 2014-08-15 22:56:55 -04:00
Pietro Gagliardi c5ee8c62da Resolved some future plans. 2014-08-15 21:44:35 -04:00
Pietro Gagliardi 318036d155 Added Group and implemented it on GTK+. 2014-08-15 21:43:24 -04:00
Pietro Gagliardi 6b77304c8a More future plans. 2014-08-15 20:08:14 -04:00
Pietro Gagliardi bf57ce17ca Removed outdated comment from Control's documentation. 2014-08-15 20:01:57 -04:00
Pietro Gagliardi a282a12b81 Fixed up Grid and wrote a test. 2014-08-15 19:50:00 -04:00
Pietro Gagliardi 0359d3bf4a Added Label.isStandalone(), used by Grid. Now for the Grid test... 2014-08-15 19:35:49 -04:00
Pietro Gagliardi d824e549f1 Adjusted Grid to be like new Stack. Automatically made Labels in Grids filling. 2014-08-15 19:34:06 -04:00
Pietro Gagliardi 1fe7831cb8 Moved Grid back. Removed now-unused stack.created. 2014-08-15 19:33:33 -04:00
Pietro Gagliardi 6340b3a054 More TODOs. 2014-08-15 19:17:30 -04:00
Pietro Gagliardi a1dc098cbe More TODOs. 2014-08-15 18:59:42 -04:00
Pietro Gagliardi d132de18a6 I HAVE DEFEATED APPKIT. 2014-08-15 12:56:33 -04:00
Pietro Gagliardi 441b8c7c73 Implemented applicationShouldTerminate: and applicationShouldTerminateAfterLastWindowClosed: on Mac OS X. 2014-08-15 05:15:44 -04:00
Pietro Gagliardi e556f92e52 Removed TODO for Mac OS X default and escape button equivalents; the default is handled properly and there is no canonical escape (it's a property of the dialog manager, which we don't run). Thanks Lyle42 and kongtomorrow in irc.freenode.net/#macdev. 2014-08-14 23:55:50 -04:00
Pietro Gagliardi b91ee96316 Changed one of the names of the buttons in the small window test so it can be used for testing key equivalents in GTK+ and Mac OS X Areas. 2014-08-14 23:43:43 -04:00
Pietro Gagliardi 764ce362f3 Finally removed the TODO for buttons > 3 in GTK+ Areas (alas, bad end). 2014-08-14 23:28:22 -04:00
Pietro Gagliardi f4db1dcfc4 Can't think of a better name for sharedWndProc(). 2014-08-14 23:09:53 -04:00
Pietro Gagliardi 0bc79598c7 More future plans. 2014-08-14 19:45:33 -04:00
Pietro Gagliardi 6f385137fc Removed -[NSApp activateIgnoringOtherApps:]; see http://stackoverflow.com/a/25318870/3408572. I don't know how much of a burden this will be in practice. 2014-08-14 19:44:13 -04:00
Pietro Gagliardi 63981722cf Resolved Alt key woes on GTK+. 2014-08-14 18:55:54 -04:00
Pietro Gagliardi 5ca3f0f0f9 Made Labels on Windows transparent. 2014-08-14 17:13:52 -04:00
Pietro Gagliardi 307577889e Fixed some small issues in the C code of the Windows port. 2014-08-14 16:17:44 -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 d944af8609 Split out common container window procedure code in Windows to its own function. 2014-08-14 16:00:31 -04:00
Pietro Gagliardi 52339e1f11 More TODOs. 2014-08-14 15:41:05 -04:00
Pietro Gagliardi 72375c7ef1 Made Windows container transparent. Transparency not completely functioning yet... 2014-08-14 15:19:34 -04:00
Pietro Gagliardi cf604f7b05 Fine-tuned margin/spacing values on Mac OS X. Also more future plans. 2014-08-14 13:44:24 -04:00
Pietro Gagliardi c187aa59b9 Moved TODO about Labels to mergeback/grid.go; will worry when Grids become a thing again. 2014-08-14 13:15:11 -04:00