mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 10:40:48 +00:00
a97c4f51c3
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg38939.html git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4393 a592a061-630c-0410-9148-cb99ea01b6c8
43 lines
784 B
C
43 lines
784 B
C
/**
|
|
* \file xformsBC.C
|
|
* Copyright 2001 The LyX Team.
|
|
* See the file COPYING.
|
|
*
|
|
* \author Allan Rae, rae@lyx.org
|
|
* \author Angus Leeming, a.leeming@ic.ac.uk
|
|
* \author Baruch Even, baruch.even@writeme.com
|
|
*/
|
|
|
|
#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());
|
|
}
|