2001-06-13 14:33:31 +00:00
|
|
|
// -*- C++ -*-
|
2002-03-11 17:00:41 +00:00
|
|
|
/**
|
2001-03-30 09:51:46 +00:00
|
|
|
* \file xformsBC.h
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-03-11 17:00:41 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author Allan Rae
|
2002-12-01 22:59:25 +00:00
|
|
|
* \author Angus Leeming
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author Baruch Even
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-03-15 13:37:04 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef XFORMSBC_H
|
|
|
|
#define XFORMSBC_H
|
|
|
|
|
2002-06-13 13:43:51 +00:00
|
|
|
#include "forms_fwd.h"
|
2001-03-15 13:37:04 +00:00
|
|
|
|
|
|
|
|
2001-03-19 16:37:01 +00:00
|
|
|
#include "ButtonController.h"
|
|
|
|
|
2001-06-25 00:06:33 +00:00
|
|
|
class xformsBC : public GuiBC<FL_OBJECT, FL_OBJECT> {
|
2001-03-15 13:37:04 +00:00
|
|
|
public:
|
|
|
|
///
|
|
|
|
xformsBC(string const &, string const &);
|
|
|
|
|
2001-03-30 09:51:46 +00:00
|
|
|
private:
|
|
|
|
/// Updates the button sensitivity (enabled/disabled)
|
|
|
|
void setButtonEnabled(FL_OBJECT *, bool enabled);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
2001-03-30 09:51:46 +00:00
|
|
|
/// Updates the widget sensitivity (enabled/disabled)
|
|
|
|
void setWidgetEnabled(FL_OBJECT *, bool enabled);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
2001-03-30 09:51:46 +00:00
|
|
|
/// Set the label on the button
|
|
|
|
void setButtonLabel(FL_OBJECT *, string const & label);
|
2001-03-15 13:37:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // XFORMSBC_H
|