Changeset 464
- Timestamp:
- 07/25/10 18:35:31 (22 months ago)
- Location:
- trunk
- Files:
-
- 8 added
- 4 modified
-
ChangeLog (modified) (1 diff)
-
img (added)
-
img/about_02.png (added)
-
img/licencia_about02.png (added)
-
img/pyragua.ico (added)
-
img/pyragua_about02.png (added)
-
img/pyragua_splash.png (added)
-
img/pyrox_about02.png (added)
-
pyragua-ide (modified) (1 diff)
-
pyragua/shared/gaugesplash.py (added)
-
pyragua/ui/ipyraguaui.py (modified) (1 diff)
-
pyragua/ui/mainwindow.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r463 r464 1 2010-07-25 Jonathan Sandoval Cardona <jsandoval@utp.edu.co> 2 3 * pyragua.py (exec_path): attribute added to this module, to know execution path. 4 5 * img: Copied olf image resources to trunk. New ones needs to be created. 6 7 * gaugesplash.py: Added to pyragua shared library. 8 1 9 2010-07-15 Jonathan Sandoval Cardona <jsandoval@utp.edu.co> 2 10 -
trunk/pyragua-ide
r462 r464 16 16 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 17 18 import os.path 19 import gettext 20 gettext.install("pyragua-ide") 18 21 19 from pyragua .pyragua import Pyragua22 from pyragua import pyragua 20 23 21 pyragua = Pyragua() 22 pyragua.start() 24 # Relative execution path of pyragua-ide. Used to get resources 25 pyragua.exec_path = os.path.dirname(__file__) 26 27 pyragua_ide = pyragua.Pyragua() 28 pyragua_ide.start() -
trunk/pyragua/ui/ipyraguaui.py
r459 r464 33 33 pass 34 34 35 35 def show_splash(self, uri_image): 36 """Show a splash window loading image from uri_image. 37 38 """ 39 def set_splash_ticks(self, num_ticks): 40 """Set the num of ticks that the splash windows will have 41 to dissapear. 42 """ 43 44 def splash_tick(self, new_message=""): 45 """A tick for the splash. Tries to update the current message 46 shown in splash. 47 """ 48 -
trunk/pyragua/ui/mainwindow.py
r458 r464 20 20 """ 21 21 22 import os.path 23 22 24 import wx 23 25 import wx.aui 26 27 24 28 25 29 class MainWindow(object): … … 41 45 class PyraguaMainFrame(wx.Frame): 42 46 def __init__(self, parent, id_=-1, title=""): 47 from pyragua import pyragua 43 48 #todo: Change the size and position values for something from the config. 44 49 wx.Frame.__init__(self, parent, id_, "Pyragua", 45 50 wx.Point(100, 100), wx.Size(800, 600)) 51 52 self.SetIcon(wx.Icon(os.path.join(pyragua.exec_path, "img/pyragua.ico"), 53 wx.BITMAP_TYPE_ICO)) 46 54 47 55 self._aui_manager = wx.aui.AuiManager()
