home *** CD-ROM | disk | FTP | other *** search
- #if !defined(__replace_h) // Sentry, use file only if it's not already included.
- #define __replace_h
-
- /* Project emedit
- Early Morning Software
- Copyright ⌐ 1993. All Rights Reserved.
-
- SUBSYSTEM: emedit.exe Application
- FILE: replace.h
- AUTHOR: Ted Stockwell
-
-
- OVERVIEW
- ========
- Class definition for emeditReplaceDialog (TDialog).
- */
-
- #include <owl\checkbox.h>
- #include <owl\radiobut.h>
- #include <owl\combobox.h>
- #include <owl\owlpch.h>
- #pragma hdrstop
-
- #include <owl\dialog.h>
-
- #include "emedtapp.rh" // Definition of all resources.
-
-
- //{{TDialog = emeditReplaceDialog}}
- struct emeditReplaceDialogXfer {
- public:
- emeditReplaceDialogXfer() {
- MatchCase= WholeWordsOnly= DirectionUp= SearchEntireScope= FALSE;
- DirectionDown= SearchFromCursor= TRUE;
- }
-
- //{{emeditReplaceDialogXFER_DATA}}
- TComboBoxData SearchText;
- BOOL SearchFromCursor;
- BOOL DirectionDown;
- BOOL SearchEntireScope;
- BOOL MatchCase;
- BOOL DirectionUp;
- BOOL WholeWordsOnly;
- TComboBoxData ReplaceText;
- //{{emeditReplaceDialogXFER_DATA_END}}
- };
-
-
- class emeditReplaceDialog : public TDialog {
- public:
- emeditReplaceDialog (TWindow* parent, TResId resId = IDD_EMREPLACE, TModule* module = 0);
- virtual ~emeditReplaceDialog ();
-
- //{{emeditReplaceDialogXFER_DEF}}
- protected:
- TComboBox *SearchText;
- TRadioButton *SearchFromCursor;
- TRadioButton *DirectionDown;
- TRadioButton *SearchEntireScope;
- TCheckBox *MatchCase;
- TRadioButton *DirectionUp;
- TCheckBox *WholeWordsOnly;
- TComboBox *ReplaceText;
-
- //{{emeditReplaceDialogXFER_DEF_END}}
- }; //{{emeditReplaceDialog}}
-
-
- #endif // __replace_h sentry.
-
-