From 1d0382f13c23443d26a330fcb89742a7befe0450 Mon Sep 17 00:00:00 2001 From: francesco-ST Date: Mon, 3 Jan 2011 14:30:43 +0100 Subject: improved thread/exception-safety for window creation and show function Signed-off-by: francesco-ST --- agg-plot/window-cpp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'agg-plot/window-cpp.h') diff --git a/agg-plot/window-cpp.h b/agg-plot/window-cpp.h index 0bb13e91..6c149d83 100644 --- a/agg-plot/window-cpp.h +++ b/agg-plot/window-cpp.h @@ -22,9 +22,10 @@ public: invalid_split_string, invalid_slot, }; - typedef plot plot_type; + int window_id; + typedef agg::trans_affine bmatrix; struct ref { @@ -76,6 +77,7 @@ public: int attach(lua_plot *plot, const char *spec); void draw_slot(int slot_id, bool update_req); void refresh_slot(int slot_id); + bool start(lua_State *L); void save_slot_image(int slot_id); void restore_slot_image(int slot_id); -- cgit v1.2.3

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