comparison orpg/gametree/nodehandlers/voxchat.py @ 227:81d0bfd5e800 alpha

Traipse Alpha 'OpenRPG' {100612-00} Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the code. 'Ornery-Orc's main goal is to offer more advanced features and enhance the productivity of the user. Update Summary (Preparing to close updates) New Features: New to Map, can re-order Grid, Miniatures, and Whiteboard layer draw order Fixes: Fix to InterParse that was causing an Infernal Loop with Namespace Internal Fix to XML data, removed old Minidom and switched to Element Tree Fix to Server that was causing eternal attempt to find a Server ID, in Register Rooms thread Fix to metaservers.xml file not being created
author sirebral
date Sat, 12 Jun 2010 03:50:37 -0500
parents bf799efe7a8a
children
comparison
equal deleted inserted replaced
182:4b2884f29a72 227:81d0bfd5e800
19 # 19 #
20 # File: voxchat.py 20 # File: voxchat.py
21 # Author: Ted Berg 21 # Author: Ted Berg
22 # Maintainer: 22 # Maintainer:
23 # Version: 23 # Version:
24 # $Id: voxchat.py,v 1.37 2007/05/06 16:42:55 digitalxero Exp $ 24 # $Id: voxchat.py,v Traipse 'Ornery-Orc' prof.ebral Exp $
25 # 25 #
26 # Description: nodehandler for alias. 26 # Description: nodehandler for alias.
27 # 27 #
28 28
29 __version__ = "$Id: voxchat.py,v 1.37 2007/05/06 16:42:55 digitalxero Exp $" 29 __version__ = "$Id: voxchat.py,v Traipse 'Ornery-Orc' prof.ebral Exp $"
30 30
31 import re, os, string, core 31 import re, os, string, core
32 32
33 from orpg.orpg_windows import * 33 from orpg.orpg_windows import *
34 import core
35 import orpg.tools.scriptkit 34 import orpg.tools.scriptkit
36 import orpg.tools.predTextCtrl 35 import orpg.tools.predTextCtrl
37 import orpg.tools.rgbhex 36 import orpg.tools.rgbhex
38 import orpg.tools.inputValidator 37 import orpg.tools.inputValidator
39 38
51 50
52 class voxchat_handler(core.node_handler): 51 class voxchat_handler(core.node_handler):
53 def __init__(self, xml_dom, tree_node): 52 def __init__(self, xml_dom, tree_node):
54 core.node_handler.__init__( self, xml_dom, tree_node) 53 core.node_handler.__init__( self, xml_dom, tree_node)
55 self.node = xml_dom 54 self.node = xml_dom
56 self.xml = component.get('xml') 55 #self.xml = component.get('xml')
57 56
58 def get_design_panel( self, parent ): 57 def get_design_panel( self, parent ):
59 aliasLib = component.get('alias') 58 aliasLib = component.get('alias')
60 aliasLib.ImportFromTree(self.node) 59 aliasLib.ImportFromTree(self.node)
61 return None 60 return None