From ccb68b6fc89c7eec9ca99b58adadf1a399a5f473 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 11 Dec 2014 18:58:37 -0500 Subject: Started the work for reimplementing rows. --- wintable/new/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wintable/new/main.c') diff --git a/wintable/new/main.c b/wintable/new/main.c index cb7be28..e2f85d9 100644 --- a/wintable/new/main.c +++ b/wintable/new/main.c @@ -57,6 +57,7 @@ struct table { intptr_t headerHeight; intptr_t hscrollpos; intptr_t hpagesize; + intptr_t count; }; #include "util.h" @@ -81,7 +82,7 @@ static const handlerfunc handlers[] = { static void initDummyTableStuff(struct table *t) { - // nothing yet... + t->count = 100; } static LRESULT CALLBACK tableWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) -- cgit v1.2.3