author | francesco-ST <francesco.abbate@st.com> | 2010年10月26日 14:43:26 +0200 |
---|---|---|
committer | francesco-ST <francesco.abbate@st.com> | 2010年10月26日 14:43:26 +0200 |
commit | f7d614f4498e91e32ddaa1b65bb101e941835f28 (patch) | |
tree | 6b99e170abefc847d2e18e22983a5d49e6a17395 | |
parent | 29123919d2471ea67c5d68920be800c55e178d3c (diff) | |
download | gsl-shell-f7d614f4498e91e32ddaa1b65bb101e941835f28.tar.gz |
-rw-r--r-- | agg-plot/window.cpp | 2 | ||||
-rw-r--r-- | doc/source/graphics.rst | 2 | ||||
-rw-r--r-- | pre3d/examples.lua | 2 |
diff --git a/agg-plot/window.cpp b/agg-plot/window.cpp index ef5fd42b..5820fde1 100644 --- a/agg-plot/window.cpp +++ b/agg-plot/window.cpp @@ -30,7 +30,7 @@ static const struct luaL_Reg window_functions[] = { static const struct luaL_Reg window_methods[] = { {"show", window_show }, {"attach", window_attach }, - {"split", window_split }, + {"layout", window_split }, {"update", window_update }, {"close", window_close }, {"__gc", window_free }, diff --git a/doc/source/graphics.rst b/doc/source/graphics.rst index 55ab6862..59b76c30 100644 --- a/doc/source/graphics.rst +++ b/doc/source/graphics.rst @@ -237,7 +237,7 @@ Window class -- create two vertical subdivision and subdivide the first one -- into two horizontal subwindows - w:split('v(h..).') + w:layout('v(h..).') w:attach(p1, '1,1') -- attach plot "p1" to a the lower left subwindow w:attach(p1, '2') -- attach plot "p2" to a the upper subwindow diff --git a/pre3d/examples.lua b/pre3d/examples.lua index 4f678fb0..62f76559 100644 --- a/pre3d/examples.lua +++ b/pre3d/examples.lua @@ -35,7 +35,7 @@ end function demo1() local win = window() - win:split('v(h..).') + win:layout('v(h..).') p1 = plot 'sin' p1:addline(fxline(sin, 0, 2*pi), 'blue') |