aboutsummaryrefslogtreecommitdiff
path: root/src/sysapp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysapp')
-rw-r--r--src/sysapp/login/main.lua7
1 files changed, 6 insertions, 1 deletions
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()