]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/xformsBC.h
Really dull and boring header shit
[lyx.git] / src / frontends / xforms / xformsBC.h
1 // -*- C++ -*-
2 /**
3  * \file xformsBC.h
4  * Read the file COPYING
5  *
6  * \author Allan Rae
7  * \author Angus Leeming 
8  * \author Baruch Even
9  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #ifndef XFORMSBC_H
14 #define XFORMSBC_H
15
16 #include "forms_fwd.h"
17
18 #ifdef __GNUG__
19 #pragma interface
20 #endif
21
22 #include "ButtonController.h"
23
24 class xformsBC : public GuiBC<FL_OBJECT, FL_OBJECT> {
25 public:
26         ///
27         xformsBC(string const &, string const &);
28
29 private:
30         /// Updates the button sensitivity (enabled/disabled)
31         void setButtonEnabled(FL_OBJECT *, bool enabled);
32
33         /// Updates the widget sensitivity (enabled/disabled)
34         void setWidgetEnabled(FL_OBJECT *, bool enabled);
35
36         /// Set the label on the button
37         void setButtonLabel(FL_OBJECT *, string const & label);
38 };
39
40 #endif // XFORMSBC_H