From d3457700075fab2dac25bcff2775b7ae5a436a28 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 9 Mar 2025 13:07:35 -0400 Subject: Created log window --- src/log_dialog.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/log_dialog.h (limited to 'src/log_dialog.h') diff --git a/src/log_dialog.h b/src/log_dialog.h new file mode 100644 index 0000000..c29251f --- /dev/null +++ b/src/log_dialog.h @@ -0,0 +1,24 @@ +#ifndef LOG_DIALOG_H_EEFD45B6 +#define LOG_DIALOG_H_EEFD45B6 + +#include + +#ifndef WX_PRECOMP +#include +#endif + +wxDECLARE_EVENT(LOG_MESSAGE, wxCommandEvent); + +class LogDialog : public wxDialog { + public: + explicit LogDialog(wxWindow* parent); + + void LogMessage(const std::string& message); + + private: + void OnLogMessage(wxCommandEvent& event); + + wxTextCtrl* text_area_; +}; + +#endif /* end of include guard: LOG_DIALOG_H_EEFD45B6 */ -- cgit 1.4.1