From 1dcdcd522cf1e63fd61f4ca376d4108a775a1565 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 8 Jan 2015 01:45:06 -0500 Subject: Collected all of the metric updating stuff into a single update() function. Far from optimal, but much better. --- wintable/main.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wintable/main.h') 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, -- cgit v1.2.3