summaryrefslogtreecommitdiff
path: root/wintable/draw.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-02-18 01:51:57 -0500
committerPietro Gagliardi <[email protected]>2015-02-18 01:51:57 -0500
commit9f8ae4051603d4d1bab02465c9662236644bb83d (patch)
tree224934ad1e4b5c24850f7af11652e2e1c65eeef1 /wintable/draw.h
parent847e9bfd2caacba1c90ee68753d5652abe484501 (diff)
Began fixing the new Windows Table. In its current state one bug is fixed and another has been spotted, with the diagnosis coming next.
Diffstat (limited to 'wintable/draw.h')
-rw-r--r--wintable/draw.h1
1 files changed, 1 insertions, 0 deletions
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;