From 0e6c48a45cec8daf3f1c18c218cfa89176ba5e70 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 8 Dec 2014 21:43:07 -0500 Subject: [PATCH] More TODOs. --- wintable/new/draw.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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");