Skip to content

Commit

Permalink
Linux GUI: Change to transparent icons
Browse files Browse the repository at this point in the history
Replace the three icons in the toolbar with newly created transparent versions.
  • Loading branch information
cjee21 committed May 24, 2024
1 parent 87facbf commit a058cdc
Show file tree
Hide file tree
Showing 4 changed files with 1,502 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Source/GUI/WxWidgets/GUI_Main_Menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ END_EVENT_TABLE()

//---------------------------------------------------------------------------
#ifndef __WXMSW__
#include "Resource/Image/Menu/K20/File_Open_File.xpm"
#include "Resource/Image/Menu/K20/File_Open_Directory.xpm"
#include "Resource/Image/Menu/K20/Help_About.xpm"
#include "Resource/Image/Menu/K20/File_Open_File_v2.xpm"
#include "Resource/Image/Menu/K20/File_Open_Directory_v2.xpm"
#include "Resource/Image/Menu/K20/Help_About_v2.xpm"
#endif

//***************************************************************************
Expand Down Expand Up @@ -629,9 +629,9 @@ void GUI_Main::ToolBar_Create()
ToolBar->SetDropTarget(new FileDrop(C));
#endif //wxUSE_DRAG_AND_DROP
ToolBar->SetToolBitmapSize(wxSize(32, 32));
ToolBar->AddTool(ID_Menu_File_Open_Files, __T("Open &file(s)"), wxICON(File_Open_File));
ToolBar->AddTool(ID_Menu_File_Open_Directory, __T("Open &directory"), wxICON(File_Open_Directory));
ToolBar->AddTool(ID_Menu_File_Open_Files, __T("Open &file(s)"), wxICON(File_Open_File_v2));
ToolBar->AddTool(ID_Menu_File_Open_Directory, __T("Open &directory"), wxICON(File_Open_Directory_v2));
ToolBar->AddSeparator();
ToolBar->AddTool(wxID_ABOUT, __T("About"), wxICON(Help_About));
ToolBar->AddTool(wxID_ABOUT, __T("About"), wxICON(Help_About_v2));
ToolBar->Realize();
}
Loading

0 comments on commit a058cdc

Please sign in to comment.