3 * See the file COPYING.
6 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS
15 #pragma implementation
19 #include "xforms_helpers.h"
20 #include FORMS_H_LOCATION
23 xformsBC::xformsBC(string const & cancel, string const & close)
24 : GuiBC<FL_OBJECT, FL_OBJECT>(cancel, close)
28 void xformsBC::setButtonEnabled(FL_OBJECT * obj, bool enabled)
30 setEnabled(obj, enabled);
34 void xformsBC::setWidgetEnabled(FL_OBJECT * obj, bool enabled)
36 setEnabled(obj, enabled);
40 void xformsBC::setButtonLabel(FL_OBJECT * obj, string const & label)
42 fl_set_object_label(obj, label.c_str());