- More consistency updates

This commit is contained in:
ccremers 2006-08-08 17:07:15 +00:00
parent e14d165816
commit 529892e640
13 changed files with 6 additions and 2 deletions

View File

@ -117,7 +117,7 @@ class MainWindow(wx.Frame):
def getBmp(name): def getBmp(name):
bmp = wx.Bitmap(os.path.join("images","%s.png" % name),wx.BITMAP_TYPE_PNG) bmp = wx.Bitmap(os.path.join("Images","%s.png" % name),wx.BITMAP_TYPE_PNG)
if not bmp.Ok(): if not bmp.Ok():
tsize = (32,32) tsize = (32,32)
bmp = wx.EmptyBitmap(tsize) bmp = wx.EmptyBitmap(tsize)

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 139 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

@ -42,7 +42,7 @@ def parseArgs():
class MySplashScreen(wx.SplashScreen): class MySplashScreen(wx.SplashScreen):
def __init__(self): def __init__(self):
bmp = wx.Image(os.path.join("images","scyther-splash.png")).ConvertToBitmap() bmp = wx.Image(os.path.join("Images","scyther-splash.png")).ConvertToBitmap()
wx.SplashScreen.__init__(self, bmp, wx.SplashScreen.__init__(self, bmp,
wx.SPLASH_CENTRE_ON_SCREEN | wx.SPLASH_TIMEOUT, wx.SPLASH_CENTRE_ON_SCREEN | wx.SPLASH_TIMEOUT,
5000, None, -1) 5000, None, -1)
@ -101,6 +101,10 @@ class ScytherApp(wx.App):
def OnExit(self): def OnExit(self):
""" Tear down """ """ Tear down """
#---------------------------------------------------------------------------
if __name__ == '__main__': if __name__ == '__main__':
scythergui = ScytherApp() scythergui = ScytherApp()
scythergui.MainLoop() scythergui.MainLoop()