diff options
| author | Pietro Gagliardi <[email protected]> | 2014-12-05 10:27:45 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-12-05 10:27:45 -0500 |
| commit | 61f7316d562f4c02c9e3d1bb30c3ba3963ded4a8 (patch) | |
| tree | e94f9f94861a8a6173160f4c85e742333bf17133 /wintable/NEWcoord.h | |
| parent | f7daa5580f8788a8d15f46b65c2e21ca96db8523 (diff) | |
Moved the rewrite of the new Windows Table to its /own/ folder.
Diffstat (limited to 'wintable/NEWcoord.h')
| -rw-r--r-- | wintable/NEWcoord.h | 31 |
1 files changed, 0 insertions, 31 deletions
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? |
