added show command for plot window - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/canvas-window.cpp
diff options
context:
space:
mode:
authorfrancesco-ST <francesco.abbate@st.com>2010年07月23日 17:05:22 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年07月23日 17:05:22 +0200
commite0c636c5c1e9bb0696ace9ba4d8e39f76843b484 (patch)
tree214a11a10e65e965507fcefd9fd88d69b0c39536 /agg-plot/canvas-window.cpp
parent8a000dddf3b8c6b2574b38ab1adb4579e1d1cabd (diff)
downloadgsl-shell-e0c636c5c1e9bb0696ace9ba4d8e39f76843b484.tar.gz
added show command for plot window
Diffstat (limited to 'agg-plot/canvas-window.cpp')
-rw-r--r--agg-plot/canvas-window.cpp 3
1 files changed, 3 insertions, 0 deletions
diff --git a/agg-plot/canvas-window.cpp b/agg-plot/canvas-window.cpp
index a34d027f..78d35a25 100644
--- a/agg-plot/canvas-window.cpp
+++ b/agg-plot/canvas-window.cpp
@@ -83,6 +83,9 @@ canvas_window::user_transform(agg::trans_affine& m)
void
canvas_window::start_new_thread (lua_State *L)
{
+ if (status != not_ready && status != closed)
+ return;
+
this->id = mlua_window_ref(L, lua_gettop (L));
pthread_attr_t attr[1];
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月14日 22:03:14 +0000

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