Mercurial > traipse_dev
comparison orpg/gametree/nodehandlers/rpg_grid.py @ 131:90d19eb43830 alpha
Traipse Alpha 'OpenRPG' {091003-03}
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 (Cleaning up for Beta)
Added Bookmarks
Fix to Remote Admin Commands
Minor fix to text based Server
Fix to Pretty Print, from Core
Fix to Splitter Nodes not being created
Fix to massive amounts of images loading, from Core
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
default_manifest.xml renamed to default_upmana.xml
Cleaner clode for saved repositories
New TrueDebug Class in orpg_log (See documentation for usage)
Mercurial's hgweb folder is ported to upmana
**Pretty important update that can help remove thousands of dead children from your gametree.
**Children, <forms />, <group_atts />, <horizontal />, <cols />, <rows />, <height />, etc... are all tags now.
Check your gametree and look for dead children!!
(Apparently I pasted from the OpenRPG folder. Wrong! Pro's or not, they need to eventually see the read text in
their own debugger console.)
Dead Node Children, now that's a
O O
-v-v- Happy Halloween!
author | sirebral |
---|---|
date | Tue, 03 Nov 2009 21:30:36 -0600 |
parents | d54e1328dbb1 |
children | 1ed2feab0db9 |
comparison
equal
deleted
inserted
replaced
130:d54e1328dbb1 | 131:90d19eb43830 |
---|---|
198 PaintBackground and do something meaningful there. | 198 PaintBackground and do something meaningful there. |
199 """ | 199 """ |
200 self._tc.SetDimensions(rect.x+1, rect.y+1, rect.width+2, rect.height+2) | 200 self._tc.SetDimensions(rect.x+1, rect.y+1, rect.width+2, rect.height+2) |
201 | 201 |
202 | 202 |
203 def Show(self, show, attr): | 203 #def Show(self, show, attr): #deprecated DeprecationWarning: Please use PyGridCellEditor.Show instead. |
204 """ | 204 # """ |
205 Show or hide the edit control. You can use the attr (if not None) | 205 # Show or hide the edit control. You can use the attr (if not None) |
206 to set colours or fonts for the control. | 206 # to set colours or fonts for the control. |
207 """ | 207 # """ |
208 self.base_Show(show, attr) | 208 # self.base_Show(show, attr) # Removed to prevent recursive error type. |
209 | 209 |
210 | 210 |
211 def BeginEdit(self, row, col, grid): | 211 def BeginEdit(self, row, col, grid): |
212 """ | 212 """ |
213 Fetch the value from the table and prepare the edit control | 213 Fetch the value from the table and prepare the edit control |
366 cells[i].text = text | 366 cells[i].text = text |
367 self.SetCellValue(rowi,i,text) | 367 self.SetCellValue(rowi,i,text) |
368 | 368 |
369 def add_row(self,evt=None): | 369 def add_row(self,evt=None): |
370 cols = self.GetNumberCols() | 370 cols = self.GetNumberCols() |
371 row = ET.Element('row') | 371 row = Element('row') |
372 for i in range(0,cols): | 372 for i in range(0,cols): |
373 cell = ET.Element('cell') | 373 cell = Element('cell') |
374 cell.text = '' | 374 cell.text = '' |
375 row.append(cell) | 375 row.append(cell) |
376 self.handler.grid.append(row) | 376 self.handler.grid.append(row) |
377 self.AppendRows(1) | 377 self.AppendRows(1) |
378 self.rows = self.handler.grid.findall('row') | 378 self.rows = self.handler.grid.findall('row') |
379 self.handler.refresh_rows() | 379 self.handler.refresh_rows() |
380 | 380 |
381 def add_col(self,evt=None): | 381 def add_col(self,evt=None): |
382 for r in self.rows: | 382 for r in self.rows: |
383 cell = ET.Element('cell') | 383 cell = Element('cell') |
384 cell.text = '' | 384 cell.text = '' |
385 r.append(cell) | 385 r.append(cell) |
386 self.AppendCols(1) | 386 self.AppendCols(1) |
387 self.set_col_widths() | 387 self.set_col_widths() |
388 | 388 |