2018-07-15 06:53:48 -04:00
|
|
|
"""Launcher for apps currently installed"""
|
|
|
|
|
|
|
|
___name___ = "Launcher"
|
2018-07-29 12:33:46 -04:00
|
|
|
___license___ = "MIT"
|
2018-07-15 06:53:48 -04:00
|
|
|
___categories___ = ["System"]
|
|
|
|
___launchable___ = False
|
|
|
|
___bootstrapped___ = True
|
|
|
|
|
2018-07-30 16:30:52 -04:00
|
|
|
import ugfx
|
|
|
|
|
|
|
|
ugfx.clear()
|
|
|
|
apps = range(1, 10)
|
|
|
|
|
|
|
|
cols = 4
|
|
|
|
|
|
|
|
|
|
|
|
for i, p in enumerate(apps):
|
|
|
|
logical_x = i % cols
|
|
|
|
logical_y = i // cols
|
|
|
|
x = logical_x * width
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-07-15 06:53:48 -04:00
|
|
|
print("launcher")
|