summaryrefslogtreecommitdiff
path: root/wintable/main.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-01-08 01:45:06 -0500
committerPietro Gagliardi <[email protected]>2015-01-08 01:45:06 -0500
commit1dcdcd522cf1e63fd61f4ca376d4108a775a1565 (patch)
tree5133c81d0638edc99f5af6f9e57716d8c3ddcdba /wintable/main.h
parent224bdb40874ff65880f21bda2b85ceebb4a69312 (diff)
Collected all of the metric updating stuff into a single update() function. Far from optimal, but much better.
Diffstat (limited to 'wintable/main.h')
-rw-r--r--wintable/main.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wintable/main.h b/wintable/main.h
index c8ba30c..ba85e7a 100644
--- a/wintable/main.h
+++ b/wintable/main.h
@@ -103,6 +103,9 @@ struct table {
// forward declaration (TODO needed?)
static LRESULT notify(struct table *, UINT, intptr_t, intptr_t, uintptr_t);
+// necessary forward declaration
+static void update(struct table *, BOOL);
+
#include "util.h"
#include "coord.h"
#include "scroll.h"
@@ -117,6 +120,7 @@ static LRESULT notify(struct table *, UINT, intptr_t, intptr_t, uintptr_t);
#include "draw.h"
#include "api.h"
#include "accessibility.h"
+#include "update.h"
static const handlerfunc handlers[] = {
eventHandlers,