mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 22:59:47 -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:
@ -58,12 +58,6 @@
|
||||
#include "VideoCommon/VertexShaderManager.h"
|
||||
#include "VideoCommon/VideoConfig.h"
|
||||
|
||||
// Resources
|
||||
|
||||
extern "C" {
|
||||
#include "DolphinWX/resources/Dolphin.c" // NOLINT: Dolphin icon
|
||||
};
|
||||
|
||||
int g_saveSlot = 1;
|
||||
|
||||
#if defined(HAVE_X11) && HAVE_X11
|
||||
@ -89,7 +83,7 @@ CRenderFrame::CRenderFrame(wxFrame* parent, wxWindowID id, const wxString& title
|
||||
{
|
||||
// Give it an icon
|
||||
wxIcon IconTemp;
|
||||
IconTemp.CopyFromBitmap(wxGetBitmapFromMemory(Dolphin_png));
|
||||
IconTemp.CopyFromBitmap(WxUtils::LoadResourceBitmap("Dolphin"));
|
||||
SetIcon(IconTemp);
|
||||
|
||||
DragAcceptFiles(true);
|
||||
|
Reference in New Issue
Block a user