Mercurial > traipse_dev
diff orpg/orpg_windows.py @ 133:37d26a98883f alpha
Traipse Alpha 'OpenRPG' {091010-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 (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!!
**New Gamtree Recusion method, mapping, and context sensitivity. !!Alpha - Watch out for infinite loops!!
Dead Node Children, now that's a
O O
-v-v- Happy Halloween!
author | sirebral |
---|---|
date | Tue, 10 Nov 2009 12:11:13 -0600 |
parents | c5bc2abaf7f8 |
children | 06f10429eedc |
line wrap: on
line diff
--- a/orpg/orpg_windows.py Thu Nov 05 12:15:19 2009 -0600 +++ b/orpg/orpg_windows.py Tue Nov 10 12:11:13 2009 -0600 @@ -32,6 +32,7 @@ from orpg.orpgCore import * import orpg.tools.rgbhex from orpg.dirpath import dir_struct +from orpg.tools.orpg_log import debug from orpg.tools.metamenus import MenuEx class img_helper: @@ -55,11 +56,10 @@ pos = string.rfind(file_name,'.') ext = string.lower(file_name[pos+1:]) img_type = 0 - # TaS - sirebral. Replaces 10 lines with 6 lines. recycle_bin = {"gif": wx.BITMAP_TYPE_GIF, "jpg": wx.BITMAP_TYPE_JPEG, "jpeg": wx.BITMAP_TYPE_JPEG, "bmp": wx.BITMAP_TYPE_BMP, "png": wx.BITMAP_TYPE_PNG} if recycle_bin.has_key(ext): img_type = recycle_bin[ext] - else: img_type = None ## this was imf_type = None. imf? + else: img_type = None del recycle_bin; return img_type ################################ @@ -87,7 +87,7 @@ if style: nbstyle |= style self.SetWindowStyleFlag(nbstyle) - #Tas - sirebral. Planned changes to the huge statement below. + # Tas - sirebral. Planned changes to the huge statement below. if tabtheme == 'slanted&aqua': self.SetGradientColourTo(wx.Color(0, 128, 255)) self.SetGradientColourFrom(wx.WHITE) @@ -188,14 +188,14 @@ sash = self.GetSashPosition() if splitmode == wx.SPLIT_VERTICAL: - pos = mouse_X # Position of the mouse pointer - second = second_x # Beginning of the second (Right) pane + pos = mouse_X # Position of the mouse pointer + second = second_x # Beginning of the second (Right) pane second_size = second_w # Size of the second pane else: - pos = mouse_Y # Position of the mouse pointer - second = second_y # Beginning of the second (Bottom) pane + pos = mouse_Y # Position of the mouse pointer + second = second_y # Beginning of the second (Bottom) pane second_size = second_h # Size of the second pane - sash_size = second - sash # Beginning of sash to beginning of second is the sash size + sash_size = second - sash # Beginning of sash to beginning of second is the sash size if (pos > sash + sash_size and second_size < sash) or (pos < sash and second_size > sash): # Equivalent to the following