diff options
| author | Pietro Gagliardi <[email protected]> | 2014-12-09 20:32:49 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-12-09 20:32:49 -0500 |
| commit | dd37255fa1362073efa9bf91287456cba9ad4cf5 (patch) | |
| tree | c9ddbb1184e9a56addf40245e41ba2b497648b7e /wintable/new/main.c | |
| parent | d6ff23dacbb2f91d83c92030a0de5a135c8b8c47 (diff) | |
Reimplemented tableAddColumn for real.
Diffstat (limited to 'wintable/new/main.c')
| -rw-r--r-- | wintable/new/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wintable/new/main.c b/wintable/new/main.c index d296fc3..8e15f0f 100644 --- a/wintable/new/main.c +++ b/wintable/new/main.c @@ -50,6 +50,8 @@ struct table { HWND hwnd; HWND header; HFONT font; + intptr_t nColumns; + int *columnTypes; }; #include "util.h" @@ -72,9 +74,7 @@ static const handlerfunc handlers[] = { static void initDummyTableStuff(struct table *t) { - headerAddColumn(t, L"Column 1"); - headerAddColumn(t, L"Column 2"); - headerAddColumn(t, L"Column 3"); + // nothing yet... } static LRESULT CALLBACK tableWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
