]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/xformsBC.C
sourcedoc-friendly files.
[lyx.git] / src / frontends / xforms / xformsBC.C
1 /**
2  * \file xformsBC.C
3  * Copyright 2001 The LyX Team.
4  * See the file COPYING.
5  *
6  * \author Allan Rae, rae@lyx.org
7  * \author Angus Leeming, a.leeming@ic.ac.uk
8  * \author Baruch Even, baruch.even@writeme.com
9  */
10
11 #include <config.h>
12
13 #ifdef __GNUG__
14 #pragma implementation
15 #endif
16
17 #include "xformsBC.h"
18 #include "ButtonController.tmpl"
19 #include "xforms_helpers.h"
20
21 xformsBC::xformsBC(string const & cancel, string const & close)
22         : GuiBC<FL_OBJECT, FL_OBJECT>(cancel, close)
23 {}
24
25
26 void xformsBC::setButtonEnabled(FL_OBJECT * obj, bool enabled)
27 {
28         setEnabled(obj, enabled);
29 }
30
31
32 void xformsBC::setWidgetEnabled(FL_OBJECT * obj, bool enabled)
33 {
34         setEnabled(obj, enabled);
35 }
36
37
38 void xformsBC::setButtonLabel(FL_OBJECT * obj, string const & label)
39 {
40         fl_set_object_label(obj, label.c_str());
41 }