FindTextureDlg.h (2575B)
1 /* 2 =========================================================================== 3 Copyright (C) 1999-2005 Id Software, Inc. 4 5 This file is part of Quake III Arena source code. 6 7 Quake III Arena source code is free software; you can redistribute it 8 and/or modify it under the terms of the GNU General Public License as 9 published by the Free Software Foundation; either version 2 of the License, 10 or (at your option) any later version. 11 12 Quake III Arena source code is distributed in the hope that it will be 13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with Foobar; if not, write to the Free Software 19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 =========================================================================== 21 */ 22 #if !defined(AFX_FINDTEXTUREDLG_H__34B75D32_9F3A_11D1_B570_00AA00A410FC__INCLUDED_) 23 #define AFX_FINDTEXTUREDLG_H__34B75D32_9F3A_11D1_B570_00AA00A410FC__INCLUDED_ 24 25 #if _MSC_VER >= 1000 26 #pragma once 27 #endif // _MSC_VER >= 1000 28 // FindTextureDlg.h : header file 29 // 30 31 ///////////////////////////////////////////////////////////////////////////// 32 // CFindTextureDlg dialog 33 34 class CFindTextureDlg : public CDialog 35 { 36 // Construction 37 public: 38 static void setReplaceStr(const char* p); 39 static void setFindStr(const char* p); 40 static bool isOpen(); 41 static void show(); 42 static void updateTextures(const char* p); 43 CFindTextureDlg(CWnd* pParent = NULL); // standard constructor 44 45 // Dialog Data 46 //{{AFX_DATA(CFindTextureDlg) 47 enum { IDD = IDD_DIALOG_FINDREPLACE }; 48 BOOL m_bSelectedOnly; 49 CString m_strFind; 50 CString m_strReplace; 51 BOOL m_bForce; 52 BOOL m_bLive; 53 //}}AFX_DATA 54 55 56 // Overrides 57 // ClassWizard generated virtual function overrides 58 //{{AFX_VIRTUAL(CFindTextureDlg) 59 public: 60 virtual BOOL DestroyWindow(); 61 protected: 62 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 63 //}}AFX_VIRTUAL 64 65 // Implementation 66 protected: 67 68 // Generated message map functions 69 //{{AFX_MSG(CFindTextureDlg) 70 afx_msg void OnBtnApply(); 71 virtual void OnOK(); 72 virtual void OnCancel(); 73 afx_msg void OnSetfocusEditFind(); 74 afx_msg void OnSetfocusEditReplace(); 75 //}}AFX_MSG 76 DECLARE_MESSAGE_MAP() 77 }; 78 79 80 //{{AFX_INSERT_LOCATION}} 81 // Microsoft Developer Studio will insert additional declarations immediately before the previous line. 82 83 #endif // !defined(AFX_FINDTEXTUREDLG_H__34B75D32_9F3A_11D1_B570_00AA00A410FC__INCLUDED_)