]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/xformsBC.h
sourcedoc-friendly files.
[lyx.git] / src / frontends / xforms / xformsBC.h
1 // -*- C++ -*-
2 /**
3  * \file xformsBC.h
4  * Copyright 2002 the LyX Team
5  * Read the file COPYING
6  *
7  * \author Allan Rae, rae@lyx.org
8  * \author Angus Leeming, a.leeming@ic.ac.uk
9  * \author Baruch Even, baruch.even@writeme.com
10  */
11
12 #ifndef XFORMSBC_H
13 #define XFORMSBC_H
14
15 #include FORMS_H_LOCATION
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "ButtonController.h"
22
23 class xformsBC : public GuiBC<FL_OBJECT, FL_OBJECT> {
24 public:
25         ///
26         xformsBC(string const &, string const &);
27
28 private:
29         /// Updates the button sensitivity (enabled/disabled)
30         void setButtonEnabled(FL_OBJECT *, bool enabled);
31
32         /// Updates the widget sensitivity (enabled/disabled)
33         void setWidgetEnabled(FL_OBJECT *, bool enabled);
34
35         /// Set the label on the button
36         void setButtonLabel(FL_OBJECT *, string const & label);
37 };
38
39 #endif // XFORMSBC_H