Added headerHeight to the new Table.
This commit is contained in:
parent
395521b832
commit
4e21ee8b11
|
@ -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)
|
||||
|
|
|
@ -53,6 +53,7 @@ struct table {
|
|||
intptr_t nColumns;
|
||||
int *columnTypes;
|
||||
intptr_t width;
|
||||
intptr_t headerHeight;
|
||||
};
|
||||
|
||||
#include "util.h"
|
||||
|
|
Loading…
Reference in New Issue