mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-05-10 21:09:39 -05:00
30 lines
684 B
C++
30 lines
684 B
C++
#pragma once
|
|
|
|
#include "Cemu/Logging/CemuLogging.h"
|
|
|
|
#include <wx/frame.h>
|
|
#include <wx/listbox.h>
|
|
#include <wx/combobox.h>
|
|
#include "wxgui/components/wxLogCtrl.h"
|
|
|
|
class wxLogEvent;
|
|
|
|
class LoggingWindow : public wxFrame, public LoggingCallbacks
|
|
{
|
|
public:
|
|
LoggingWindow(wxFrame* parent);
|
|
~LoggingWindow();
|
|
|
|
void Log(std::string_view filter, std::string_view message) override;
|
|
void Log(std::string_view filter, std::wstring_view message) override;
|
|
|
|
private:
|
|
void OnLogMessage(wxLogEvent& event);
|
|
void OnFilterChange(wxCommandEvent& event);
|
|
void OnFilterMessageChange(wxCommandEvent& event);
|
|
|
|
wxComboBox* m_filter;
|
|
wxLogCtrl* m_log_list;
|
|
wxCheckBox* m_filter_message;
|
|
};
|