diff options
| author | Pietro Gagliardi <[email protected]> | 2014-12-12 10:47:23 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-12-12 10:47:23 -0500 |
| commit | 9e11c36f63c04e16f1d1a42a05ec545b2793ce65 (patch) | |
| tree | 563ed4cccde98a0ce0e65e73738e354caacf0f0c /wintable/new/main.c | |
| parent | 6173857ee79a1ab1296f5278dde9d57f72d7d53c (diff) | |
Started tying all the threads together in the drawing loop for real.
Diffstat (limited to 'wintable/new/main.c')
| -rw-r--r-- | wintable/new/main.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/wintable/new/main.c b/wintable/new/main.c index e2f85d9..9fd705e 100644 --- a/wintable/new/main.c +++ b/wintable/new/main.c @@ -26,6 +26,7 @@ // TODO // - should tablePanic be CALLBACK or some other equivalent macro? and definitely export initTable somehow, but which alias macro to use? // - make panic messages grammatically correct ("Table error: adding...") +// - make access to column widths consistent; see whether HDITEMW.cxy == (ITEMRECT.right - ITEMRECT.left) #define tableWindowClass L"gouitable" @@ -55,9 +56,11 @@ struct table { int *columnTypes; intptr_t width; intptr_t headerHeight; - intptr_t hscrollpos; - intptr_t hpagesize; + intptr_t hscrollpos; // in logical units + intptr_t hpagesize; // in logical units intptr_t count; + intptr_t vscrollpos; // in rows + intptr_t vpagesize; // in rows }; #include "util.h" |
