Added headerHeight to the new Table.

This commit is contained in:
Pietro Gagliardi 2014-12-10 14:07:14 -05:00
parent 395521b832
commit 4e21ee8b11
2 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ static void repositionHeader(struct table *t)
// see above on showing the header here instead of in the CreateWindowExW() call
wp.flags | SWP_SHOWWINDOW) == 0)
panic("error repositioning Table header");
t->headerHeight = wp.cy;
}
static void headerAddColumn(struct table *t, WCHAR *name)

View File

@ -53,6 +53,7 @@ struct table {
intptr_t nColumns;
int *columnTypes;
intptr_t width;
intptr_t headerHeight;
};
#include "util.h"