1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 16:24:02 +00:00

finish changing from xpm to png

This commit is contained in:
Charles Kerr 2007-07-19 14:57:21 +00:00
parent 01d5f761ff
commit 0aa10b6287

View file

@ -103,11 +103,10 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size):
myConfig( new wxConfig( _T("xmission") ) )
{
wxImage::AddHandler( new wxPNGHandler );
wxImage transmission_logo ( _T("xpm/transmission.png"), wxBITMAP_TYPE_PNG );
wxImage transmission_logo ( _T("images/transmission.png"), wxBITMAP_TYPE_PNG );
wxIcon ico;
ico.CopyFromBitmap( wxBitmap( transmission_logo ) );
SetIcon( ico );
//SetIcon( wxImage( _T("xpm/transmission.png"), wxBITMAP_TYPE_PNG ) );
/**
*** Menu
@ -145,11 +144,11 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size):
*** Toolbar
**/
wxImage open_image( _T("xpm/fileopen.png"), wxBITMAP_TYPE_PNG );
wxImage exec_image( _T("xpm/exec.png"), wxBITMAP_TYPE_PNG );
wxImage stop_image( _T("xpm/stop.png"), wxBITMAP_TYPE_PNG );
wxImage drop_image( _T("xpm/gtk-remove.png"), wxBITMAP_TYPE_PNG );
wxImage info_image( _T("xpm/gtk-properties.png"), wxBITMAP_TYPE_PNG );
wxImage open_image( _T("images/fileopen.png"), wxBITMAP_TYPE_PNG );
wxImage exec_image( _T("images/exec.png"), wxBITMAP_TYPE_PNG );
wxImage stop_image( _T("images/stop.png"), wxBITMAP_TYPE_PNG );
wxImage drop_image( _T("images/gtk-remove.png"), wxBITMAP_TYPE_PNG );
wxImage info_image( _T("images/gtk-properties.png"), wxBITMAP_TYPE_PNG );
wxToolBar* toolbar = CreateToolBar( wxNO_BORDER | wxTB_HORIZONTAL | wxTB_FLAT | wxTB_TEXT );
toolbar->SetToolBitmapSize( wxSize( 16, 16 ) );
@ -176,7 +175,7 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
{
wxImage transmission_logo ( _T("xpm/transmission.png"), wxBITMAP_TYPE_PNG );
wxImage transmission_logo ( _T("images/transmission.png"), wxBITMAP_TYPE_PNG );
wxIcon ico;
ico.CopyFromBitmap( wxBitmap( transmission_logo ) );