diff options
author | Alex Auvolat <alex@adnab.me> | 2017-05-04 16:27:27 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2017-05-04 16:27:27 +0200 |
commit | c7486a2113171d4d3fe7891ddf898f9f00865cc9 (patch) | |
tree | 8f6e6a8b96118d022d7685eddb58de1aeefdef99 /src/sysapp/login/main.lua | |
parent | 7a3ab21a27c34033fbe478d68957be8e31f983a2 (diff) | |
download | kogata-c7486a2113171d4d3fe7891ddf898f9f00865cc9.tar.gz kogata-c7486a2113171d4d3fe7891ddf898f9f00865cc9.zip |
Window moving :)
Diffstat (limited to 'src/sysapp/login/main.lua')
-rw-r--r-- | src/sysapp/login/main.lua | 7 |
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() |