]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/xformsBC.C
Really dull and boring header shit
[lyx.git] / src / frontends / xforms / xformsBC.C
1 /**
2  * \file xformsBC.C
3  * See the file COPYING.
4  *
5  * \author Allan Rae
6  * \author Angus Leeming 
7  * \author Baruch Even
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #include <config.h>
13
14 #ifdef __GNUG__
15 #pragma implementation
16 #endif
17
18 #include "xformsBC.h"
19 #include "xforms_helpers.h"
20 #include FORMS_H_LOCATION
21
22
23 xformsBC::xformsBC(string const & cancel, string const & close)
24         : GuiBC<FL_OBJECT, FL_OBJECT>(cancel, close)
25 {}
26
27
28 void xformsBC::setButtonEnabled(FL_OBJECT * obj, bool enabled)
29 {
30         setEnabled(obj, enabled);
31 }
32
33
34 void xformsBC::setWidgetEnabled(FL_OBJECT * obj, bool enabled)
35 {
36         setEnabled(obj, enabled);
37 }
38
39
40 void xformsBC::setButtonLabel(FL_OBJECT * obj, string const & label)
41 {
42         fl_set_object_label(obj, label.c_str());
43 }