comparison orpg/gametree/nodehandlers/voxchat.py @ 18:97265586402b ornery-orc

Traipse 'OpenRPG' {090827-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: Update Manager is now in version 0.8. While not every button works, users can now browse the different revisions and their different changesets. The code has been refined some with feature from Core added to it. A Crash report is now created if the users software crashes. Update Manager has been moved to the Traipse Suite menu item, and a Debug Console as been added as well.
author sirebral
date Thu, 27 Aug 2009 01:04:43 -0500
parents 4385a7d0efd1
children ff154cf3350c
comparison
equal deleted inserted replaced
17:265b987cce4f 18:97265586402b
37 import orpg.tools.scriptkit 37 import orpg.tools.scriptkit
38 import orpg.tools.predTextCtrl 38 import orpg.tools.predTextCtrl
39 import orpg.tools.rgbhex 39 import orpg.tools.rgbhex
40 import orpg.tools.inputValidator 40 import orpg.tools.inputValidator
41 41
42 import orpg.dirpath 42 from orpg.dirpath import dir_struct
43 import orpg.minidom 43 import orpg.minidom
44 import orpg.networking.mplay_client 44 import orpg.networking.mplay_client
45 from orpg.orpgCore import open_rpg 45 from orpg.orpgCore import component
46 46
47 # 47 #
48 # Good things to add: 48 # Good things to add:
49 # 1.u'use filter' per alias [ this should be done ] 49 # 1.u'use filter' per alias [ this should be done ]
50 # 2. make aliases remember which filter they're using [ lisbox in gtk appaears to ignore SetSelection( <= 0 ) 50 # 2. make aliases remember which filter they're using [ lisbox in gtk appaears to ignore SetSelection( <= 0 )
53 53
54 class voxchat_handler(core.node_handler): 54 class voxchat_handler(core.node_handler):
55 def __init__(self, xml_dom, tree_node): 55 def __init__(self, xml_dom, tree_node):
56 core.node_handler.__init__( self, xml_dom, tree_node) 56 core.node_handler.__init__( self, xml_dom, tree_node)
57 self.node = xml_dom 57 self.node = xml_dom
58 self.xml = open_rpg.get_component('xml') 58 self.xml = component.get('xml')
59 59
60 def get_design_panel( self, parent ): 60 def get_design_panel( self, parent ):
61 aliasLib = open_rpg.get_component('alias') 61 aliasLib = component.get('alias')
62 aliasLib.ImportFromTree(self.node) 62 aliasLib.ImportFromTree(self.node)
63 return None 63 return None
64 64
65 def get_use_panel( self, parent ): 65 def get_use_panel( self, parent ):
66 aliasLib = open_rpg.get_component('alias') 66 aliasLib = component.get('alias')
67 aliasLib.ImportFromTree(self.node) 67 aliasLib.ImportFromTree(self.node)
68 return None 68 return None