Mercurial > traipse
comparison orpg/mapper/min_dialogs.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 | 211ac836b6a0 |
children | ff154cf3350c |
comparison
equal
deleted
inserted
replaced
17:265b987cce4f | 18:97265586402b |
---|---|
149 | 149 |
150 if sel_rmin.label: node_begin += sel_rmin.label + "'" | 150 if sel_rmin.label: node_begin += sel_rmin.label + "'" |
151 else: node_begin += "Unnamed Miniature'" | 151 else: node_begin += "Unnamed Miniature'" |
152 | 152 |
153 node_begin += ">" | 153 node_begin += ">" |
154 gametree = open_rpg.get_component('tree') | 154 gametree = component.get('tree') |
155 node_xml = node_begin + min_xml + '</nodehandler>' | 155 node_xml = node_begin + min_xml + '</nodehandler>' |
156 print "Sending this XML to insert_xml:" + node_xml | 156 print "Sending this XML to insert_xml:" + node_xml |
157 gametree.insert_xml(node_xml) | 157 gametree.insert_xml(node_xml) |
158 ############# | 158 ############# |
159 self.listctrl.DeleteAllItems() | 159 self.listctrl.DeleteAllItems() |
415 self.label = wx.TextCtrl(self, MIN_LABEL, min.label) | 415 self.label = wx.TextCtrl(self, MIN_LABEL, min.label) |
416 sizer.Add(wx.StaticText(self, -1, "Label:"), 0, wx.EXPAND) | 416 sizer.Add(wx.StaticText(self, -1, "Label:"), 0, wx.EXPAND) |
417 sizer.Add(self.label, 0, wx.EXPAND) | 417 sizer.Add(self.label, 0, wx.EXPAND) |
418 sizer.Add(wx.Size(10,10)) | 418 sizer.Add(wx.Size(10,10)) |
419 self.heading = wx.RadioBox(self, MIN_HEADING, "Heading", | 419 self.heading = wx.RadioBox(self, MIN_HEADING, "Heading", |
420 choices=["None","N","NE","E","SE","S","SW","W","NW"],majorDimension=5,style=wx.RA_SPECIFY_COLS) | 420 choices=["None","N","NE", |
421 "E","SE","S", | |
422 "SW","W","NW"],majorDimension=5,style=wx.RA_SPECIFY_COLS) | |
421 self.heading.SetSelection(min.heading) | 423 self.heading.SetSelection(min.heading) |
422 self.face = wx.RadioBox(self, MIN_FACE, "Facing", | 424 self.face = wx.RadioBox(self, MIN_FACE, "Facing", |
423 choices=["None","N","NE","E","SE","S","SW","W","NW"],majorDimension=5,style=wx.RA_SPECIFY_COLS) | 425 choices=["None","N","NE", |
426 "E","SE","S", | |
427 "SW","W","NW"],majorDimension=5,style=wx.RA_SPECIFY_COLS) | |
424 self.face.SetSelection(min.face) | 428 self.face.SetSelection(min.face) |
425 self.locked = wx.CheckBox(self, MIN_LOCK, " Lock") | 429 self.locked = wx.CheckBox(self, MIN_LOCK, " Lock") |
426 self.locked.SetValue(min.locked) | 430 self.locked.SetValue(min.locked) |
427 self.hide = wx.CheckBox(self, MIN_HIDE, " Hide") | 431 self.hide = wx.CheckBox(self, MIN_HIDE, " Hide") |
428 self.hide.SetValue(min.hide) | 432 self.hide.SetValue(min.hide) |