lyx_mirror/src/frontends/xforms/xformsBC.C
Angus Leeming 0be0fcfd59 If I ever see another licence blurb again, it'll be too soon...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00

43 lines
855 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>
#include "xformsBC.h"
#include "xforms_helpers.h"
#include "lyx_forms.h"
xformsBC::xformsBC(ButtonController const & parent,
string const & cancel, string const & close)
: GuiBC<FL_OBJECT, FL_OBJECT>(parent, cancel, close)
{}
void xformsBC::setButtonEnabled(FL_OBJECT * obj, bool enabled) const
{
setEnabled(obj, enabled);
}
void xformsBC::setWidgetEnabled(FL_OBJECT * obj, bool enabled) const
{
setEnabled(obj, enabled);
}
void xformsBC::setButtonLabel(FL_OBJECT * obj, string const & label) const
{
fl_set_object_label(obj, label.c_str());
}