]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/xformsBC.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / xformsBC.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ======================================================
4  *
5  *           LyX, The Document Processor
6  *
7  *           Copyright 2001 The LyX Team.
8  *
9  * ======================================================
10  *
11  * \file xformsBC.h
12  * \author Allan Rae, rae@lyx.org
13  * \author Angus Leeming, a.leeming@ic.ac.uk
14  * \author Baruch Even, baruch.even@writeme.com
15  */
16
17 #ifndef XFORMSBC_H
18 #define XFORMSBC_H
19
20 #include FORMS_H_LOCATION
21
22 #ifdef __GNUG__
23 #pragma interface
24 #endif
25
26 #include "ButtonController.h"
27
28 class xformsBC : public GuiBC<FL_OBJECT, FL_OBJECT> {
29 public:
30         ///
31         xformsBC(string const &, string const &);
32
33 private:
34         /// Updates the button sensitivity (enabled/disabled)
35         void setButtonEnabled(FL_OBJECT *, bool enabled);
36
37         /// Updates the widget sensitivity (enabled/disabled)
38         void setWidgetEnabled(FL_OBJECT *, bool enabled);
39
40         /// Set the label on the button
41         void setButtonLabel(FL_OBJECT *, string const & label);
42 };
43
44 #endif // XFORMSBC_H