From 9f8ae4051603d4d1bab02465c9662236644bb83d Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 18 Feb 2015 01:51:57 -0500 Subject: Began fixing the new Windows Table. In its current state one bug is fixed and another has been spotted, with the diagnosis coming next. --- wintable/draw.h | 1 + 1 file changed, 1 insertion(+) (limited to 'wintable') diff --git a/wintable/draw.h b/wintable/draw.h index 3aeb300..2c6267a 100644 --- a/wintable/draw.h +++ b/wintable/draw.h @@ -166,6 +166,7 @@ static void draw(struct table *t, HDC dc, RECT cliprect, RECT client) p.xoff = SendMessageW(t->header, HDM_GETBITMAPMARGIN, 0, 0); p.y = client.top; +printf("%d %d\n", t->vscrollpos, t->count); for (i = t->vscrollpos; i < t->count; i++) { p.row = i; p.x = client.left - t->hscrollpos; -- cgit v1.2.3