2 * Copyright 2002-2006, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
9 #ifndef REPLACE_WINDOW_H
10 #define REPLACE_WINDOW_H
24 class ReplaceWindow
: public BWindow
{
26 ReplaceWindow(BRect frame
, BHandler
* _handler
,
27 BString
* searchString
, BString
* replaceString
,
28 bool caseState
, bool wrapState
, bool backState
);
30 virtual void MessageReceived(BMessage
* message
);
31 virtual void DispatchMessage(BMessage
* message
, BHandler
* handler
);
32 virtual bool QuitRequested();
36 void _SendMessage(uint32 what
);
39 BTextControl
*fSearchString
;
40 BTextControl
*fReplaceString
;
41 BCheckBox
*fCaseSensBox
;
43 BCheckBox
*fBackSearchBox
;
44 BCheckBox
*fAllWindowsBox
;
45 BButton
*fReplaceButton
;
46 BButton
*fReplaceAllButton
;
47 BButton
*fCancelButton
;
52 #endif // REPLACE_WINDOW_H