+
+from pgu import gui as pguGui
+from widgets import Home
+
+class MinWii(pguGui.Desktop):
+
+ def __init__(self) :
+ pguGui.Desktop.__init__(self)
+ self.run(Home())
\ No newline at end of file
def main() :
import pygame
def main() :
import pygame
- from gui import PGUConfiguration
+ from minwii import MinWii
+
pygame.init()
modeResolution = (1024,768)
pygame.init()
modeResolution = (1024,768)
- window = pygame.display.set_mode(modeResolution)#,pygame.FULLSCREEN)
- pgu = PGUConfiguration(window)
+ window = pygame.display.set_mode(modeResolution)
+ MinWii()
+ # from gui.PGUConfiguration import PGUConfiguration
+ # pygame.init()
+ # modeResolution = (1024,768)
+ # window = pygame.display.set_mode(modeResolution)#,pygame.FULLSCREEN)
+ # pgu = PGUConfiguration(window)
pygame.quit()
if __name__ == "__main__" :
pygame.quit()
if __name__ == "__main__" :
minwiipath = realpath(__file__).split(sep)
minwiipath = minwiipath[:-2]
minwiipath = sep.join(minwiipath)
minwiipath = realpath(__file__).split(sep)
minwiipath = minwiipath[:-2]
minwiipath = sep.join(minwiipath)
-
- sys.path.append(minwiipath)
- print sys.path
+ sys.path.insert(1, minwiipath)
main()
\ No newline at end of file
main()
\ No newline at end of file
--- /dev/null
+# -*- coding: utf-8 -*-
+"""
+widgets minwii.
+
+$Id$
+$URL$
+"""
+from pgu.gui import Table
+
+class Home(Table) :
+ def __init__(self,**params):
+ Table.__init__(self,**params)
+
\ No newline at end of file
-from songs.Song import Song,loadSongFromMidi\r
+from songs.Song import Song#,loadSongFromMidi\r
from dataTools.odict import OrderedDict\r
\r
joyNames = ["PPJoy Virtual joystick 1", "PPJoy Virtual joystick 2", "PPJoy Virtual joystick 3", "PPJoy Virtual joystick 4"]\r
from dataTools.odict import OrderedDict\r
\r
joyNames = ["PPJoy Virtual joystick 1", "PPJoy Virtual joystick 2", "PPJoy Virtual joystick 3", "PPJoy Virtual joystick 4"]\r