Commit Graph

2413 Commits

Author SHA1 Message Date
Pietro Gagliardi 62a1db4756 Wrote up the hscroll code. Not sure why it doesn't work yet. Not yet applied to headers or drawing. 2014-12-10 15:37:52 -05:00
Pietro Gagliardi 4e21ee8b11 Added headerHeight to the new Table. 2014-12-10 14:07:14 -05:00
Pietro Gagliardi 395521b832 Moved Table width calculation out of recomputeHScroll() and into updateTableWidth(); also stored width in the Table itself. 2014-12-10 10:07:08 -05:00
Pietro Gagliardi b2b04c6de4 More future plans. 2014-12-10 10:02:17 -05:00
Pietro Gagliardi a8fed6c28d Changed from recomputeHScroll() to updateTableWidth() as we will store the table width separately and just use one call to SetScrollInfo() for everything to avoid weirdness. 2014-12-10 10:01:16 -05:00
Pietro Gagliardi cb199cca77 Started readding hscroll code; just recomputeHScroll() for now. 2014-12-09 20:47:03 -05:00
Pietro Gagliardi dd37255fa1 Reimplemented tableAddColumn for real. 2014-12-09 20:32:49 -05:00
Pietro Gagliardi d6ff23dacb More TODOs. 2014-12-09 19:31:05 -05:00
Pietro Gagliardi bad29faf1a Added a list of scrollbar series articles for convenience. 2014-12-09 15:57:09 -05:00
Pietro Gagliardi 0e6c48a45c More TODOs. 2014-12-08 21:43:07 -05:00
Pietro Gagliardi f0c4589403 Began the implementation of the new Windows Table's drawCell(). 2014-12-08 21:42:00 -05:00
Pietro Gagliardi 59054c8932 Readded rowHeight(). Also tested font helper functions. 2014-12-08 16:23:55 -05:00
Pietro Gagliardi 6271fc941a More TODOs. 2014-12-08 15:55:26 -05:00
Pietro Gagliardi 588d932f6c Fixed up WM_PRINTCLIENT stuff. 2014-12-08 15:54:55 -05:00
Pietro Gagliardi 3bc6fed2c1 Some TODO resolution. 2014-12-08 15:11:42 -05:00
Pietro Gagliardi 9b3555f257 Readded api.h, for WM_GETFONT/WM_SETFONT. We'll need this to re-add rowHeight(). 2014-12-08 15:04:43 -05:00
Pietro Gagliardi 01efbd750f Added tracking of header column sizes. 2014-12-08 12:57:54 -05:00
Pietro Gagliardi 7cfda3ad61 Filled in the draw() function for testing header resizes (when that is implemented). 2014-12-08 10:40:51 -05:00
Pietro Gagliardi 2f95837155 Added drawing scaffolds to the new Windows Table. 2014-12-08 10:01:41 -05:00
Pietro Gagliardi 47a83a311d Added new Windows Table header columns (and this time we'll split out the dummy data). 2014-12-08 08:50:42 -05:00
Pietro Gagliardi 26f7fc6a6b More TODOs. 2014-12-07 20:48:32 -05:00
Pietro Gagliardi e86f0c7dc4 More TODOs. 2014-12-07 20:48:09 -05:00
Pietro Gagliardi 6efc67d7e2 More header control stuff: resize handling/header control repositioning. 2014-12-07 20:16:58 -05:00
Pietro Gagliardi 399b4639fe More header support code, including header notification scaffolding. 2014-12-07 18:43:05 -05:00
Pietro Gagliardi 04787b169a Altered some comments. 2014-12-07 18:32:13 -05:00
Pietro Gagliardi e373900cf0 Started re-adding the header stuff for real this time. 2014-12-07 18:27:35 -05:00
Pietro Gagliardi e224950cf4 Some allocator cleanup in the new Table. 2014-12-07 16:22:51 -05:00
Pietro Gagliardi 75c9f73870 Altered some TODOs because <HeapAlloc> what's a last error 2014-12-07 14:05:38 -05:00
Pietro Gagliardi fcd213088f More TODOs. 2014-12-07 13:46:35 -05:00
Pietro Gagliardi d5c7d133ad Make tablePanic static; it should not be exported. 2014-12-07 13:24:12 -05:00
Pietro Gagliardi fe78114ec1 Let's get error handling right first time now. 2014-12-07 13:23:39 -05:00
Pietro Gagliardi 545743090e "Started" re-adding the header code. 2014-12-06 22:01:04 -05:00
Pietro Gagliardi 3232b47b43 Readded main code (but stripped to its essentials for now, as everything will be slowly readded, but in a different order) and fixed compilation errors (and some warnings). 2014-12-05 22:23:39 -05:00
Pietro Gagliardi 51e6028951 Made the various event handler arrays const. 2014-12-05 21:58:16 -05:00
Pietro Gagliardi 61f7316d56 Moved the rewrite of the new Windows Table to its /own/ folder. 2014-12-05 10:27:45 -05:00
Pietro Gagliardi f7daa5580f Added the new Windows Table event handling framework. 2014-12-05 10:18:37 -05:00
Pietro Gagliardi 19358785f6 More new Windows Table stuff. 2014-12-04 21:12:24 -05:00
Pietro Gagliardi ad6249422b Don't use GetMessagePos(); it returns the same LPARAM format... (and the POINT in MSG is in screen coordinates, which means we need to call the potentially-erroring ScreenToClient(), and /even then/ we would need to hack up the message pump to get that point out, which is not guaranteed if someone takes our Table code and uses it in their own Windows program, or if I even export this Table for such use!). 2014-12-04 10:17:38 -05:00
Pietro Gagliardi 74f9630bcc Started restructuring the Windows Table code; this creates stubs for coordinate system management. 2014-12-04 07:55:01 -05:00
Pietro Gagliardi 5c22fceb9b More TODOs. 2014-12-03 19:55:00 -05:00
Pietro Gagliardi 5b904dfa94 More Windows Table work. 2014-12-03 19:38:08 -05:00
Pietro Gagliardi bb28a02b15 More TODOs. Or rather, a really big, API stupidity-reducing TODO... 2014-12-02 07:27:20 -05:00
Pietro Gagliardi c550a1a958 Small precautionary change in Windows Table: use WM_USER + 20 instead of WM_USER just in case we ever get dialog manager messages (which are the first few WM_USER messages because technically they belong to WC_DIALOG). 2014-12-01 23:53:56 -05:00
Pietro Gagliardi 6b2c295fdc Isolated vertical scroll messages with the other vertical scroll code. 2014-12-01 15:34:26 -05:00
Pietro Gagliardi 16a88c548b Changed the handler functions array to be const, as that's the intent. 2014-12-01 15:18:12 -05:00
Pietro Gagliardi 84d66b6b50 Started splitting message handlers for the new Windows Table into their respective files. 2014-11-30 21:27:32 -05:00
Pietro Gagliardi c41b9b16ff Moved the api.h include to the bottom of the include list so that when I move the public-facing API code (namely the WM_SETFONT handler) there we can use functions defined later. 2014-11-30 21:11:12 -05:00
Pietro Gagliardi c67be58377 More Windows Table separation. 2014-11-30 17:05:42 -05:00
Pietro Gagliardi d23cdd7682 Started splitting the new Windows Table code into more manageable chunks. 2014-11-29 18:29:50 -05:00
Pietro Gagliardi 6cce68074a More TODOs. 2014-11-28 22:38:41 -05:00