renamed the window "split" method to "layout" - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
diff options
context:
space:
mode:
authorfrancesco-ST <francesco.abbate@st.com>2010年10月26日 14:43:26 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年10月26日 14:43:26 +0200
commitf7d614f4498e91e32ddaa1b65bb101e941835f28 (patch)
tree6b99e170abefc847d2e18e22983a5d49e6a17395
parent29123919d2471ea67c5d68920be800c55e178d3c (diff)
downloadgsl-shell-f7d614f4498e91e32ddaa1b65bb101e941835f28.tar.gz
renamed the window "split" method to "layout"
Diffstat
-rw-r--r--agg-plot/window.cpp 2
-rw-r--r--doc/source/graphics.rst 2
-rw-r--r--pre3d/examples.lua 2
3 files changed, 3 insertions, 3 deletions
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')
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月18日 08:42:29 +0000

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