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