mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
58d99b4a97
* Some file (and class) name changes: ButtonController.[Ch] to ButtonControllerBase.[Ch] BCTemplates.h to ButtonController.h ControlBase.[Ch] to ControlButton.[Ch] * Moved file browsing into the controllers for the Graphics, Include and Print popups. * Fixed search bug in Citation popup. Added case sensitive button. * Implemented controller-view split for External Material popup. Think that it's now correct, but could you check again, Dekel? Angus git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1859 a592a061-630c-0410-9148-cb99ea01b6c8
48 lines
1.0 KiB
C++
48 lines
1.0 KiB
C++
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 2001 The LyX Team.
|
|
*
|
|
* ======================================================
|
|
*
|
|
* \file xformsBC.h
|
|
* \author Allan Rae, rae@lyx.org
|
|
* \author Angus Leeming, a.leeming@ic.ac.uk
|
|
* \author Baruch Even, baruch.even@writeme.com
|
|
*/
|
|
|
|
#ifndef XFORMSBC_H
|
|
#define XFORMSBC_H
|
|
|
|
#include FORMS_H_LOCATION
|
|
#include <list>
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "gettext.h"
|
|
#include "ButtonControllerBase.h"
|
|
#include "ButtonController.h"
|
|
|
|
class xformsBC : public GuiBC<FL_OBJECT, FL_OBJECT>
|
|
{
|
|
public:
|
|
///
|
|
xformsBC(string const &, string const &);
|
|
|
|
private:
|
|
/// Updates the button sensitivity (enabled/disabled)
|
|
void setButtonEnabled(FL_OBJECT *, bool enabled);
|
|
|
|
/// Updates the widget sensitivity (enabled/disabled)
|
|
void setWidgetEnabled(FL_OBJECT *, bool enabled);
|
|
|
|
/// Set the label on the button
|
|
void setButtonLabel(FL_OBJECT *, string const & label);
|
|
};
|
|
|
|
#endif // XFORMSBC_H
|