home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 58 / pcpp58a.iso / extras / quake 3 source / Q3A_ToolSource.exe / Main / TexWnd.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-02  |  1.8 KB  |  68 lines

  1. #if !defined(AFX_TEXWND_H__44B4BA05_781B_11D1_B53C_00AA00A410FC__INCLUDED_)
  2. #define AFX_TEXWND_H__44B4BA05_781B_11D1_B53C_00AA00A410FC__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // TexWnd.h : header file
  8. //
  9. #include "texedit.h"
  10.  
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CTexWnd window
  13.  
  14. class CTexWnd : public CWnd
  15. {
  16.   DECLARE_DYNCREATE(CTexWnd);
  17. // Construction
  18. public:
  19.     CTexWnd();
  20.   void UpdateFilter(const char* pFilter);
  21.   void UpdatePrefs();
  22.   void FocusEdit();
  23.  
  24. // Attributes
  25. public:
  26.  
  27. // Operations
  28. public:
  29.  
  30. // Overrides
  31.     // ClassWizard generated virtual function overrides
  32.     //{{AFX_VIRTUAL(CTexWnd)
  33.     protected:
  34.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. public:
  39.     virtual ~CTexWnd();
  40.  
  41. protected:
  42.   CTexEdit m_wndFilter;
  43.   CButton  m_wndShaders;
  44.   bool m_bNeedRange;
  45.     // Generated message map functions
  46. protected:
  47.     //{{AFX_MSG(CTexWnd)
  48.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  49.     afx_msg void OnSize(UINT nType, int cx, int cy);
  50.     afx_msg void OnParentNotify(UINT message, LPARAM lParam);
  51.     afx_msg void OnTimer(UINT nIDEvent);
  52.     afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
  53.     afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
  54.     afx_msg void OnPaint();
  55.     afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  56.     afx_msg void OnTexturesFlush();
  57.     //}}AFX_MSG
  58.     afx_msg void OnShaderClick();
  59.     DECLARE_MESSAGE_MAP()
  60. };
  61.  
  62. /////////////////////////////////////////////////////////////////////////////
  63.  
  64. //{{AFX_INSERT_LOCATION}}
  65. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  66.  
  67. #endif // !defined(AFX_TEXWND_H__44B4BA05_781B_11D1_B53C_00AA00A410FC__INCLUDED_)
  68.