summaryrefslogtreecommitdiff
path: root/wintable/new/main.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-10 15:37:52 -0500
committerPietro Gagliardi <[email protected]>2014-12-10 15:37:52 -0500
commit62a1db47566e1f31a9140fc8e8a3e35733a4e5ad (patch)
treee8514fbabc46a0e6e93e7f096c91e22164e90dc5 /wintable/new/main.c
parent4e21ee8b115c08a200d7b4f6dd97c4746ded59b4 (diff)
Wrote up the hscroll code. Not sure why it doesn't work yet. Not yet applied to headers or drawing.
Diffstat (limited to 'wintable/new/main.c')
-rw-r--r--wintable/new/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wintable/new/main.c b/wintable/new/main.c
index 0ad1d30..1a33e41 100644
--- a/wintable/new/main.c
+++ b/wintable/new/main.c
@@ -54,6 +54,8 @@ struct table {
int *columnTypes;
intptr_t width;
intptr_t headerHeight;
+ intptr_t hscrollpos;
+ intptr_t hpagesize;
};
#include "util.h"
@@ -72,6 +74,7 @@ static const handlerfunc handlers[] = {
resizeHandler,
drawHandlers,
apiHandlers,
+ hscrollHandler,
NULL,
};