This commit is contained in:
parent
1fbc9ea10e
commit
3adeaf2c9a
6
gloss.py
6
gloss.py
|
@ -59,17 +59,17 @@ class MainApp:
|
|||
#self.menu2.setListFont('Tahoma 42')
|
||||
self.menu2.setMenuPositionByName("center")
|
||||
|
||||
self.mySlideshow = Slideshow(self.menuMgr, "/mythdata/pics")
|
||||
self.mySlideshow = Slideshow(self.menuMgr, "images/")
|
||||
#self.mySlideshow.loadDir("images/", True)
|
||||
|
||||
self.vidPlayer = VideoPlayer(self.stage)
|
||||
#self.vidPlayer = VideoPlayer(self.stage)
|
||||
self.tvPlayer = TVPlayer(self.stage)
|
||||
self.musicPlayer = MusicPlayer(self.stage)
|
||||
|
||||
menu1.getItem(0).setAction(self.tvPlayer)
|
||||
#menu1.getItem(1).setAction(self.mySlideshow)
|
||||
menu1.getItem(1).setAction(self.mySlideshow.generateMenu())
|
||||
menu1.getItem(2).setAction(self.vidPlayer)
|
||||
#menu1.getItem(2).setAction(self.vidPlayer)
|
||||
menu1.getItem(3).setAction(self.menu2)
|
||||
|
||||
self.menu2.getItem(1).setAction(self.menu1)
|
||||
|
|
Loading…
Reference in New Issue