Commit Graph

2715 Commits

Author SHA1 Message Date
Pietro Gagliardi e25831c609 Added cleanup of Windows image lists. 2014-08-25 16:53:47 -04:00
Pietro Gagliardi 107e66715b Removed stray TODO. 2014-08-25 16:32:30 -04:00
Pietro Gagliardi 52bb5ee5df Decided to keep OFN_NODEREFERENCELINKS; the Mac backend does so. 2014-08-25 16:23:00 -04:00
Pietro Gagliardi 43f4b843aa Part 2 of previous commit. 2014-08-25 16:20:51 -04:00
Pietro Gagliardi 6fcfbd9bdb Moved some functions around. 2014-08-25 16:20:10 -04:00
Pietro Gagliardi b7fd5f035e Added a third function for comdlg32.dll errors on Windows. 2014-08-25 16:18:29 -04:00
Pietro Gagliardi 910f78c7e5 Made the width of TextFields more reasonable on Mac OS X. 2014-08-25 16:07:35 -04:00
Pietro Gagliardi f6d7797fd6 Settled some strict typing issues on the Mac OS X backend. 2014-08-25 15:17:16 -04:00
Pietro Gagliardi 14100cd172 Implemented changing themes in Windows Tables. Phew... 2014-08-25 14:04:20 -04:00
Pietro Gagliardi 3b703fc241 Stored the HIMAGELIST in the tableData struct. Now to store the HTHEME too... 2014-08-25 13:54:15 -04:00
Pietro Gagliardi 6e9ef7e2a6 Fixed a stupid typo. I'm an idiot. 2014-08-25 13:42:29 -04:00
Pietro Gagliardi 774e451967 Switched the image list stuff to a static function/message pair. 2014-08-25 11:51:38 -04:00
Pietro Gagliardi fe01ebbbcd Dropped checkboxImageList. This is the first of a multi-part commit stream becasue when I tried doing it alll at once the program broke in utterly mysterious ways. 2014-08-25 11:41:37 -04:00
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