mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
DolphinWX: Stop using XPM images
Using the XPM format for images has become a maintenance problem because people don't know how to create them. This commit removes all XPM images and all C files that contain PNG images. DolphinWX now uses the PNGs in the Resources folder instead, just like DolphinQt and DolphinQt2 do.
This commit is contained in:
@ -69,9 +69,6 @@
|
||||
#include "DolphinWX/PatchAddEdit.h"
|
||||
#include "DolphinWX/WxUtils.h"
|
||||
#include "DolphinWX/Cheats/GeckoCodeDiag.h"
|
||||
#include "DolphinWX/resources/isoprop_disc.xpm"
|
||||
#include "DolphinWX/resources/isoprop_file.xpm"
|
||||
#include "DolphinWX/resources/isoprop_folder.xpm"
|
||||
|
||||
BEGIN_EVENT_TABLE(CISOProperties, wxDialog)
|
||||
EVT_CLOSE(CISOProperties::OnClose)
|
||||
@ -599,9 +596,9 @@ void CISOProperties::CreateGUIControls()
|
||||
|
||||
// Filesystem icons
|
||||
wxImageList* const m_iconList = new wxImageList(16, 16);
|
||||
m_iconList->Add(wxBitmap(disc_xpm), wxNullBitmap); // 0
|
||||
m_iconList->Add(wxBitmap(folder_xpm), wxNullBitmap); // 1
|
||||
m_iconList->Add(wxBitmap(file_xpm), wxNullBitmap); // 2
|
||||
m_iconList->Add(WxUtils::LoadResourceBitmap("isoproperties_disc")); // 0
|
||||
m_iconList->Add(WxUtils::LoadResourceBitmap("isoproperties_folder")); // 1
|
||||
m_iconList->Add(WxUtils::LoadResourceBitmap("isoproperties_file")); // 2
|
||||
|
||||
// Filesystem tree
|
||||
m_Treectrl = new wxTreeCtrl(filesystem_panel, ID_TREECTRL);
|
||||
|
Reference in New Issue
Block a user