Commit Graph

2097 Commits

Author SHA1 Message Date
Pietro Gagliardi 031c67e38d Split the code to turn x/y LPARAM into a row/column number to its own function. The mouse tracking code will need it. 2014-11-19 22:33:18 -05:00
Pietro Gagliardi d75795f968 More checkbox mouse code. This implements tracking. 2014-11-19 10:38:20 -05:00
Pietro Gagliardi 20b6a3cf2a More TODOs. 2014-11-19 10:17:29 -05:00
Pietro Gagliardi 896239371e Began the work for actually doing checkbox events in the new Windows Table. Currently it mostly responds correctly to mouse presses and releases; it just needs to be hit-tested properly. 2014-11-18 20:30:52 -05:00
Pietro Gagliardi cb2642765a Started the work to handle checkboxes. For now, we draw just a red rectangle; when we do events this will change color dynamically. When I hook up the control to its parent, I will move from these rectangles to the actual checkbox images. In the meantime, fix some pointer bugs in imagelist_windows.c as well. 2014-11-18 13:53:53 -05:00
Pietro Gagliardi 8175bd411a Fixed keyboard navigation in the new Windows Table. 2014-11-18 13:22:38 -05:00
Pietro Gagliardi 2103a14c16 Elaborated some comments. 2014-11-18 12:51:00 -05:00
Pietro Gagliardi a77969754f More critical TODOs. 2014-11-18 12:36:12 -05:00
Pietro Gagliardi 8a5d4f8b0e Mostly implemented vertical scrolling on selection change. The bottom row still needs fixing. 2014-11-18 12:29:14 -05:00
Pietro Gagliardi 0e13193310 Optimized new Windows Table selection redraw and did most of the work for scroliing on selection change. Also more TODOs. 2014-11-18 08:17:42 -05:00
Pietro Gagliardi 46056e54e4 Added a prev parameter to finishSelect() on the new Windows Table. This will allow proper scrolling to the selection. 2014-11-17 22:52:15 -05:00
Pietro Gagliardi d893ba6c03 Added redrawRow() to the Windows Table and changed WM_SETFOCUS/WM_KILLFOCUS handling to use it. It will be used for selections later. 2014-11-17 10:21:43 -05:00
Pietro Gagliardi c8f732c44b More TODOs. 2014-11-16 10:31:10 -05:00
Pietro Gagliardi 93046dc868 Split the code to compute the last visible item in the new Windows Table into its own function. This is needed for keyboard vertical scrolling. 2014-11-15 20:36:56 -05:00
Pietro Gagliardi f11b1141fb Stored the checkbox width/height in the new Windows Table. This will be needed for hit-testing checkboxes. 2014-11-14 22:41:25 -05:00
Pietro Gagliardi ee13093136 More TODOs. 2014-11-13 12:15:16 -05:00
Pietro Gagliardi bdcb4516b7 More TODOs. 2014-11-13 12:14:29 -05:00
Pietro Gagliardi 4697976fa7 More TODOs. 2014-11-12 22:54:48 -05:00
Pietro Gagliardi 922097985b Added keyboard navigation for columns in the new Windows Table. 2014-11-12 22:48:04 -05:00
Pietro Gagliardi 2b8f0635a0 More TODOs. 2014-11-12 22:37:56 -05:00
Pietro Gagliardi 8f0f1ad3b5 Added cell focusing to the new Windows Table. Checkbox columns need keyboard accessibility too. For now, focus is only applied with a mouse click. 2014-11-12 21:59:03 -05:00
Pietro Gagliardi 7409ce424e More TODOs and redraws. 2014-11-11 13:57:16 -05:00
Pietro Gagliardi 0ab175471b Started writing up the actual messages for the new Windows Table. First is tableAddColumn. Removed some hardcoding as a result. 2014-11-11 13:54:34 -05:00
Pietro Gagliardi 56ad702444 Added the code for the checkbox image lists to the Windows Table test. 2014-11-10 14:57:26 -05:00
Pietro Gagliardi 35d7b41726 Settled a TODO in the accessibility code. 2014-11-09 23:44:46 -05:00
Pietro Gagliardi b8fdfa49fd More accessibility notes. 2014-11-09 22:11:12 -05:00
Pietro Gagliardi d254500cd3 Added assorted accessibility notes. 2014-11-09 21:43:24 -05:00
Pietro Gagliardi ded1de5c99 Moved the accessibility setup out of the way. I have no idea how to actually /do/ accessibility on a list view since the interface doesn't seem to support tabular data layouts... 2014-11-09 15:48:48 -05:00
Pietro Gagliardi c32e95890e Started the work to add accessibility to the new Windows Table. Also adjusted winapi_windows.h to accomodate this (defined CINTERFACE and included <oleacc.h>). 2014-11-09 13:04:04 -05:00
Pietro Gagliardi 855025b207 Laid the foundation for accessibility in the Windows Table. 2014-11-09 02:36:43 -05:00
Pietro Gagliardi f6879c1e26 More TODOs. 2014-11-09 02:11:39 -05:00
Pietro Gagliardi 0c31f15058 Properly moved the new Windows Table header during hscroll. 2014-11-08 22:46:31 -05:00
Pietro Gagliardi 9ab145256e Removed an unnecessary TODO. 2014-11-08 16:49:12 -05:00
Pietro Gagliardi 602500c64f More TODOs. 2014-11-07 18:19:27 -05:00
Pietro Gagliardi 85fd26a3e3 Handled horizontal scrolling in drawing. Now to fix the header... 2014-11-07 18:13:59 -05:00
Pietro Gagliardi 3cb5017b35 Implemented horizontal scrolling. Horizontally scrolled drawing not yet implemented. 2014-11-07 10:12:06 -05:00
Pietro Gagliardi bc5955bc35 More TODOs. 2014-11-07 09:54:56 -05:00
Pietro Gagliardi 0c1e4bedb1 Added some prerequisite bookkeeping needed for Windows Table horizontal scrolling. 2014-11-06 20:29:16 -05:00
Pietro Gagliardi 80679f3d35 Removed now-fixed TODOs. 2014-11-06 20:10:08 -05:00
Pietro Gagliardi 130e139806 Fixed the Windows Table reimplementation's redraw issues. Thanks again to Jonathan Potter (http://stackoverflow.com/a/26747199/3408572). 2014-11-06 19:47:38 -05:00
Pietro Gagliardi 0b36a87713 Clarification of previous commit 2014-11-06 10:44:17 -05:00
Pietro Gagliardi 93f99b3bee Let us end the scourge of vanilla MinGW once and for all 2014-11-06 10:43:21 -05:00
Pietro Gagliardi e7a5c4bfac More TODOs. 2014-11-05 20:29:22 -05:00
Pietro Gagliardi fdd3720821 Split drawItems() into drawItems() and drawItem() in the Windows Table reimplementation. This will make rewriting drawItem() easier. 2014-11-05 20:26:21 -05:00
Pietro Gagliardi b40c1acab0 Updated README. 2014-11-05 16:38:29 -05:00
Pietro Gagliardi 2a337df8e5 Fixed up appearance of read-only TextFields on Windows. 2014-11-05 16:36:44 -05:00
Pietro Gagliardi 745fdc9dc6 More Windows window class logic simplification. This will be needed for read-only TextFields, next. 2014-11-05 14:12:57 -05:00
Pietro Gagliardi b632fef3b1 Implemented TextField.ReadOnly() on Mac OS X. Began standardizing window class name access on Windows. 2014-11-05 13:35:39 -05:00
Pietro Gagliardi cd96f8ee2e Implemented TextField.ReadOnly() on GTK+. 2014-11-05 13:08:06 -05:00
Pietro Gagliardi 5fc368fc23 Started adding TextField.ReadOnly() and implemented it (mostly) on Windows. 2014-11-05 12:59:44 -05:00