Permalink
Newer
Older
100644 49 lines (41 sloc) 1.75 KB
1
/***********************************************************************
2
* FXRuby -- the Ruby language bindings for the FOX GUI toolkit.
3
* Copyright (c) 2001-2009 by Lyle Johnson. All Rights Reserved.
4
*
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2.1 of the License, or (at your option) any later version.
9
*
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*
19
* For further information please contact the author by e-mail
20
* at "lyle@lylejohnson.name".
21
***********************************************************************/
22
23
24
/// Text search dialog
25
class FXSearchDialog : public FXReplaceDialog {
26
protected:
27
FXSearchDialog(){}
28
public:
30
/// Construct search dialog box
31
%extend {
32
FXSearchDialog(FXWindow* owner,const FXString& caption,FXIcon* ic=NULL,FXuint opts=0,FXint x=0,FXint y=0,FXint w=0,FXint h=0){
33
return new FXRbSearchDialog(owner,caption,ic,opts,x,y,w,h);
34
}
35
}
36
37
/// Destructor
38
virtual ~FXSearchDialog();
39
};
40
41
42
DECLARE_FXOBJECT_VIRTUALS(FXSearchDialog)
43
DECLARE_FXID_VIRTUALS(FXSearchDialog)
44
DECLARE_FXDRAWABLE_VIRTUALS(FXSearchDialog)
45
DECLARE_FXWINDOW_VIRTUALS(FXSearchDialog)
46
DECLARE_FXTOPWINDOW_VIRTUALS(FXSearchDialog)
47
DECLARE_FXDIALOGBOX_VIRTUALS(FXSearchDialog)
48