Début de refactoring du curseur.
[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 window = pygame.display.set_mode(modeResolution)
17 MinWii()
18 # from gui.PGUConfiguration import PGUConfiguration
19 # pygame.init()
20 # modeResolution = (1024,768)
21 # window = pygame.display.set_mode(modeResolution)#,pygame.FULLSCREEN)
22 # pgu = PGUConfiguration(window)
23 pygame.quit()
24
25 if __name__ == "__main__" :
26 from os.path import realpath, sep
27 import sys
28
29 minwiipath = realpath(__file__).split(sep)
30 minwiipath = minwiipath[:-2]
31 minwiipath = sep.join(minwiipath)
32 sys.path.insert(1, minwiipath)
33 main()