removed plot index and plot id mechanisms - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot
diff options
context:
space:
mode:
authorfrancesco-ST <francesco.abbate@st.com>2010年08月25日 11:09:52 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年08月25日 11:09:52 +0200
commit29a9dbd5af79c3c80749efaf09fb8240482ff5b5 (patch)
tree649b5ca2d64736acaef19ba9025e88ae872c54b3 /agg-plot
parente175b9208a1e5a2eaa1889c1f3a3bab6897a4aff (diff)
downloadgsl-shell-29a9dbd5af79c3c80749efaf09fb8240482ff5b5.tar.gz
removed plot index and plot id mechanisms
Diffstat (limited to 'agg-plot')
-rw-r--r--agg-plot/lua-plot-cpp.h 4
-rw-r--r--agg-plot/lua-plot.cpp 2
2 files changed, 1 insertions, 5 deletions
diff --git a/agg-plot/lua-plot-cpp.h b/agg-plot/lua-plot-cpp.h
index a9cfb45a..1c3f52c0 100644
--- a/agg-plot/lua-plot-cpp.h
+++ b/agg-plot/lua-plot-cpp.h
@@ -19,7 +19,7 @@ private:
plot_type m_plot;
public:
- lua_plot() : m_plot(), window_id(-1), id(-1) { };
+ lua_plot() : m_plot(), window_id(-1) { };
void update_window(lua_State *L);
@@ -29,8 +29,6 @@ public:
int window_id;
int slot_id;
-
- int id;
};
#endif
diff --git a/agg-plot/lua-plot.cpp b/agg-plot/lua-plot.cpp
index cdde089c..0f28020b 100644
--- a/agg-plot/lua-plot.cpp
+++ b/agg-plot/lua-plot.cpp
@@ -124,8 +124,6 @@ plot_new (lua_State *L)
p->self().set_title(title);
}
- p->id = object_index_add (L, OBJECT_PLOT, -1);
-
return 1;
}
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月18日 08:41:30 +0000

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