From 61f7316d562f4c02c9e3d1bb30c3ba3963ded4a8 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 5 Dec 2014 10:27:45 -0500 Subject: Moved the rewrite of the new Windows Table to its /own/ folder. --- wintable/NEWcoord.h | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 wintable/NEWcoord.h (limited to 'wintable/NEWcoord.h') diff --git a/wintable/NEWcoord.h b/wintable/NEWcoord.h deleted file mode 100644 index 1814e87..0000000 --- a/wintable/NEWcoord.h +++ /dev/null @@ -1,31 +0,0 @@ -// 4 december 2014 - -typedef struct rowcol rowcol; - -struct rowcol { - intptr_t row; - intptr_t column; -}; - -static rowcol clientCoordToRowColumn(struct table *t, POINT pt) -{ - // TODO -} - -// same as client coordinates, but stored in a lParam (like the various mouse messages provide) -static rowcol lParamToRowColumn(struct table *t, LPARAM lParam) -{ - POINT pt; - - pt.x = GET_X_LPARAM(lParam); - pt.y = GET_Y_LPARAM(lParam); - return clientCoordToRowColumn(t, pt); -} - -// returns TRUE if the row is visible and thus has client coordinates; FALSE otherwise -static BOOL rowColumnToClientCoord(struct table *t, rowcol rc, struct POINT *pt) -{ - // TODO -} - -// TODO idealCoordToRowColumn/rowColumnToIdealCoord? -- cgit v1.2.3