mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
58d99b4a97
* Some file (and class) name changes: ButtonController.[Ch] to ButtonControllerBase.[Ch] BCTemplates.h to ButtonController.h ControlBase.[Ch] to ControlButton.[Ch] * Moved file browsing into the controllers for the Graphics, Include and Print popups. * Fixed search bug in Citation popup. Added case sensitive button. * Implemented controller-view split for External Material popup. Think that it's now correct, but could you check again, Dekel? Angus git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1859 a592a061-630c-0410-9148-cb99ea01b6c8
46 lines
928 B
C
46 lines
928 B
C
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 2001 The LyX Team.
|
|
*
|
|
* ======================================================
|
|
*
|
|
* \file xformsBC.C
|
|
* \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"
|
|
|
|
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());
|
|
}
|