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