| 1 | /* |
|---|
| 2 | ----------------------------------------------------------------------------- |
|---|
| 3 | This source file is part of LEXIExporter |
|---|
| 4 | |
|---|
| 5 | Copyright 2006 NDS Limited |
|---|
| 6 | |
|---|
| 7 | Author(s): |
|---|
| 8 | Lasse Tassing |
|---|
| 9 | |
|---|
| 10 | This program is free software; you can redistribute it and/or modify it under |
|---|
| 11 | the terms of the GNU Lesser General Public License as published by the Free Software |
|---|
| 12 | Foundation; either version 2 of the License, or (at your option) any later |
|---|
| 13 | version. |
|---|
| 14 | |
|---|
| 15 | This program is distributed in the hope that it will be useful, but WITHOUT |
|---|
| 16 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
|---|
| 17 | FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |
|---|
| 18 | |
|---|
| 19 | You should have received a copy of the GNU Lesser General Public License along with |
|---|
| 20 | this program; if not, write to the Free Software Foundation, Inc., 59 Temple |
|---|
| 21 | Place - Suite 330, Boston, MA 02111-1307, USA, or go to |
|---|
| 22 | http://www.gnu.org/copyleft/lesser.txt. |
|---|
| 23 | ----------------------------------------------------------------------------- |
|---|
| 24 | */ |
|---|
| 25 | |
|---|
| 26 | #ifndef __NDS_LexiExporter_ViewLogDialog__ |
|---|
| 27 | #define __NDS_LexiExporter_ViewLogDialog__ |
|---|
| 28 | |
|---|
| 29 | #include <richedit.h> |
|---|
| 30 | |
|---|
| 31 | // |
|---|
| 32 | |
|---|
| 33 | class CExportViewLogDlg : public GDI::Dialog |
|---|
| 34 | { |
|---|
| 35 | public: |
|---|
| 36 | CExportViewLogDlg(Window* pParent, CMemoryLog *pLog); |
|---|
| 37 | ~CExportViewLogDlg(); |
|---|
| 38 | |
|---|
| 39 | protected: |
|---|
| 40 | |
|---|
| 41 | virtual void OnInitDialog(); |
|---|
| 42 | void OnSize(void); |
|---|
| 43 | void OnShowDebug(void); |
|---|
| 44 | void OnShowOGRE(void); |
|---|
| 45 | void OnAutoClose(void); |
|---|
| 46 | |
|---|
| 47 | private: |
|---|
| 48 | static INT_PTR CALLBACK DlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); |
|---|
| 49 | |
|---|
| 50 | void Repopulate(void); |
|---|
| 51 | void AddMessage(CMemoryLog::SMessage *pMessage); |
|---|
| 52 | |
|---|
| 53 | RECT m_OrgClientRect; |
|---|
| 54 | CMemoryLog *m_pLog; |
|---|
| 55 | |
|---|
| 56 | GDI::TreeCtrl m_LogTree; |
|---|
| 57 | GDI::Button m_ShowDebug; |
|---|
| 58 | GDI::Button m_ShowOGRE; |
|---|
| 59 | bool m_bShowDebug; |
|---|
| 60 | bool m_bShowOGRE; |
|---|
| 61 | }; |
|---|
| 62 | |
|---|
| 63 | // |
|---|
| 64 | |
|---|
| 65 | #endif // __NDS_LexiExporter_ExportProgressDialog__ |
|---|