2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2001 The LyX Team.
9 * ======================================================
12 * \author Allan Rae, rae@lyx.org
13 * \author Angus Leeming, a.leeming@ic.ac.uk
14 * \author Baruch Even, baruch.even@writeme.com
20 #include FORMS_H_LOCATION
28 #include "ButtonControllerBase.h"
29 #include "ButtonController.h"
31 class xformsBC : public GuiBC<FL_OBJECT, FL_OBJECT>
35 xformsBC(string const &, string const &);
38 /// Updates the button sensitivity (enabled/disabled)
39 void setButtonEnabled(FL_OBJECT *, bool enabled);
41 /// Updates the widget sensitivity (enabled/disabled)
42 void setWidgetEnabled(FL_OBJECT *, bool enabled);
44 /// Set the label on the button
45 void setButtonLabel(FL_OBJECT *, string const & label);