mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 17:58:50 +01:00
25 lines
459 B
Python
25 lines
459 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import pygame
|
|
|
|
## local UI import
|
|
import pages
|
|
import myvars
|
|
|
|
def Init(main_screen):
|
|
pages.InitPoller()
|
|
|
|
pages.InitListPage(main_screen)
|
|
pages.InitMusicLibPage(main_screen)
|
|
pages.InitSpectrumPage(main_screen)
|
|
|
|
def API(main_screen):
|
|
|
|
if main_screen !=None:
|
|
main_screen.PushCurPage()
|
|
main_screen.SetCurPage(myvars.PlayListPage)
|
|
main_screen.Draw()
|
|
main_screen.SwapAndShow()
|
|
|
|
|