mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00: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:
parent
460cef492a
commit
81466d7fa3
52 changed files with 81 additions and 4648 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue