Alientech 0.01
An extendable game engine
C:/Alientech/AlienPlanets/OutputWnd.h
Go to the documentation of this file.
00001 
00002 #pragma once
00003 
00005 // COutputList window
00006 
00007 class COutputList : public CListBox
00008 {
00009 // Construction
00010 public:
00011         COutputList();
00012 
00013 // Implementation
00014 public:
00015         virtual ~COutputList();
00016 
00017 protected:
00018         afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
00019         afx_msg void OnEditCopy();
00020         afx_msg void OnEditClear();
00021         afx_msg void OnViewOutput();
00022 
00023         DECLARE_MESSAGE_MAP()
00024 };
00025 
00026 class COutputWnd : public CDockablePane
00027 {
00028 // Construction
00029 public:
00030         COutputWnd();
00031 
00032         void UpdateFonts();
00033 
00034 // Attributes
00035 protected:
00036         CMFCTabCtrl     m_wndTabs;
00037 
00038         COutputList m_wndOutputBuild;
00039         COutputList m_wndOutputDebug;
00040         COutputList m_wndOutputFind;
00041 
00042 protected:
00043         void FillBuildWindow();
00044         void FillDebugWindow();
00045         void FillFindWindow();
00046 
00047         void AdjustHorzScroll(CListBox& wndListBox);
00048 
00049 // Implementation
00050 public:
00051         virtual ~COutputWnd();
00052 
00053 protected:
00054         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00055         afx_msg void OnSize(UINT nType, int cx, int cy);
00056 
00057         DECLARE_MESSAGE_MAP()
00058 };
00059