More log fixing: Write to Window checkbox added, fix some log levels again, clean some code.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2701 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-03-20 21:23:36 +00:00
parent aa7fe1edee
commit 866e393426
6 changed files with 42 additions and 37 deletions

View File

@ -31,6 +31,7 @@ enum
IDM_TOGGLEALL,
IDM_WRITEFILE,
IDM_WRITECONSOLE,
IDM_WRITEWINDOW,
IDTM_UPDATELOG,
IDM_VERBOSITY,
IDM_SUBMITCMD
@ -53,9 +54,9 @@ public:
void Log(LogTypes::LOG_LEVELS, const char *text);
private:
wxTextCtrl* m_log, * m_cmdline;
bool m_writeFile, m_writeConsole;
wxCheckBox* m_writeFileCB, * m_writeConsoleCB;
wxTextCtrl *m_log, *m_cmdline;
bool m_writeFile, m_writeConsole, m_writeWindow;
wxCheckBox *m_writeFileCB, *m_writeConsoleCB, *m_writeWindowCB;
wxTimer *m_logTimer;
wxCheckListBox* m_checks;
wxRadioBox *m_verbosity;