summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-13 11:53:03 -0500
committerPietro Gagliardi <[email protected]>2014-12-13 11:53:03 -0500
commite966a9b725010de21248bb09bdd41ac830880046 (patch)
treefdea685a4729bfc63a6e73fc61f2189bde0c29ca
parentdf4fbb12ed25801433df7e07572d2775a27e2926 (diff)
Resolved some TODOs.
-rw-r--r--wintable/new/draw.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/wintable/new/draw.h b/wintable/new/draw.h
index eec49b2..f2f40ea 100644
--- a/wintable/new/draw.h
+++ b/wintable/new/draw.h
@@ -10,9 +10,6 @@ struct drawCellParams {
LRESULT xoff; // result of HDM_GETBITMAPMARGIN
};
-//TODO delete when done
-static int current = 0;
-
static void drawCell(struct table *t, HDC dc, struct drawCellParams *p)
{
RECT r;
@@ -67,8 +64,6 @@ static void draw(struct table *t, HDC dc, RECT cliprect, RECT client)
prevfont = selectFont(t, dc, &newfont);
-current = 0;
-
client.top += t->headerHeight;
ZeroMemory(&p, sizeof (struct drawCellParams));