Simplify implementation of graphical objects - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/window.cpp
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2011年12月13日 14:43:46 +0100
committerFrancesco Abbate <francesco.bbt@gmail.com>2011年12月16日 23:56:12 +0100
commit554468f7e205e4ae9873e901980c485ba0965058 (patch)
treee8e545eaf0e5ccdace62e99919ae5b6e92beede3 /agg-plot/window.cpp
parentaee6826a547dd043248e8d212d5f0645068ecf05 (diff)
downloadgsl-shell-554468f7e205e4ae9873e901980c485ba0965058.tar.gz
Simplify implementation of graphical objects
Diffstat (limited to 'agg-plot/window.cpp')
-rw-r--r--agg-plot/window.cpp 4
1 files changed, 2 insertions, 2 deletions
diff --git a/agg-plot/window.cpp b/agg-plot/window.cpp
index cf02b9e0..02aeab85 100644
--- a/agg-plot/window.cpp
+++ b/agg-plot/window.cpp
@@ -334,7 +334,7 @@ next_int (const char *str, int& val)
}
/* Returns the slot_id or -1 in case of error. */
-int window::attach(lua_plot *plot, const char *spec)
+int window::attach(sg_plot* plot, const char *spec)
{
ref::node *n = m_tree;
const char *ptr;
@@ -497,7 +497,7 @@ int
window_attach (lua_State *L)
{
window *win = object_check<window>(L, 1, GS_WINDOW);
- lua_plot *plot = object_check<lua_plot>(L, 2, GS_PLOT);
+ sg_plot* plot = object_check<sg_plot>(L, 2, GS_PLOT);
const char *spec = luaL_checkstring (L, 3);
win->lock();
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月13日 20:03:39 +0000

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