comparison orpg/gametree/nodehandlers/rpg_grid.py @ 92:68c7bd272f27 beta

Traipse Beta 'OpenRPG' {090919-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: 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. Fixes Copy for Windows and Linux (finally!!) users. Fixes incomplete update to Grid and List nodes. Fixes incomplete update to Chat Commands. Fixes problems with Remote Image Upload. Fixes Drop and Drag of Minis to Map. CherryPy can now use any image in the webfiles/ folder and sub-folders. CherryPy can now Drop and Drag Minis to the Map. Minor changes to Update Manager's GUI. Expert recommendation warning added to Revision Update. Step down compatibility with open_rpg & component added to orpgCore. Using majority of 'Grumpy' network folder to correct server lag.
author sirebral
date Sat, 19 Sep 2009 06:50:43 -0500
parents 37a11fea3304
children 217fb049bd00 dcf4fbe09b70
comparison
equal deleted inserted replaced
84:5c12918d6bb2 92:68c7bd272f27
390 #t_node = doc.createTextNode("") 390 #t_node = doc.createTextNode("")
391 t_node = Text("") 391 t_node = Text("")
392 t_node = cell.appendChild(t_node) 392 t_node = cell.appendChild(t_node)
393 r.appendChild(cell) 393 r.appendChild(cell)
394 self.AppendCols(1) 394 self.AppendCols(1)
395 self.fit_cols() 395 #self.fit_cols()::Where did this go? TaS.
396
397 396
398 def del_row(self,evt=None): 397 def del_row(self,evt=None):
399 num = self.GetNumberRows() 398 num = self.GetNumberRows()
400 row = self.rows[num-1] 399 row = self.rows[num-1]
401 self.handler.grid.removeChild(row) 400 self.handler.grid.removeChild(row)
407 num = self.GetNumberCols() 406 num = self.GetNumberCols()
408 for r in self.rows: 407 for r in self.rows:
409 cells = r.getElementsByTagName('cell') 408 cells = r.getElementsByTagName('cell')
410 r.removeChild(cells[num-1]) 409 r.removeChild(cells[num-1])
411 self.DeleteCols(num-1,1) 410 self.DeleteCols(num-1,1)
412 self.fit_cols() 411 #self.fit_cols()::Where did this go? TaS.
413 412
414 413
415 G_TITLE = wx.NewId() 414 G_TITLE = wx.NewId()
416 GRID_BOR = wx.NewId() 415 GRID_BOR = wx.NewId()
417 class rpg_grid_panel(wx.Panel): 416 class rpg_grid_panel(wx.Panel):