mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-23 08:39:07 +00:00
5fd921e9e6
Dialogs.h: remove static from redrawGUI and toggleTooltips. And changes because of this. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4517 a592a061-630c-0410-9148-cb99ea01b6c8
50 lines
992 B
C++
50 lines
992 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file FormSpellchecker.h
|
|
* Copyright 2001 The LyX Team.
|
|
* See the file COPYING.
|
|
*
|
|
* \author Edwin Leuven, leuven@fee.uva.nl
|
|
*/
|
|
|
|
#ifndef FORMSPELLCHECKER_H
|
|
#define FORMSPELLCHECKER_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "FormBase.h"
|
|
|
|
class ControlSpellchecker;
|
|
struct FD_spellchecker;
|
|
|
|
/** This class provides an XForms implementation of the FormSpellchecker Dialog.
|
|
*/
|
|
class FormSpellchecker : public FormCB<ControlSpellchecker, FormDB<FD_spellchecker> > {
|
|
public:
|
|
///
|
|
FormSpellchecker(ControlSpellchecker &, Dialogs &);
|
|
private:
|
|
/// not needed.
|
|
void apply() {}
|
|
/// Build the dialog
|
|
void build();
|
|
///
|
|
void update();
|
|
|
|
/// enable/disable widgets when start/stop
|
|
void stop(bool);
|
|
|
|
/// update progress bar, set suggestions, exit message
|
|
void partialUpdate(int);
|
|
|
|
/// show an error message
|
|
void showMessage(const char * msg);
|
|
|
|
/// Filter the inputs
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
|
};
|
|
|
|
#endif // FORMSPELLCHECKER_H
|