Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.4 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef REPLACETEXDLG_H
  8. #define REPLACETEXDLG_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "resource.h"
  13. #include "IEditorTexture.h"
  14. #include "wndTex.h"
  15. class CReplaceTexDlg : public CDialog
  16. {
  17. // Construction
  18. public:
  19. CReplaceTexDlg(int, CWnd* pParent = NULL); // standard constructor
  20. // Dialog Data
  21. //{{AFX_DATA(CReplaceTexDlg)
  22. enum { IDD = IDD_REPLACETEX };
  23. CEdit m_cFind;
  24. CEdit m_cReplace;
  25. wndTex m_cReplacePic;
  26. wndTex m_cFindPic;
  27. int m_iSearchAll;
  28. CString m_strFind;
  29. CString m_strReplace;
  30. int m_iAction;
  31. BOOL m_bMarkOnly;
  32. BOOL m_bHidden;
  33. BOOL m_bRescaleTextureCoordinates;
  34. //}}AFX_DATA
  35. int m_nSelected;
  36. void DoReplaceTextures();
  37. // Overrides
  38. // ClassWizard generated virtual function overrides
  39. //{{AFX_VIRTUAL(CReplaceTexDlg)
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. protected:
  45. // Generated message map functions
  46. //{{AFX_MSG(CReplaceTexDlg)
  47. afx_msg void OnBrowsereplace();
  48. afx_msg void OnBrowsefind();
  49. afx_msg void OnUpdateFind();
  50. afx_msg void OnUpdateReplace();
  51. virtual BOOL OnInitDialog();
  52. //}}AFX_MSG
  53. DECLARE_MESSAGE_MAP()
  54. void BrowseTex(int iEdit);
  55. };
  56. #endif // REPLACETEXDLG_H