Début de refactoring du curseur.
[minwii.git] / src / app / minwii.py
1 # -*- coding: utf-8 -*-
2 """
3 l'application winwii
4
5 $Id$
6 $URL$
7 """
8
9 from pgu.gui import Desktop
10 from pgu.gui import QUIT
11 from widgets.home import Home
12 from widgets.playingscreen import _PlayingScreenBase, SongPlayingScreenTest
13 import time
14
15 class MinWii(Desktop):
16
17 def __init__(self) :
18 Desktop.__init__(self)
19
20 # home = Home()
21 # home.connect(QUIT, self.quit)
22 # self.run(home)
23
24 # class C:pass
25 # o = C()
26 # o.midi=1
27 # playingScreen = _PlayingScreenBase([o])
28
29 import pygame
30 playingScreen = SongPlayingScreenTest()
31 playingScreen.draw(pygame.display.get_surface())
32 playingScreen.run()
33
34 #pygame.display.flip()
35 #time.sleep(2)