summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-11 18:58:37 -0500
committerPietro Gagliardi <[email protected]>2014-12-11 18:58:37 -0500
commitccb68b6fc89c7eec9ca99b58adadf1a399a5f473 (patch)
tree8c8d2a1945eba50edbe337d4d4759cbaae71b0b5
parent8ea320220a8aad4f7c8208275f407ec985e4a6db (diff)
Started the work for reimplementing rows.
-rw-r--r--wintable/new/main.c3
1 files changed, 2 insertions, 1 deletions
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)