Rework a few things, rename some images.

This commit is contained in:
cncfanatics
2010-08-12 18:00:39 +02:00
parent f7132e9385
commit 8acc3d7323
6 changed files with 11 additions and 11 deletions

View File

@@ -27,10 +27,6 @@ class MainMenuBar(wx.MenuBar):
# File menu
fileMenu = wx.Menu()
self.Append(fileMenu, "&File")
fileMenu.Append(wx.ID_OPEN, "&Import", "Import a fit into pyfa.")
fileMenu.Append(wx.ID_SAVEAS, "&Export", "Export the fit to another format.")
fileMenu.AppendSeparator()
fileMenu.Append(wx.ID_EXIT)
@@ -45,18 +41,22 @@ class MainMenuBar(wx.MenuBar):
# Fit menu
fitMenu = wx.Menu()
self.Append(fitMenu, "F&it")
fitMenu.Append(wx.ID_NEW)
shipBrowserItem = wx.MenuItem(fitMenu, wx.ID_ANY, "Ship &Browser")
shipBrowserItem.SetBitmap(bitmapLoader.getBitmap("ship_small"))
fitMenu.AppendItem(shipBrowserItem)
fitMenu.Append(wx.ID_EDIT, "&Rename", "Rename this fit.")
fitMenu.Append(wx.ID_COPY)
fitMenu.Append(wx.ID_DELETE)
fitMenu.AppendSeparator()
fitMenu.Append(wx.ID_OPEN, "&Import", "Import a fit into pyfa.")
fitMenu.Append(wx.ID_SAVEAS, "&Export", "Export the fit to another format.")
# Character menu
charMenu = wx.Menu()
self.Append(charMenu, "&Character")
charEditItem = wx.MenuItem(charMenu, wx.ID_ANY, "Character Editor")
charEditItem.SetBitmap(bitmapLoader.getBitmap("character"))
charEditItem = wx.MenuItem(charMenu, wx.ID_ANY, "Character &Editor")
charEditItem.SetBitmap(bitmapLoader.getBitmap("character_small"))
charMenu.AppendItem(charEditItem)
# Help menu

View File

@@ -24,8 +24,6 @@ class MainToolBar(wx.ToolBar):
def __init__(self, parent):
wx.ToolBar.__init__(self, parent, wx.ID_ANY)
self.AddControl(bitmapLoader.getStaticBitmap("ship", self))
self.AddLabelTool(wx.ID_NEW, "New fit", wx.ArtProvider.GetBitmap(wx.ART_NEW, wx.ART_TOOLBAR))
self.AddLabelTool(wx.ID_COPY, "Copy fit", wx.ArtProvider.GetBitmap(wx.ART_COPY, wx.ART_TOOLBAR))
self.AddLabelTool(wx.ID_DELETE, "Delete fit", wx.ArtProvider.GetBitmap(wx.ART_DELETE, wx.ART_TOOLBAR))
@@ -33,5 +31,7 @@ class MainToolBar(wx.ToolBar):
self.AddLabelTool(wx.ID_OPEN, "Import fit", wx.ArtProvider.GetBitmap(wx.ART_FILE_OPEN, wx.ART_TOOLBAR))
self.AddLabelTool(wx.ID_SAVEAS, "Export fit", wx.ArtProvider.GetBitmap(wx.ART_FILE_SAVE_AS, wx.ART_TOOLBAR))
self.AddSeparator()
self.AddLabelTool(wx.ID_ANY, "Ship Browser", bitmapLoader.getBitmap("ship_big"))
self.AddLabelTool(wx.ID_ANY, "Character Editor", bitmapLoader.getBitmap("character_big"))
self.Realize()

BIN
icons/character_big.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 726 B

After

Width:  |  Height:  |  Size: 726 B

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
icons/ship_small.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 670 B