We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 518fd1c commit 3e245f6Copy full SHA for 3e245f6
1 file changed
draft_code/saved_functions.py
@@ -279,11 +279,27 @@ def file_explorer_event_cb(e):
279
280
screen = lv.obj()
281
gif = lv.gif(screen)
282
+gif = lv.gif(lv.screen_active())
283
gif.set_src("M:data/images/tunnel_160x107.gif")
284
gif.center()
285
#gif.set_size(320,240)
286
lv.screen_load(screen)
287
288
+# floating image:
289
+img = lv.image(lv.screen_active())
290
+img.set_src("M:data/images/icon_64x64.png")
291
+img.set_pos(50,50)
292
+#img.move_foreground()
293
+#img.set_flags(lv.LAYOUT.NONE)
294
+#img.center()
295
+
296
297
+gif.set_pos(150,150)
298
+#gif.set_src("M:data/images/tunnel_160x107.gif")
299
+gif.set_src("M:data/images/graphics-snakes-834669.gif")
300
301
302
303
# BIN
304
with open("/icon_64x64.bin", 'rb') as f:
305
image_data = f.read()
0 commit comments