Mercurial > traipse_dev
comparison orpg/main.py @ 86:bdbeafcb2ef4 alpha
Traipse Alpha 'OpenRPG' {090917-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.
author | sirebral |
---|---|
date | Thu, 17 Sep 2009 01:14:48 -0500 |
parents | dd4be4817377 |
children | d1aff41c031b |
comparison
equal
deleted
inserted
replaced
83:f38df4bf9715 | 86:bdbeafcb2ef4 |
---|---|
266 | 266 |
267 mana = wx.MenuItem(self.traipseSuite, wx.ID_ANY, "Update Manager", "Update Manager") | 267 mana = wx.MenuItem(self.traipseSuite, wx.ID_ANY, "Update Manager", "Update Manager") |
268 self.Bind(wx.EVT_MENU, self.OnMB_UpdateManagerPanel, mana) | 268 self.Bind(wx.EVT_MENU, self.OnMB_UpdateManagerPanel, mana) |
269 self.traipseSuite.AppendItem(mana) | 269 self.traipseSuite.AppendItem(mana) |
270 | 270 |
271 debugger = wx.MenuItem(self.traipseSuite, -1, "Debug Console", "Debug Console") | 271 self.debugConsole = wx.MenuItem(self.traipseSuite, -1, "Debug Console", "Debug Console") |
272 self.Bind(wx.EVT_MENU, self.OnMB_DebugConsole, debugger) | 272 self.Bind(wx.EVT_MENU, self.OnMB_DebugConsole, self.debugConsole) |
273 self.traipseSuite.AppendItem(debugger) | 273 self.traipseSuite.AppendItem(self.debugConsole) |
274 | 274 |
275 | 275 |
276 ################################# | 276 ################################# |
277 ## All Menu Events | 277 ## All Menu Events |
278 ################################# | 278 ################################# |
472 if self.updateMana.IsShown() == True: self.updateMana.Hide() | 472 if self.updateMana.IsShown() == True: self.updateMana.Hide() |
473 else: self.updateMana.Show() | 473 else: self.updateMana.Show() |
474 | 474 |
475 @debugging | 475 @debugging |
476 def OnMB_DebugConsole(self, evt): | 476 def OnMB_DebugConsole(self, evt): |
477 ## Alpha ## | |
478 self.traipseSuite.RemoveItem(self.debugConsole) | |
479 self.debugConsole.SetBitmap(wx.Bitmap(dir_struct["icon"] + 'clear.gif')) | |
480 self.traipseSuite.AppendItem(self.debugConsole) | |
481 self.mainmenu.Replace(8, self.traipseSuite, '&Traipse Suite') | |
482 ########### | |
477 if self.debugger.IsShown() == True: self.debugger.Hide() | 483 if self.debugger.IsShown() == True: self.debugger.Hide() |
478 else: self.debugger.Show() | 484 else: self.debugger.Show() |
479 | 485 |
480 @debugging | 486 @debugging |
481 def OnMB_ToolsLoggingLevelDebug(self): | 487 def OnMB_ToolsLoggingLevelDebug(self): |
643 logger.debug("Dimensions Set") | 649 logger.debug("Dimensions Set") |
644 | 650 |
645 #Update Manager | 651 #Update Manager |
646 self.manifest = manifest.ManifestChanges() | 652 self.manifest = manifest.ManifestChanges() |
647 self.updateMana = upmana.updatemana.updaterFrame(self, | 653 self.updateMana = upmana.updatemana.updaterFrame(self, |
648 "OpenRPG Update Manager Beta 0.7.2", component, self.manifest, True) | 654 "OpenRPG Update Manager Beta 0.8", component, self.manifest, True) |
649 logger.debug("Menu Created") | 655 logger.debug("Menu Created") |
650 h = int(xml_dom.getAttribute("height")) | 656 h = int(xml_dom.getAttribute("height")) |
651 w = int(xml_dom.getAttribute("width")) | 657 w = int(xml_dom.getAttribute("width")) |
652 posx = int(xml_dom.getAttribute("posx")) | 658 posx = int(xml_dom.getAttribute("posx")) |
653 posy = int(xml_dom.getAttribute("posy")) | 659 posy = int(xml_dom.getAttribute("posy")) |