1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

Merge pull request #1233 from Zangetsu38/Zangetsu

Adding the icon on window GL and DX12
This commit is contained in:
Raul Tambre 2015-09-28 19:20:17 +03:00
commit 4ac6c23ced
4 changed files with 10 additions and 3 deletions

View File

@ -9,6 +9,7 @@ D3DGSFrame::D3DGSFrame()
: GSFrame(nullptr, "GSFrame[DirectX 12]")
, m_frames(0)
{
SetIcon(wxICON(frame_icon));
canvas = new wxWindow(this, wxID_ANY);
canvas->SetSize(GetClientSize());

View File

@ -6,10 +6,15 @@
#include "D3DGSFrame.h"
#include "Utilities/Timer.h"
#ifndef _WIN32
#include "frame_icon.xpm"
#endif
GLGSFrame::GLGSFrame()
: GSFrame(nullptr, "GSFrame[OpenGL]")
, m_frames(0)
{
SetIcon(wxICON(frame_icon));
canvas = new wxGLCanvas(this, wxID_ANY, NULL);
canvas->SetSize(GetClientSize());

View File

@ -26,6 +26,10 @@
#include <wx/dynlib.h>
#include <wx/progdlg.h>
#ifndef _WIN32
#include "frame_icon.xpm"
#endif
BEGIN_EVENT_TABLE(MainFrame, FrameBase)
EVT_CLOSE(MainFrame::OnQuit)
END_EVENT_TABLE()
@ -117,9 +121,7 @@ MainFrame::MainFrame()
menu_help->Append(id_help_about, "&About...");
SetMenuBar(menubar);
#ifdef _WIN32
SetIcon(wxICON(frame_icon));
#endif
// Panels
m_log_frame = new LogFrame(this);

View File

@ -7,7 +7,6 @@
#pragma comment(lib, "iphlpapi.lib")
#else
#include "frame_icon.xpm"
#include <arpa/inet.h>
#include <sys/socket.h>