gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/lua-plot-cpp.h
diff options
context:
space:
mode:
authorfrancesco-ST <francesco.abbate@st.com>2010年08月12日 11:51:29 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年08月12日 11:51:29 +0200
commitb55a4cf705a06ef2c9995da4d2784e8d5969ee3e (patch)
treecee3a5404dee2d8a74fb60c0d5daad1985f8b402 /agg-plot/lua-plot-cpp.h
parent9529186aacd0d02d6b609cec247ab6b4610fd342 (diff)
downloadgsl-shell-b55a4cf705a06ef2c9995da4d2784e8d5969ee3e.tar.gz
added object index to manage both plot and windows
Now both plot and windows gets an id which is used to manage userdata cross-references.
Diffstat (limited to 'agg-plot/lua-plot-cpp.h')
-rw-r--r--agg-plot/lua-plot-cpp.h 3
1 files changed, 2 insertions, 1 deletions
diff --git a/agg-plot/lua-plot-cpp.h b/agg-plot/lua-plot-cpp.h
index 5e318dd0..6bfbe751 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(), id(-1) { };
+ lua_plot() : m_plot(), window_id(-1), id(-1) { };
void update_window(lua_State *L);
@@ -27,6 +27,7 @@ public:
static lua_plot *check(lua_State *L, int index);
+ int window_id;
int id;
};
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月15日 03:18:04 +0000

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