Commit Graph

1202 Commits

Author SHA1 Message Date
Pietro Gagliardi 989ba776b0 More TODOs. 2014-06-09 22:27:41 -04:00
Pietro Gagliardi caeff5bb88 Implemented RepaintAll() on Windows. 2014-06-09 22:26:37 -04:00
Pietro Gagliardi f8d46b6bdb Implemented Area.RepaintAll() on GTK+. 2014-06-09 22:22:02 -04:00
Pietro Gagliardi fa4094adeb Added Area.RepaintAll() (requested by aybabtme on the Gopher Academy Slack) and implemented it on Mac OS X. 2014-06-09 22:11:08 -04:00
Pietro Gagliardi 6b860779e3 Verified mouse drag behavior. Also more TODOs. 2014-06-09 21:55:33 -04:00
Pietro Gagliardi 8d688188b8 Decided to not change parameter order of constructors. 2014-06-09 21:35:14 -04:00
Pietro Gagliardi 0e3811244e Updated GTK+/Wayland TODO now that we know what's wrong 2014-06-09 19:57:01 -04:00
Pietro Gagliardi bd2317777e Resolved vertical alignment of labels on Windows. 2014-06-09 17:28:12 -04:00
Pietro Gagliardi 2a878f0e91 Removed TODO about Windows label ellipsization; SS_LEFTNOWORDWRAP's docs say so. Replaced it with one about vertical label alignment... 2014-06-09 17:06:33 -04:00
Pietro Gagliardi 72012114f1 Properly integrated the Area preferred size into the Windows backend's preferred size table. 2014-06-09 16:56:19 -04:00
Pietro Gagliardi 14c8cb43e9 Removed TODO about messagebox font in stdfont_windows.go; decided to just use it. 2014-06-09 16:49:20 -04:00
Pietro Gagliardi 24d24c5e30 Actually make the prefsize_windows.go change from the previous commit. 2014-06-09 16:48:04 -04:00
Pietro Gagliardi e090029678 Removed TODO about GetDC() vs GetWindowDC() in prefsize_windows.go; the latter includes the non-client area, which we won't bother with. 2014-06-09 16:45:06 -04:00
Pietro Gagliardi bdb942440c Removed the GTK+ scrollbars in Area thing as that can't be resolved (it's a property of the minimum preferred size of both the GtkScrollbar and GtkScrolledWindow; these can't be changed). Thanks to baedert in irc.gimp.net/#gtk+. 2014-06-09 16:17:08 -04:00
Pietro Gagliardi 7adc18caf1 Removed TODO on getting the available button count: this isn't meaningful. (desrt in irc.gimp.net/#gtk+ confirmed that GDK has no such function and both him and mikeash in irc.freenode.net/#macdev pointed out issues with such a function.) 2014-06-08 22:38:42 -04:00
Pietro Gagliardi b1aa096be2 David Wendt re-evaluated the current master build and it's stable now; removed that TODO. 2014-06-08 22:26:24 -04:00
Pietro Gagliardi d1e14eec95 Added screenshots to the README. Fixes issue #11. 2014-06-08 19:39:52 -04:00
Pietro Gagliardi 7dfd990d6f Updated some TODOs. 2014-06-08 16:03:20 -04:00
Pietro Gagliardi 17d00b59c7 Fixed a quick typo spotted by _7sins in irc.freenode.net/#go-nuts. 2014-06-08 15:23:54 -04:00
Pietro Gagliardi 41085768e7 Made the application-modal sentinel in dialog.go non-nil to prevent weird behavior on nil Windows in program code. Thanks to xtg in the Gopher Academy Slack for corroborating. 2014-06-08 13:00:21 -04:00
Pietro Gagliardi bb6de0de48 Cleaned up dialog documentation. 2014-06-08 12:56:04 -04:00
Pietro Gagliardi b172ab2e37 Added new MsgBox() behavior on Mac OS X. Now we can finally remove MsgBox() from the TODOs! :D 2014-06-08 12:36:55 -04:00
Pietro Gagliardi 10f55564d0 Fixed modality issues on the GTK+ MsgBox() changes. The system introduced here has the advantage of scaling out to all other types of dialogs. 2014-06-08 11:50:11 -04:00
Pietro Gagliardi 54966a3823 Whoops, forgot to apply dialogWindow to dialog_unix.go. 2014-06-08 10:16:44 -04:00
Pietro Gagliardi 15afca6402 Added the new MsgBox() behavior to the GTK+ backend. It /almost/ works right; just needs some more changes... 2014-06-08 10:07:44 -04:00
Pietro Gagliardi 641d11c6fe Implemented the new MsgBox()/MsgBoxError() behavior on Windows. 2014-06-08 08:50:52 -04:00
Pietro Gagliardi 7cb8fc1e32 Woo yeah it's another API change to MsgBox()! This splits parent out and makes it a receiver of MsgBox() and MsgBoxError() for the case when you want to show modal to a specific window only. These will eventually return channels, but first I'll need to igure out how to get this working... 2014-06-08 08:17:47 -04:00
Pietro Gagliardi 4509247a77 Moved the blurred Area check TODO to future plans because I'd need to find images for that; added some advice for that. 2014-06-08 01:22:38 -04:00
Pietro Gagliardi e234244ead Moved the Listbox preferred size TODO to future plans because this was addressed earlier when trying to do horizontal scrolling; see the experiments/ folder for how poorly that turned out. Preferred size will need the same code. 2014-06-08 01:13:16 -04:00
Pietro Gagliardi d4e06bb4d3 Checked Windows RECT usage and fixed wrong ones. 2014-06-08 00:55:11 -04:00
Pietro Gagliardi de6f07bb13 Reported 64-bit wine failures to the wine team. 2014-06-08 00:51:03 -04:00
Pietro Gagliardi ef3adffd54 Fixed the Windows 7 progressbar animation dumbness. 2014-06-07 23:27:38 -04:00
Pietro Gagliardi d9a8cf07b9 Updated TODOs. wine bug filed; removed that TODO. 2014-06-07 22:58:12 -04:00
Pietro Gagliardi bc848f5c40 Fixed all the NSAutoreleasePool issues on Mac OS X 10.6. 2014-06-07 19:56:51 -04:00
Pietro Gagliardi 70d7f9fb2a Got rid of some of the autorelease pool warnings by creating a temporary pool for each call to toNSString(). 2014-06-07 19:39:59 -04:00
Pietro Gagliardi c7e9c59d63 Removed previous commit from todo.md. 2014-06-07 18:18:06 -04:00
Pietro Gagliardi 9f2669d583 Fixed Command key up on Mac OS X. This fix also fixes Help key down, so remove the workaround there. 2014-06-07 18:17:29 -04:00
Pietro Gagliardi fe4d9b992d Changed SetWindowLong() to SetWindowLongPtr() in the Windows backend. I forgot I already had some there :| 2014-06-07 14:50:05 -04:00
Pietro Gagliardi 7a22f0e073 Fixed a regression in the Windows Area code: when I fixed numpad behavior, I broke NEnter. Fixed. Also more TODOs. 2014-06-07 12:29:38 -04:00
Pietro Gagliardi c34f2c234c Documented click event on activate behavior in the GTK+ backend. 2014-06-07 11:40:25 -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 345e497611 Removed the TODO about doing keyboard checks in the same order on each platform; what we have is fine, and the Windows shift key problem is different. 2014-06-07 00:28:47 -04:00
Pietro Gagliardi 83e4f05592 Fixed typo in area.go documentation. 2014-06-07 00:17:50 -04:00
Pietro Gagliardi e45a88d86a Elaborated previous commit. 2014-06-06 23:47:48 -04:00
Pietro Gagliardi d3270db6dc Added note that Areas get focus on Mac OS X on a click event automatically since we make it a first responder. 2014-06-06 23:46:47 -04:00
Pietro Gagliardi 14c7267b10 Made the preferred size of an Area its size on GTK+ as well. 2014-06-06 23:31:50 -04:00
Pietro Gagliardi f539747546 Set Area's preferred size in the documentation and on Windows and Mac OS X. 2014-06-06 23:03:29 -04:00
Pietro Gagliardi 84c41112b3 Updated some TODOs. 2014-06-06 22:52:17 -04:00
Pietro Gagliardi 42e2c130ac Did half the work to fix Help key handling in Mac OS X. 2014-06-06 22:22:36 -04:00