mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-26 12:42:41 +01:00
Merge pull request #1233 from Zangetsu38/Zangetsu
Adding the icon on window GL and DX12
This commit is contained in:
commit
4ac6c23ced
@ -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());
|
||||
|
||||
|
@ -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());
|
||||
|
||||
|
@ -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);
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
#pragma comment(lib, "iphlpapi.lib")
|
||||
#else
|
||||
#include "frame_icon.xpm"
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <sys/socket.h>
|
||||
|
Loading…
Reference in New Issue
Block a user