X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/15177f5827a1af081edd4761411c3c73be891fee..a5fce1a57c3a50012db8d914b4d36851e048ad67:/src/app/start.py?ds=inline diff --git a/src/app/start.py b/src/app/start.py index ee96981..8c7a009 100755 --- a/src/app/start.py +++ b/src/app/start.py @@ -9,11 +9,18 @@ $URL$ def main() : import pygame - from gui import PGUConfiguration + from minwii import MinWii + pygame.init() - modeResolution = (1024,768) - window = pygame.display.set_mode(modeResolution)#,pygame.FULLSCREEN) - pgu = PGUConfiguration(window) + #modeResolution = (1024,768) + modeResolution = (600,480) + window = pygame.display.set_mode(modeResolution)#, pygame.FULLSCREEN) + 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__" : @@ -23,7 +30,5 @@ if __name__ == "__main__" : 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