diff options
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" |
