3 |
|
|
4 |
# $Id$ |
# $Id$ |
5 |
# $Log$ |
# $Log$ |
6 |
|
# Revision 1.6 2004/08/30 13:01:47 joko |
7 |
|
# U prepend "libs"-dir to path |
8 |
|
# |
9 |
|
# Revision 1.5 2004/08/27 03:22:30 joko |
10 |
|
# start singleton instance of FraggleEngine here |
11 |
|
# |
12 |
# Revision 1.4 2004/08/26 15:19:26 joko |
# Revision 1.4 2004/08/26 15:19:26 joko |
13 |
# get rid of urlOpener here |
# get rid of urlOpener here |
14 |
# added key shortcuts to menu-items |
# added key shortcuts to menu-items |
15 |
# |
# |
16 |
|
|
17 |
import os |
import sys, os |
18 |
from wxPython.wx import * |
from wxPython.wx import * |
19 |
|
|
20 |
|
from fraggleConstants import * |
21 |
|
from fraggleEngine import * |
22 |
from fraggleViewport import * |
from fraggleViewport import * |
23 |
|
|
24 |
modules ={'fraggleDialogPrefs': [0, '', 'fraggleDialogPrefs.py'], |
modules ={'fraggleDialogPrefs': [0, '', 'fraggleDialogPrefs.py'], |
57 |
EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU2ABOUT, self.OnMenu2items1Menu) |
EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU2ABOUT, self.OnMenu2items1Menu) |
58 |
|
|
59 |
def main(): |
def main(): |
60 |
|
sys.path.insert(0, os.path.join(APPLOCATION, '..', 'libs')) |
61 |
|
global engine |
62 |
|
engine = FraggleEngine() |
63 |
application = BoaApp(0) |
application = BoaApp(0) |
64 |
application.MainLoop() |
application.MainLoop() |
65 |
|
|