From c7486a2113171d4d3fe7891ddf898f9f00865cc9 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 4 May 2017 16:27:27 +0200 Subject: Window moving :) --- src/sysapp/login/main.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/sysapp') diff --git a/src/sysapp/login/main.lua b/src/sysapp/login/main.lua index 6be064d..a0297f8 100644 --- a/src/sysapp/login/main.lua +++ b/src/sysapp/login/main.lua @@ -20,8 +20,13 @@ for x = 0, 255, 16 do end local f = draw.load_image('root:/logo.png') +local wm = tk.wm_widget() +tk.init(gui, wm) + local img = tk.image_widget(f) -tk.init(gui, img) +wm:add(img, "Window 1", 100, 16) +local img2 = tk.image_widget(f) +wm:add(img2, "Window 2", 16, 100) gui.show_cursor() -- cgit v1.2.3