Mercurial > traipse_dev
comparison orpg/gametree/nodehandlers/forms.py @ 87:eb1b275699c4 alpha
Traipse Alpha 'OpenRPG' {090917-01}
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:
00:
Adds menu changes to draw attention to important updates, errors, or other events. (image info coming soon)
Traipse URL is not included in the repos tab and is set as default.
01:
Fixes Copy for Windows and Linux (finally!!) users.
Fixes incomplete update to Grid and List nodes.
Fixes incomplete update to Chat Commands.
author | sirebral |
---|---|
date | Thu, 17 Sep 2009 03:23:03 -0500 |
parents | f38df4bf9715 |
children | 0c936d98f9eb dcf4fbe09b70 |
comparison
equal
deleted
inserted
replaced
86:bdbeafcb2ef4 | 87:eb1b275699c4 |
---|---|
27 # | 27 # |
28 | 28 |
29 __version__ = "$Id: forms.py,v 1.53 2007/04/21 23:00:51 digitalxero Exp $" | 29 __version__ = "$Id: forms.py,v 1.53 2007/04/21 23:00:51 digitalxero Exp $" |
30 | 30 |
31 from containers import * | 31 from containers import * |
32 import orpg.minidom as minidom | |
32 from orpg.orpg_xml import xml | 33 from orpg.orpg_xml import xml |
33 from wx.lib.scrolledpanel import ScrolledPanel | 34 from wx.lib.scrolledpanel import ScrolledPanel |
34 | 35 |
35 def bool2int(b): | 36 def bool2int(b): |
36 #in wxPython 2.5+, evt.Checked() returns True or False instead of 1.0 or 0. | 37 #in wxPython 2.5+, evt.Checked() returns True or False instead of 1.0 or 0. |
64 if c._get_tagName() == "form": | 65 if c._get_tagName() == "form": |
65 self.atts = c | 66 self.atts = c |
66 else: | 67 else: |
67 self.tree.load_xml(c,self.mytree_node) | 68 self.tree.load_xml(c,self.mytree_node) |
68 if not self.atts: | 69 if not self.atts: |
69 elem = self.xml.minidom.Element('form') | 70 elem = minidom.Element('form') |
70 elem.setAttribute("width","400") | 71 elem.setAttribute("width","400") |
71 elem.setAttribute("height","600") | 72 elem.setAttribute("height","600") |
72 self.atts = self.master_dom.appendChild(elem) | 73 self.atts = self.master_dom.appendChild(elem) |
73 | 74 |
74 def get_design_panel(self,parent): | 75 def get_design_panel(self,parent): |