comparison orpg/gametree/nodehandlers/forms.py @ 181:fa18af3e04b9 alpha

Traipse Alpha 'OpenRPG' {100115-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 (Keeping up with Beta) New Features: Added Bookmarks Added 'boot' command to remote admin Added confirmation window for sent nodes Minor changes to allow for portability to an OpenSUSE linux OS Miniatures Layer pop up box allows users to turn off Mini labels, from FlexiRPG Zoom Mouse plugin added Images added to Plugin UI Switching to Element Tree Map efficiency, from FlexiRPG Added Status Bar to Update Manager New TrueDebug Class in orpg_log (See documentation for usage) Portable Mercurial Tip of the Day added, from Core and community New Reference Syntax added for custom PC sheets New Child Reference for gametree New Parent Reference for gametree New Gametree Recursion method, mapping, context sensitivity, and effeciency.. New Features node with bonus nodes and Node Referencing help added Dieroller structure from Core New DieRoller portability for odd Dice Added 7th Sea die roller; ie [7k3] = [7d10.takeHighest(3).open(10)] New 'Mythos' System die roller added Added new vs. die roller method for WoD; ie [3v3] = [3d10.vs(3)]. Included for Mythos roller also New Warhammer FRPG Die Roller (Special thanks to Puu-san for the support) New EZ_Tree Reference system. Push a button, Traipse the tree, get a reference (Beta!) Fixes: Fix to Text based Server Fix to Remote Admin Commands Fix to Pretty Print, from Core Fix to Splitter Nodes not being created Fix to massive amounts of images loading, from Core Fix to Map from gametree not showing to all clients Fix to gametree about menus Fix to Password Manager check on startup Fix to PC Sheets from tool nodes. They now use the tabber_panel Fix to Whiteboard ID to prevent random line or text deleting. Fixes to Server, Remote Server, and Server GUI Fix to Update Manager; cleaner clode for saved repositories Fixes made to Settings Panel and now reactive settings when Ok is pressed Fixes to Alternity roller's attack roll. Uses a simple Tuple instead of a Splice Fix to Use panel of Forms and Tabbers. Now longer enters design mode Fix made Image Fetching. New fetching image and new failed image Modified ID's to prevent non updated clients from ruining the fix. default_manifest.xml renamed to default_upmana.xml
author sirebral
date Fri, 15 Jan 2010 20:37:03 -0600
parents 12ba14d30baa
children 4b2884f29a72
comparison
equal deleted inserted replaced
180:12ba14d30baa 181:fa18af3e04b9
382 for e in end: 382 for e in end:
383 if e != '': complete += e +'::' 383 if e != '': complete += e +'::'
384 complete = complete + obj.xml.get('name') + '@!' 384 complete = complete + obj.xml.get('name') + '@!'
385 elif do == 'Parent': 385 elif do == 'Parent':
386 while start[0] == end[0]: 386 while start[0] == end[0]:
387 top = start[0]
388 del end[0], start[0] 387 del end[0], start[0]
389 if len(start) == 0 or len(end) == 0: break 388 if len(start) == 0 or len(end) == 0: break
390 complete = "!#" + top + "::" 389 complete = "!#"
391 for e in end: complete += e +'::' 390 for e in end: complete += e +'::'
392 complete = complete + obj.xml.get('name') + '#!' 391 complete = complete + obj.xml.get('name') + '#!'
393 elif do == 'Child': 392 elif do == 'Child':
394 while start[0] == end[0]: 393 while start[0] == end[0]:
395 del end[0], start[0] 394 del end[0], start[0]
693 self.handler = handler 692 self.handler = handler
694 self.parent = parent 693 self.parent = parent
695 sizer = wx.StaticBoxSizer(wx.StaticBox(self, -1, "List Box Properties"), wx.VERTICAL) 694 sizer = wx.StaticBoxSizer(wx.StaticBox(self, -1, "List Box Properties"), wx.VERTICAL)
696 695
697 self.text = wx.TextCtrl(self, P_TITLE, handler.xml.get('name')) 696 self.text = wx.TextCtrl(self, P_TITLE, handler.xml.get('name'))
698
699 self.listbox = wx.ListCtrl(self, LIST_CTRL, style=wx.LC_REPORT) 697 self.listbox = wx.ListCtrl(self, LIST_CTRL, style=wx.LC_REPORT)
700 self.listbox.InsertColumn(0, 'Caption') 698 self.listbox.InsertColumn(0, 'Caption')
701 self.listbox.InsertColumn(1, 'Value') 699 self.listbox.InsertColumn(1, 'Value')
702 self.listbox.SetColumnWidth(0, 75) 700 self.listbox.SetColumnWidth(0, 75)
703 self.listbox.SetColumnWidth(1, 300) 701 self.listbox.SetColumnWidth(1, 300)
828 for e in end: 826 for e in end:
829 if e != '': complete += e +'::' 827 if e != '': complete += e +'::'
830 complete = complete + obj.xml.get('name') + '@!' 828 complete = complete + obj.xml.get('name') + '@!'
831 elif do == 'Parent': 829 elif do == 'Parent':
832 while start[0] == end[0]: 830 while start[0] == end[0]:
833 top = start[0]
834 del end[0], start[0] 831 del end[0], start[0]
835 if len(start) == 0 or len(end) == 0: break 832 if len(start) == 0 or len(end) == 0: break
836 complete = "!#" + top + "::" 833 complete = "!#"
837 for e in end: complete += e +'::' 834 for e in end: complete += e +'::'
838 complete = complete + obj.xml.get('name') + '#!' 835 complete = complete + obj.xml.get('name') + '#!'
839 elif do == 'Child': 836 elif do == 'Child':
840 while start[0] == end[0]: 837 while start[0] == end[0]:
841 del end[0], start[0] 838 del end[0], start[0]