mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
commit
88c232aa1b
@ -131,7 +131,7 @@ void CFrame::ToggleLogConfigWindow(bool bShow)
|
|||||||
if (bShow)
|
if (bShow)
|
||||||
{
|
{
|
||||||
if (!m_LogConfigWindow)
|
if (!m_LogConfigWindow)
|
||||||
m_LogConfigWindow = new LogConfigWindow(this, m_LogWindow, IDM_LOG_CONFIG_WINDOW);
|
m_LogConfigWindow = new LogConfigWindow(this, IDM_LOG_CONFIG_WINDOW);
|
||||||
|
|
||||||
const int nbIndex = IDM_LOG_CONFIG_WINDOW - IDM_LOG_WINDOW;
|
const int nbIndex = IDM_LOG_CONFIG_WINDOW - IDM_LOG_WINDOW;
|
||||||
DoAddPage(m_LogConfigWindow,
|
DoAddPage(m_LogConfigWindow,
|
||||||
|
@ -20,9 +20,9 @@
|
|||||||
#include "DolphinWX/LogWindow.h"
|
#include "DolphinWX/LogWindow.h"
|
||||||
#include "DolphinWX/WxUtils.h"
|
#include "DolphinWX/WxUtils.h"
|
||||||
|
|
||||||
LogConfigWindow::LogConfigWindow(wxWindow* parent, CLogWindow *log_window, wxWindowID id)
|
LogConfigWindow::LogConfigWindow(wxWindow* parent, wxWindowID id)
|
||||||
: wxPanel(parent, id, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, _("Log Configuration"))
|
: wxPanel(parent, id, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, _("Log Configuration"))
|
||||||
, m_LogWindow(log_window), enableAll(true)
|
, enableAll(true)
|
||||||
{
|
{
|
||||||
SetMinSize(wxSize(100, 100));
|
SetMinSize(wxSize(100, 100));
|
||||||
m_LogManager = LogManager::GetInstance();
|
m_LogManager = LogManager::GetInstance();
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#include <wx/panel.h>
|
#include <wx/panel.h>
|
||||||
|
|
||||||
class LogManager;
|
class LogManager;
|
||||||
class CLogWindow;
|
|
||||||
class wxCheckBox;
|
class wxCheckBox;
|
||||||
class wxCheckListBox;
|
class wxCheckListBox;
|
||||||
class wxRadioBox;
|
class wxRadioBox;
|
||||||
@ -15,7 +14,7 @@ class wxRadioBox;
|
|||||||
class LogConfigWindow : public wxPanel
|
class LogConfigWindow : public wxPanel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
LogConfigWindow(wxWindow* parent, CLogWindow *log_window, wxWindowID id = wxID_ANY);
|
LogConfigWindow(wxWindow* parent, wxWindowID id = wxID_ANY);
|
||||||
~LogConfigWindow();
|
~LogConfigWindow();
|
||||||
|
|
||||||
void SaveSettings();
|
void SaveSettings();
|
||||||
@ -23,7 +22,6 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
LogManager *m_LogManager;
|
LogManager *m_LogManager;
|
||||||
CLogWindow *m_LogWindow;
|
|
||||||
bool m_writeFile, m_writeConsole, m_writeWindow;
|
bool m_writeFile, m_writeConsole, m_writeWindow;
|
||||||
bool enableAll;
|
bool enableAll;
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ static AVFormatContext* s_format_context = nullptr;
|
|||||||
static AVStream* s_stream = nullptr;
|
static AVStream* s_stream = nullptr;
|
||||||
static AVFrame* s_src_frame = nullptr;
|
static AVFrame* s_src_frame = nullptr;
|
||||||
static AVFrame* s_scaled_frame = nullptr;
|
static AVFrame* s_scaled_frame = nullptr;
|
||||||
AVPixelFormat s_pix_fmt = AV_PIX_FMT_BGR24;
|
static AVPixelFormat s_pix_fmt = AV_PIX_FMT_BGR24;
|
||||||
static uint8_t* s_yuv_buffer = nullptr;
|
static uint8_t* s_yuv_buffer = nullptr;
|
||||||
static SwsContext* s_sws_context = nullptr;
|
static SwsContext* s_sws_context = nullptr;
|
||||||
static int s_width;
|
static int s_width;
|
||||||
|
Loading…
Reference in New Issue
Block a user