Move gui.py to remi_ui.py and rename class App to RemiApp

This commit is contained in:
2018-03-04 04:02:49 +01:00
parent 9fe1956508
commit 68f6f8a75b
3 changed files with 5 additions and 5 deletions

View File

@@ -1,2 +1,2 @@
from . import api
from . import gui
from . import remi_ui

View File

@@ -10,10 +10,10 @@ COLOR_BLUE = "rgb(33, 150, 243)"
COLOR_BLUE_SHADOW = "rgba(33, 150, 243, 0.75)"
WIDTH = 512
class MyApp(App):
class RemiApp(App):
def __init__(self, *args):
res_path = os.path.join(os.path.dirname(__file__), 'res')
super(MyApp, self).__init__(*args, static_file_path=res_path)
super(RemiApp, self).__init__(*args, static_file_path=res_path)
def main(self):
container = gui.VBox(width=WIDTH)