summaryrefslogtreecommitdiff
path: root/table_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-02-18 01:51:57 -0500
committerPietro Gagliardi <[email protected]>2015-02-18 01:51:57 -0500
commit9f8ae4051603d4d1bab02465c9662236644bb83d (patch)
tree224934ad1e4b5c24850f7af11652e2e1c65eeef1 /table_windows.c
parent847e9bfd2caacba1c90ee68753d5652abe484501 (diff)
Began fixing the new Windows Table. In its current state one bug is fixed and another has been spotted, with the diagnosis coming next.
Diffstat (limited to 'table_windows.c')
-rw-r--r--table_windows.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/table_windows.c b/table_windows.c
index ea5b50c..dbbcde2 100644
--- a/table_windows.c
+++ b/table_windows.c
@@ -57,6 +57,12 @@ void setTableSubclass(HWND hwnd, void *data)
xpanic("error subclassing Table to give it its own event handler", GetLastError());
}
+// TODO rename all of these functions to start with gotable, and all the exported ones in Go too
+void gotableSetRowCount(HWND hwnd, intptr_t count)
+{
+ SendMessageW(hwnd, tableSetRowCount, 0, (LPARAM) (&count));
+}
+
void tableAutosizeColumns(HWND hwnd, int nColumns)
{
int i;