lyx_mirror/src/frontends/xforms/xformsBC.C
Angus Leeming 1eb8155fa0 This file is part of LyX, the document processor.
Licence details can be found in the file COPYING.

and thank God for sed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5211 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 15:14:23 +00:00

45 lines
840 B
C

/**
* \file xformsBC.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Allan Rae
* \author Angus Leeming
* \author Baruch Even
*
* Full author contact details are available in file CREDITS
*/
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "xformsBC.h"
#include "xforms_helpers.h"
#include FORMS_H_LOCATION
xformsBC::xformsBC(string const & cancel, string const & close)
: GuiBC<FL_OBJECT, FL_OBJECT>(cancel, close)
{}
void xformsBC::setButtonEnabled(FL_OBJECT * obj, bool enabled)
{
setEnabled(obj, enabled);
}
void xformsBC::setWidgetEnabled(FL_OBJECT * obj, bool enabled)
{
setEnabled(obj, enabled);
}
void xformsBC::setButtonLabel(FL_OBJECT * obj, string const & label)
{
fl_set_object_label(obj, label.c_str());
}