From 163c4f4572e4e0bb47b408c8a3b1a69f16bcbff1 Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: 2012年4月22日 23:27:25 +0200 Subject: Introduce window hooks to choose the plot's window system --- agg-plot/window_hooks.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 agg-plot/window_hooks.h (limited to 'agg-plot/window_hooks.h') diff --git a/agg-plot/window_hooks.h b/agg-plot/window_hooks.h new file mode 100644 index 00000000..ecc03842 --- /dev/null +++ b/agg-plot/window_hooks.h @@ -0,0 +1,23 @@ +#ifndef AGGPLOT_WINDOW_HOOKS_H +#define AGGPLOT_WINDOW_HOOKS_H + +#include "defs.h" + +__BEGIN_DECLS + +#include "lua.h" + +struct window_hooks { + int (*create)(lua_State* L); + int (*attach)(lua_State* L); + int (*update)(lua_State* L); + int (*refresh)(lua_State* L); + int (*save_image)(lua_State* L); + int (*restore_image)(lua_State* L); +}; + +extern struct window_hooks app_window_hooks[1]; + +__END_DECLS + +#endif -- cgit v1.2.3

AltStyle によって変換されたページ (->オリジナル) /