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