summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-08 21:43:07 -0500
committerPietro Gagliardi <[email protected]>2014-12-08 21:43:07 -0500
commit0e6c48a45cec8daf3f1c18c218cfa89176ba5e70 (patch)
tree29273a43b93d20004d1ef0fa33bfafa60c8462f1
parentf0c45894030590544b4dfd5ae178bb50351225b9 (diff)
More TODOs.
-rw-r--r--wintable/new/draw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wintable/new/draw.h b/wintable/new/draw.h
index f814675..9d86550 100644
--- a/wintable/new/draw.h
+++ b/wintable/new/draw.h
@@ -20,7 +20,8 @@ static void drawCell(struct table *t, HDC dc, struct drawCellParams *p)
r.right = p->x + p->width;
r.top = p->y;
r.bottom = p->y + p->height;
- // TODO vertical center
+ // TODO fill this rect with the appropriate background color
+ // TODO then vertical center content
n = wsprintf(msg, L"(%d,%d)", p->row, p->column);
if (DrawTextExW(dc, msg, n, &r, DT_END_ELLIPSIS | DT_LEFT | DT_NOPREFIX | DT_SINGLELINE, NULL) == 0)
panic("error drawing Table cell text");