home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
dirs
/
rramdisk_451.lzh
/
'Liner
/
Source
/
SearchWdws.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-02-06
|
2KB
|
188 lines
#define SEARCHBUTTONS 3
#define SEARCHSTRINGS 2
#define SEARCHCHECK 3
struct NewGadget SearchButtons[]=
{
{
13,129,55,11,
"OK",
NULL,
6,
PLACETEXT_IN,
NULL,
NULL
},
{
78,129,55,11,
"Wait",
NULL,
7,
PLACETEXT_IN,
NULL,
NULL
},
{
143,129,55,11,
"Cancel",
NULL,
8,
PLACETEXT_IN,
NULL,
NULL
}
};
BOOL CheckStates[]={FALSE,FALSE,FALSE};
struct NewGadget SearchCheck[] =
{
{
32,96,149,12,
"Whole word",
NULL,
4,
PLACETEXT_RIGHT,
NULL,
NULL
},
{
32,84,149,12,
"Case sensitive",
NULL,
3,
PLACETEXT_RIGHT,
NULL,
NULL
},
{
32,108,149,12,
"Replace",
NULL,
5,
PLACETEXT_RIGHT,
NULL,
NULL
}
};
char SStr[80]={""};
char RStr[80]={""};
struct StrStrings StringData[]=
{
{SStr,79},
{RStr,79}
};
struct NewGadget SearchStrings[] =
{
{
13,28,185,14,
"Search For",
NULL,
1,
PLACETEXT_ABOVE,
NULL,
NULL
},
{
13,60,185,14,
"Replace With",
NULL,
2,
PLACETEXT_ABOVE,
NULL,
NULL
}
};
#define VERIFYBUTTONS 3
struct NewGadget VerifyButtons[]=
{
{
109,3,61,11,
"Replace",
NULL,
TRUE,
PLACETEXT_IN,
NULL,
NULL
},
{
180,3,61,11,
"Next",
NULL,
2,
PLACETEXT_IN,
NULL,
NULL
},
{
251,3,61,11,
"Cancel",
NULL,
FALSE,
PLACETEXT_IN,
NULL,
NULL
}
};
struct IntuiText IText9 = {
1,0,JAM1,
5,4,
&Topaz,
"Found word:",
NULL
};
struct NewWindow NewSearchWindow = {
219,14,
210,147,
0,1,
GADGETUP+CLOSEWINDOW,
WINDOWDRAG+WINDOWCLOSE+ACTIVATE,
NULL,
NULL,
"Search/Replace",
NULL,
NULL,
5,5,
640,200,
CUSTOMSCREEN
};
#define IntuiTextList2 IText9
struct NewWindow NewWindowStructure2 = {
150,19,
319,17,
0,1,
GADGETUP,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
5,5,
640,200,
CUSTOMSCREEN
};
/*~~~End of SearchWdws.h*/