diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/lua/render_cd.lua | 2 | ||||
-rw-r--r-- | test/lua/screencapture.lua | 2 | ||||
-rw-r--r-- | test/lua/show_flower.wlua | 6 | ||||
-rw-r--r-- | test/lua/view.wlua | 6 |
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 = {} |