From 62a1db47566e1f31a9140fc8e8a3e35733a4e5ad Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 10 Dec 2014 15:37:52 -0500 Subject: Wrote up the hscroll code. Not sure why it doesn't work yet. Not yet applied to headers or drawing. --- wintable/new/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wintable/new/main.c') 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, }; -- cgit v1.2.3