Utilisation de LayeredUpdates pour maj dans le bon ordre.
[minwii.git] / src / app / start.py
1 # -*- coding: utf-8 -*-
2 """
3 lancement de l'application winwii
4
5 $Id$
6 $URL$
7 """
8
9
10 def main() :
11 import pygame
12 from minwii import MinWii
13
14 pygame.init()
15 #modeResolution = (1024,768)
16 modeResolution = (600,480)
17 window = pygame.display.set_mode(modeResolution)#, pygame.FULLSCREEN)
18 MinWii()
19 # from gui.PGUConfiguration import PGUConfiguration
20 # pygame.init()
21 # modeResolution = (1024,768)
22 # window = pygame.display.set_mode(modeResolution)#,pygame.FULLSCREEN)
23 # pgu = PGUConfiguration(window)
24 pygame.quit()
25
26 if __name__ == "__main__" :
27 from os.path import realpath, sep
28 import sys
29
30 minwiipath = realpath(__file__).split(sep)
31 minwiipath = minwiipath[:-2]
32 minwiipath = sep.join(minwiipath)
33 sys.path.insert(1, minwiipath)
34 main()