summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorscuri <scuri>2008-10-18 21:11:41 +0000
committerscuri <scuri>2008-10-18 21:11:41 +0000
commitd81fa2182d15b06b1de41ab51bff8b3c36d95b0b (patch)
tree1c1733994052b668a52f43f88ff12d19bee339ff /test
parentff711a35602bdfae16fafda25b9f1e00d1f767e1 (diff)
*** empty log message ***
Diffstat (limited to 'test')
-rw-r--r--test/lua/render_cd.lua2
-rw-r--r--test/lua/screencapture.lua2
-rw-r--r--test/lua/show_flower.wlua6
-rw-r--r--test/lua/view.wlua6
4 files changed, 8 insertions, 8 deletions
diff --git a/test/lua/render_cd.lua b/test/lua/render_cd.lua
index 532f906..c0fa68c 100644
--- a/test/lua/render_cd.lua
+++ b/test/lua/render_cd.lua
@@ -1,6 +1,6 @@
require"imlua"
require"cdlua"
-require"imlua_cd"
+require"cdluaim"
local image = im.ImageCreate(500, 500, im.RGB, im.BYTE)
local canvas = image:cdCreateCanvas() -- Creates a CD_IMAGERGB canvas
diff --git a/test/lua/screencapture.lua b/test/lua/screencapture.lua
index 5b1a93d..16eb94e 100644
--- a/test/lua/screencapture.lua
+++ b/test/lua/screencapture.lua
@@ -1,6 +1,6 @@
require"imlua"
require"cdlua"
-require"imlua_cd"
+require"cdluaim"
local canvas = cd.CreateCanvas(cd.NATIVEWINDOW, nil)
canvas:Activate()
diff --git a/test/lua/show_flower.wlua b/test/lua/show_flower.wlua
index a3803d7..ec97a88 100644
--- a/test/lua/show_flower.wlua
+++ b/test/lua/show_flower.wlua
@@ -1,8 +1,8 @@
require"imlua"
-require"iuplua"
require"cdlua"
-require"cdluaiup"
-require"imlua_cd"
+require"cdluaim"
+require"iuplua"
+require"iupluacd"
image = im.FileImageLoad("flower.jpg") -- directly load the image at index 0. it will open and close the file
cnv = iup.canvas{rastersize = image:Width().."x"..image:Height(), border = "NO"}
diff --git a/test/lua/view.wlua b/test/lua/view.wlua
index 9eb9eed..dbcf8af 100644
--- a/test/lua/view.wlua
+++ b/test/lua/view.wlua
@@ -1,8 +1,8 @@
require"imlua"
-require"iuplua"
require"cdlua"
-require"cdluaiup"
-require"imlua_cd"
+require"cdluaim"
+require"iuplua"
+require"iupluacd"
function PrintError(func, error)
local msg = {}