comparison clients/editor/fifedit.py @ 179:28532ae6f9f6

Moved all editor content out of content, as chewie says it's deprecated as hell ;-)
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 30 Jan 2009 00:54:07 +0000
parents 4a0efb7baf70
children
comparison
equal deleted inserted replaced
178:7dc59bd3d6b1 179:28532ae6f9f6
9 Fifedit is the editor tool. It is designed to be embedded in clients, most notably the editor. 9 Fifedit is the editor tool. It is designed to be embedded in clients, most notably the editor.
10 Fifedit is a plugin system for editing tools. See L{registerPlugin}. 10 Fifedit is a plugin system for editing tools. See L{registerPlugin}.
11 """ 11 """
12 def __init__(self, engine): 12 def __init__(self, engine):
13 pychan.init(engine,debug=False) 13 pychan.init(engine,debug=False)
14 self.gui = pychan.loadXML('content/gui/rootpanel.xml') 14 self.gui = pychan.loadXML('gui/rootpanel.xml')
15 eventMap = { 15 eventMap = {
16 'quitButton' : self.quit 16 'quitButton' : self.quit
17 } 17 }
18 self.gui.mapEvents(eventMap) 18 self.gui.mapEvents(eventMap)
19 self.gui.show() 19 self.gui.show()